Hello,
 
I have some troubles deploying my application concerning RMI. Both the client and the server are running on the same machine. Everything is ok as long as I include everything in everybody's CLASSPATH, but that's not a clean way for using RMI.
1) I start the RMI registry with a classpath that only includes ...
    rmiregistry.jar
    RMI_jonas.jar
2) I start the Server with a classpath that includes ...
    jta-spec1_0_1.jar
    jdbc2_0-stdext.jar
    ejb11.jar
    classes12_01.zip (Oracle thin JDBC driver)
    ... and of course the application classes including the Stubs and Skeletons
    When launching the ejbserver the property -Djava.rmi.server.codebase=file:///H:/Dolores/ is set.
 
The problem is that the server can't find the Stub-classes. Do I have to seperate the Stub-classes from the rest of the application classes and exclude them from the server classpath (only having them in the codebase) ?
 
 
Best regards
 
Nikolaus Rumm
 

Reply via email to