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