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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15952
    
  19

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: 15952
    
  19

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 4 as RMI client
 
Similar Threads
ContextHandlerCallback can't be handled for T3 connection
Exception during Struts DynamicWebProject execution
how to set host in RMI
RMI Project
Help me to run my first RMI app