I have created and successfully deployed a TestBean.
It uses an object which makes an RMI call to another object to do some work.
Sometimes the following stack trace is printed upon looking up the RMI
object
although no exception is thrown.
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:245)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at
com.trisect.system.logging.Tri_RemoteFileLogger_Stub.log(Tri_RemoteFi
leLogger_Stub.java:56)
at com.trisect.system.logging.Tri_Logger.log(Tri_Logger.java:289)
at
com.trisect.system.logging.test.Tri_LoggingTestBean.doLoggingTests(Tr
i_LoggingTestBean.java:105)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
tatelessSessionContainer.java:445)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
elessSessionInstanceInterceptor.java:83)
at
org.jboss.ejb.plugins.TxInterceptor.invokeNext(TxInterceptor.java:128
)
at
org.jboss.ejb.plugins.TxInterceptor.runWithTransactions(TxInterceptor
.java:262)
at org.jboss.ejb.plugins.TxInterceptor.invoke(TxInterceptor.java:96)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:134)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:156)
at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContai
ner.java:264)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:197)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:176)
at java.lang.reflect.Method.invoke(Native Method)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
at sun.rmi.transport.Transport$1.run(Transport.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
43)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:643)
at java.lang.Thread.run(Thread.java:484)
Subsequent calls to methods on the RMI object throw
java.rmi.NoSuchObjectException
It looks as though the object is becoming unbound from the naming service.
That's guess.
Any help is appreciated.
Robert Taylor - Staff Developer
Trisect, Inc.
2030 Powers Ferry Road
Suite 121
Atlanta, Georgia 30339
[EMAIL PROTECTED]
770.850.9858 xt. 1509
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]