This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15629
    
  15

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: 15629
    
  15

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
Help me to run my first RMI app
how to set host in RMI
RMI Project
ContextHandlerCallback can't be handled for T3 connection
Exception during Struts DynamicWebProject execution