This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 17151
    
  27

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?


An IDE is no substitute for an Intelligent Developer.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17151
    
  27

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
 
Consider Paul's rocket mass heater.
 
subject: Tomcat 4 as RMI client
 
jQuery in Action, 3rd edition