Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

RMI and Tomcat

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  multiple web on different computer  
Author Message
Claus Petersen

External


Since: Feb 09, 2005
Posts: 1



(Msg. 1) Posted: Wed Feb 09, 2005 3:35 am
Post subject: RMI and Tomcat
Archived from groups: alt>apache>configuration (more info?)

Hi NG,

I have a problem connecting my applet to my RMI server. The Applet is
running on a TOmcat 4.1 server. I have no problems if I run the Applet by
clicking on the .html file in explorer, but only if i use my browser. Is it
wrong settings in the Tomcat server???

I get the following Error:

java.rmi.UnmarshalException: error unmarshalling return; nested exception
is:
java.lang.ClassNotFoundException: com.netpointers.crm.SurveyRMIServer_Stub
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
at
com.netpointers.crm.SurveyServerConnection.SurveyRMIconnect(SurveyServerConnection.java:69)
at
com.netpointers.crm.SurveyServerConnection.getSurveyServerConnection(SurveyServerConnection.java:36)
at com.netpointers.crm.web.SurveyApplet.jbInit(SurveyApplet.java:100)
at com.netpointers.crm.web.SurveyApplet.init(SurveyApplet.java:72)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.ClassNotFoundException:
com.netpointers.crm.SurveyRMIServer_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:427)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:161)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:200)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
... 8 more

Regards

Claus

 >> Stay informed about: RMI and Tomcat 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]