RMI Registry Inspector

This is the place for general discussion of the RMI plugin for Eclipse and support questions

RMI Registry Inspector

Postby michaeln31 » Wed Dec 01, 2010 2:01 pm

Hi all,

My problem is on two parts, which I hope are related. In the RMI Registry Inspector I have never been able to see details relating to the "Class hierarchy" or the "Available Methods". Is there any main reason why I wouldn't be able to see this? My "shot in the dark" opinion is that it has to do with the stubs. My server source folder contains two folders, server and common. The common folder holds interface classes for the client and server. Because my code is supposed to be "activatable" I run my code through the command line.

Here is what i run for the server:

javac -d . common/*.java
javac -d . server/*.java
rmic -d . server.ChatRoomServerImpl
start rmiregistry
start rmid -J-Djava.security.policy=policy
java -Djava.security.policy=policy -Djava.rmi.server.codebase=file:\server\ server.ChatRoomServer

and this for the client:

javac -d . common/*.java

javac -d . client/*.java

java -Djava.security.policy=policy client.ClientChatRoomLoginGUI


I think that, in theory, this should work but i get the "java.lang.ClassNotFoundException: server.ChatRoomServerImpl_Stub" exception. I can attach source code if it helps.


Thanks for any help,

Mike



Mike
michaeln31
 
Posts: 2
Joined: Tue Nov 30, 2010 9:04 pm

Re: RMI Registry Inspector

Postby michaeln31 » Wed Dec 01, 2010 2:19 pm

I actually just got an answer for the second part of my question, I just skipped the part where I created a stub and it worked fine.


Mike
michaeln31
 
Posts: 2
Joined: Tue Nov 30, 2010 9:04 pm


Return to General discussion and support

Who is online

Users browsing this forum: No registered users and 2 guests

cron