You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Adams <da...@magma.ca> on 2001/11/01 15:32:53 UTC

HELP! - Yes...another Tomcat & RMI problem

(Yes, I went through the archives, with no luck)
HI,
Which TOMCAT config files need to be edited in order to use RMI. On JRun, I simply provided Java arguments to point to the stub and added a policy to grant socket access. It had a fluffy interface, and worked great. Tomcat on the other hand is less intuitive.

I have added a grant line for the sockets to the tomcat.policy file, and added the path to the stub in the tomcat.sh file. No luck. If I actually include a call to the RMI object, it hangs tomcat all together, and I must kill the threads manually and then restart it. The call worked great on JRun/Win2k, but on Linux/Tomcat 3.2.2, all hell breaks lose. Because of this, I believe that the RMI java code is OK (the fact that it worked on JRun), and that it really must be a Tomcat config issue.

Please help! I go live Saturday.

- D