在tomcat中部署的应用不能访问weblogic上部署的ejb

04-08-16 arlin
在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

谢谢。

gogo821028
2004-08-17 21:45

banq
2004-08-21 17:35
试验JBoss可否,weblogic的JNDI属性文件需要放在class中。

猜你喜欢