Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.InstantiationException

336358Nov 10 2005

Hi everyone,
I have a little test app that runs directly on jdev and its embedded oc4j and does a:

myUm = (MyUmImpl) Configuration.createRootApplicationModule(
                                    "enatis.fin.MyUm", 
                                    "MyUmLocal");

and then
Configuration.releaseRootApplicationModule(finUm, false);

I get the following exception on every 30th instantiation:

java.lang.InstantiationException: Error communicating with server: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is: 
	java.net.ConnectException: Connection refused: connect; nested exception is: 
	javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is: 
	java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
	at com.evermind.server.ApplicationClientContext.createContext(ApplicationClientContext.java:61)
	at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:145)
	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
	at javax.naming.InitialContext.init(InitialContext.java:219)
	at javax.naming.InitialContext.<init>(InitialContext.java:175)

any clues?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2005
Added on Nov 10 2005
0 comments
287 views