Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

jndi list error

0 views
Skip to first unread message

jc

unread,
Mar 25, 2002, 2:19:06 PM3/25/02
to
I deployed a test bean (ejbtest.Testbean) on Weblogic 5.10 sp11
(jdk1.3.1) on Sun Solaris 8 with no problems. The bean only contains 1
simple method - (system.out.println...). when i do a weblogic.Admin
t3://server:port LIST, i see the root of the jndi tree fine. i see my
bean's root "ejbtest". If i try weblogic.Admin t3://server:port LIST
ejbtest, i get the error below. I tried it with and without my EJB jar
in the weblogic.class.path, the same error occurs. The other weird
thing i don't have the same problems in my local Win2K PC.

Contents of ejbtest
Exception in thread "main" java.lang.ClassNotFoundException:
ejbtest.TestEjbHomeImpl_ServiceStub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at weblogic.common.internal.TengahClassLoaders.loadClass(TengahClassLoaders.java:71)
at weblogic.rjvm.MsgAbbrev.loadClass(MsgAbbrev.java:209)
at weblogic.rjvm.MsgAbbrev.read(MsgAbbrev.java:169)
at weblogic.socket.JVMAbbrevSocket.readMsgAbbrevs(JVMAbbrevSocket.java:505)
at weblogic.rjvm.MsgAbbrevInputStream.prime(MsgAbbrevInputStream.java:134)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:791)
at weblogic.rjvm.ConnectionManagerClient.handleRJVM(ConnectionManagerClient.java:34)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:641)
at weblogic.socket.JVMAbbrevSocket.dispatch(JVMAbbrevSocket.java:393)
at weblogic.socket.JVMSocketT3.dispatch(JVMSocketT3.java:355)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:247)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

--------------- nested within: ------------------
weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException:
ejbtest.TestEjbHomeImpl_ServiceStub]
at weblogic.utils.enumerations.BatchingEnumerationBase_WLStub.nextBatch(BatchingEnumerationBase_WLStub.java:151)
at weblogic.utils.enumerations.BatchingEnumerationStub.nextBatch(BatchingEnumerationStub.java:87)
at weblogic.jndi.toolkit.NamingEnumerationStub.nextBatch(NamingEnumerationStub.java:71)
at weblogic.utils.enumerations.BatchingEnumerationStub.nextElement(BatchingEnumerationStub.java:81)
at weblogic.Admin.main(Admin.java:581)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
exception - with nested exception:
[weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException:
ejbtest.TestEjbHomeImpl_ServiceStub]]
at weblogic.utils.enumerations.BatchingEnumerationBase_WLStub.nextBatch(BatchingEnumerationBase_WLStub.java:165)
at weblogic.utils.enumerations.BatchingEnumerationStub.nextBatch(BatchingEnumerationStub.java:87)
at weblogic.jndi.toolkit.NamingEnumerationStub.nextBatch(NamingEnumerationStub.java:71)
at weblogic.utils.enumerations.BatchingEnumerationStub.nextElement(BatchingEnumerationStub.java:81)
at weblogic.Admin.main(Admin.java:581)

Rajesh Mirchandani

unread,
Mar 25, 2002, 2:38:39 PM3/25/02
to
jc,

Do you have weblogic510sp11.jar at the head of your client classpath?

If not, please include it and test again.

jc wrote:

--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support


jc

unread,
Mar 25, 2002, 4:49:40 PM3/25/02
to
here's what i actually run:
java -cp /weblogic/lib/weblogic510sp11boot.jar:/weblogic/lib/weblogic510sp11.jar:/weblogic/lib/weblogicaux.jar:/weblogic/classes

weblogic.Admin t3://server:port LIST ejbtest

Rajesh Mirchandani <Re...@ToNewsgroup.Only> wrote in message news:<3C9F7CBF...@ToNewsgroup.Only>...

0 new messages