D
Dale
I should probably think more about this before posting, but I need to
leave this task now.... maybe someone has hit this one before and
can assist?
I've got an RMI client class that works perfectly well from the
command line:
cd workspace\rmiproj
set classpath=.
java rmiproggy.java
(at this point the application comes up, and calls another machine
using that SQLOrdersImpl_Stub object).
But when I run this same thing from within Eclipse, I get this:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException: SQLOrdersImpl_Stub (no security
manager: RMI class loader disabled)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at OrderThread.run(OrderThread.java:32)
Caused by: java.lang.ClassNotFoundException: SQLOrdersImpl_Stub (no
security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.ibjectInputStream.readNonProxyDesc(Unknown Source)
at java.ibjectInputStream.readClassDesc(Unknown Source)
at java.ibjectInputStream.readOrdinaryObject(Unknown Source)
at java.ibjectInputStream.readObject0(Unknown Source)
at java.ibjectInputStream.readObject(Unknown Source)
... 3 more
It's failing on the following line:
orders = (SQLOrders) Naming.lookup(serviceName);
Again, same exact code running from the command line works perfectly.
WTH??
--Dale--
leave this task now.... maybe someone has hit this one before and
can assist?
I've got an RMI client class that works perfectly well from the
command line:
cd workspace\rmiproj
set classpath=.
java rmiproggy.java
(at this point the application comes up, and calls another machine
using that SQLOrdersImpl_Stub object).
But when I run this same thing from within Eclipse, I get this:
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is:
java.lang.ClassNotFoundException: SQLOrdersImpl_Stub (no security
manager: RMI class loader disabled)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at OrderThread.run(OrderThread.java:32)
Caused by: java.lang.ClassNotFoundException: SQLOrdersImpl_Stub (no
security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.ibjectInputStream.readNonProxyDesc(Unknown Source)
at java.ibjectInputStream.readClassDesc(Unknown Source)
at java.ibjectInputStream.readOrdinaryObject(Unknown Source)
at java.ibjectInputStream.readObject0(Unknown Source)
at java.ibjectInputStream.readObject(Unknown Source)
... 3 more
It's failing on the following line:
orders = (SQLOrders) Naming.lookup(serviceName);
Again, same exact code running from the command line works perfectly.
WTH??
--Dale--