Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a problem about ormi , client is was

lu aimar
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a ejb deployed in OAS when i use tomcat as client to access ejb, is sucessful.
but when i use was6.0 as client to access ejb,it give me such errors:
E [Servlet Error]-[/TestReMoteEJBHome.jsp]: java.lang.NoClassDefFoundError: com.evermind.server.TransactionRecovery
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(
at java.lang.J9VMInternals.initialize(
at com.evermind.server.ThreadState.getCurrentState(
at com.evermind.server.rmi.RMIConnection.checkServletCaller(
at com.evermind.server.rmi.RMIConnection.<init>(
at com.evermind.server.rmi.RMIServer.addNode(
at com.evermind.server.rmi.RMIServer.getConnection(
at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(
at javax.naming.spi.NamingManager.getInitialContext(
at javax.naming.InitialContext.getDefaultInitCtx(
at javax.naming.InitialContext.init(
at javax.naming.InitialContext.<init>(

my client code is
Properties properties = new Properties();
properties.put(Context.PROVIDER_URL, "ormi://");
Context ctxTask = new InitialContext(properties);
Object obj = ctxTask.lookup("WdvwTransaction");
WdvwTransactionHome home = (WdvwTransactionHome) javax.rmi.PortableRemoteObject.narrow(obj, WdvwTransactionHome.class);
instance = (WdvwTransaction) home.create();

can you give some suggestions,thank you very much!
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic