Re: [JBoss-user] javax/rmi/PortableRemoteObject
On Tue, May 01, 2001 at 01:40:29PM -0700, Ivan wrote: Hi all, My servlet is trying to access a deployed ejb, but the servlet is getting the error java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject I found that class in the file j2ee.jar and tried adding it to the class path.but the error remains Does anyone know how to get embedded tomcat to read that jar and find the PortableRemoteObject class? I also tried adding the j2ee.jar to the lib folder of tomcat but that crashed the startup of jboss tomcat. If you have any suggestions, they would be most welcome. 1. Check the list archives before posting a question. 2. DO NOT BRING j2ee.jar INTO CONTACT WITH JBOSS!!! 3. You need either Java 1.3 or the RMI/IIOP thingy from Sun. Toby. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] javax/rmi/PortableRemoteObject
Toby, It seems it takes me 2 tries on everyting. After reinstalling JDK 1.3 everything worked. Thanks Ivan - Original Message - From: Toby Allsopp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 01, 2001 1:54 PM Subject: Re: [JBoss-user] javax/rmi/PortableRemoteObject On Tue, May 01, 2001 at 01:40:29PM -0700, Ivan wrote: Hi all, My servlet is trying to access a deployed ejb, but the servlet is getting the error java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject I found that class in the file j2ee.jar and tried adding it to the class path.but the error remains Does anyone know how to get embedded tomcat to read that jar and find the PortableRemoteObject class? I also tried adding the j2ee.jar to the lib folder of tomcat but that crashed the startup of jboss tomcat. If you have any suggestions, they would be most welcome. 1. Check the list archives before posting a question. 2. DO NOT BRING j2ee.jar INTO CONTACT WITH JBOSS!!! 3. You need either Java 1.3 or the RMI/IIOP thingy from Sun. Toby. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] javax/rmi/PortableRemoteObject
When running the servlet, after reinstalling JDK 1.3 thanks to a tip on this group the error went away - Original Message - From: Alexander Kogan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 01, 2001 4:00 PM Subject: Re: [JBoss-user] javax/rmi/PortableRemoteObject When did you get this error: - compilation ? import javax.rmi.*; - i mean javax.rmi, not java.rmi -run time ? be sure that tomcat is running under java 1.3 (tomcat can check for .tomcatrc for instance) which platform? embedded tomcat or standalone? Ivan wrote: Regarding number 3 below, I have Java 1.3 and its directory is set to JAVA_HOME. Tomcat is still not finding the javax/rmi/RemoteObject or the other RMI classes. Is there some setting I have to change to get Tomcat to recognize java 1.3 libraries? 1. Check the list archives before posting a question. 2. DO NOT BRING j2ee.jar INTO CONTACT WITH JBOSS!!! 3. You need either Java 1.3 or the RMI/IIOP thingy from Sun. Toby. - Original Message - From: Toby Allsopp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 01, 2001 1:54 PM Subject: Re: [JBoss-user] javax/rmi/PortableRemoteObject On Tue, May 01, 2001 at 01:40:29PM -0700, Ivan wrote: Hi all, My servlet is trying to access a deployed ejb, but the servlet is getting the error java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject I found that class in the file j2ee.jar and tried adding it to the class path.but the error remains Does anyone know how to get embedded tomcat to read that jar and find the PortableRemoteObject class? I also tried adding the j2ee.jar to the lib folder of tomcat but that crashed the startup of jboss tomcat. If you have any suggestions, they would be most welcome. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user -- __ Alexander Kogan PTC www.ptc.com [EMAIL PROTECTED]140 Kendrick St. Needham MA 02494 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user