Hi
I encountered a problem when using dynamic copying of RMI/JRMP classes and trying to configure
Tomcat (4.0.4) to create a codebase for that.
So, I created a new HTTP connector and context path for my application in server.xml file:
Application class files are stored in
C:\Tomcat4\webapps\myapp\WEB-INF\classes folder
Run the application with following system property: -Djava.rmi.server.codebase=http://localhost:2001/myapp\WEB-INF\classes
Finally, when trying to create an instance of Remote class, I get the following exception:
But I'm sure that I have stubs generated and stored in proper location, so the problem appears to be in invalid configuraion of Tomcat.
Does anybody know what I'm missing? Your help is greatly appreciated.
Andrey
[ January 24, 2003: Message edited by: Andrey Karachoun ]
[ January 24, 2003: Message edited by: Andrey Karachoun ]