tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From java guru <javacoc...@yahoo.co.in>
Subject tomcat 4.0.3 servlet having problem loading class via rmi ?
Date Thu, 06 Jun 2002 21:21:16 GMT
Hi.,
  I am trying to access a JINI service thru my
servlet.. inspite of following Security Manager,
Policy file and setting codebase etc, tomcat 4.0.3
repeatedly give following excption.

The JINI service itself is working fine and other
standalone clients can access it.

Read somewhere that the protocol handler of tomcat had
problem but that was two years back.. 

Any insight to this would be of great help.

Thanks
srini


*******************************************************
java.lang.ClassNotFoundException:
com.sun.jini.reggie.RegistrarProxy
        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:306)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:207)
        at
sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:427)
        at
sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:159)
        at
java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:629)
        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:1503)
        at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
        at
java.rmi.MarshalledObject.get(MarshalledObject.java:135)
        at
net.jini.discovery.IncomingUnicastResponse.<init>(IncomingUnicastResponse.java:78)
        at net.jini.discovery.LookupDiscovery$UnicastDiscoverer.run(LookupDiscovery.java:322)

=====
Thanks and have great day
srini

________________________________________________________________________
Everything you always wanted to know about cars and bikes,now
 at: http://in.autos.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message