File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat 4 as RMI client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 4 as RMI client" Watch "Tomcat 4 as RMI client" New topic
Author

Tomcat 4 as RMI client

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

I'm trying to invoke an RMI server from a servlet. I seem to be having trouble with the security environment. I tried switching on the "-security" option and messing around with the catalina.policy file, but the best I can get is this:



That's being thrown on my index.jsp access - which isn't involved with RMI at all. Actually it's being thrown on any jsp access.

What do I need to configure?


Customer surveys are for companies who didn't pay proper attention to begin with.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

Well, once again I answer my own question. I stole the catalina security file from JOnAS EJB server. Turns out they solved the problem by enabling EVERYTHING
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat 4 as RMI client