Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 42809 invoked by uid 500); 5 Jul 2001 18:09:05 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 42786 invoked from network); 5 Jul 2001 18:09:04 -0000 Received: from mx2.access-health.com (204.69.157.6) by h31.sny.collab.net with SMTP; 5 Jul 2001 18:09:04 -0000 Received: from atlantis.ahg.access-health.com (atlantis.access-health.com [10.40.5.56]) by mx2.access-health.com (8.9.3+Sun/8.9.1) with ESMTP id MAA03041 for ; Thu, 5 Jul 2001 12:09:06 -0600 (MDT) Received: by atlantis.ahg.access-health.com with Internet Mail Service (5.5.2650.21) id ; Thu, 5 Jul 2001 12:09:05 -0600 Message-ID: <60680120EC50CE47947CFE5BFA4D324011323B@atlantis.ahg.access-health.com> From: "Peck, Jason" To: "'tomcat-user@jakarta.apache.org'" Subject: Is there a quick solution for tomcat4-b5 and RMI Date: Thu, 5 Jul 2001 12:09:04 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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.