tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peck, Jason" <Jason.P...@imckesson.com>
Subject Is there a quick solution for tomcat4-b5 and RMI
Date Thu, 05 Jul 2001 18:09:04 GMT
I am trying run some code from within a web-app under tomcat4-b5 that uses
rmi.  The code works fine from the command line however once called from
within a web-app I get a nasty exception when trying to get the remote
object.  Everything is running locally on a NT platform using jdk1.3_02.  I
have searched through the archives and docs but came up empty.  I saw a lot
of talk about the MalformedURLException but most of it revolved around
JBoss.  Any help would be greatly appreciated.  Please let me know if you
need any additional information.

The exception is as follows:

java.lang.reflect.InvocationTargetException: java.rmi.ServerException:
RemoteExc
eption occurred in server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments; nested
excep
tion is:
        java.net.MalformedURLException: unknown protocol: jndi
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception
is:

        java.net.MalformedURLException: unknown protocol: jndi
java.net.MalformedURLException: unknown protocol: jndi
        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 adrenalinex.mnemosyne.MnemosyneImpl_Stub.write(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at
adrenalinex.drmi.handlers.FailoverHandler.invoke(FailoverHandler.java
:201)
.
.
.
.


 
 
 
___________________________________________________________________________
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is 
for the sole use of the intended recipient(s) and may contain confidential 
and privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.

Mime
View raw message