cory wilkerson

Greenhorn
+ Follow
since Dec 28, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by cory wilkerson

I'm a bit vague on java's security policy architecture. I have an RMI server setting out at x.x.x.x and would like to have my client connect to it but not via an "all" permission grant. Does anyone know what the specifics I need to specify are?
I was thinking java.net.SocketPermission which appears to let me connect out to the server, but then I run into a class loader denied issue...anyone have any experience in this realm? Please assist...stack trace follows
--------------------------------------------
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: access to class loader denied
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:83)
at Client.main(Client.java:14)
-----------------------------------------------
19 years ago
Yes, you'll want both JDKs. The JDK for J2EE isn't going to provide you with all the base classes you'll need in compiling any simple class file....look through the j2ee.jar and you won't find ArrayList, String, Integer, etc...