在tomcat中部署的應用不能訪問weblogic上部署的ejb

arlin發表於2004-08-16
在weblogic上部署了ejb,透過client端java程式遠端呼叫正常。
但是,釋出為tomcat上的應用後,總是不成功。
使用weblogic.jar,提示:
***** ASSERTION FAILED *****[ Failed to generate class for weblogic.jndi.internal.ServerNamingNode_WLStub ]
使用wlclient.jar,提示:
java.lang.NoClassDefFoundError
at com.sun.corba.se.internal.orbutil.ORBUtility.createValueHandler(ORBUtility.java:115)
at com.sun.corba.se.internal.corba.ORB.getServantIOR(ORB.java:2100)
at com.sun.corba.se.internal.corba.ClientDelegate.getServiceContexts(ClientDelegate.java:502)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:650)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:586)
at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:878)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:78)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:213)
at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:171)
at javax.naming.InitialContext.lookup(InitialContext.java:354)

weblogic:8.1 tomcat:4
謝謝。

相關文章