aspose file tools
The moose likes JBoss and the fly likes How to set policy in Jboss for RMI. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "How to set policy in Jboss for RMI." Watch "How to set policy in Jboss for RMI." New topic
Author

How to set policy in Jboss for RMI.

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
I tried calling RMI from servlet and i got the following exception.

I apache tomcat,it works fine and in JBOSS its giving this exception.

where to set the security policy in jboss.

java.lang.ClassNotFoundException: org.apache.xerces.dom.DeferredDocumentImpl (no security manager: RMI class loader disabled)

thanks,
Bennet
suresh reddy reddy
Greenhorn

Joined: Jan 19, 2010
Posts: 12
Hi Bennet,
Jboss is internall using RMI as it is application server ,and the server configuration you can find in server.xml (${jboss.home}/server/default/deploy/jboss-web.deployer/server.xml) ,you can change the security setting.


Regards
Suresh
z daj
Greenhorn

Joined: Dec 16, 2011
Posts: 1
Hello

I am experiencing the same issues and was wondering what changes need making to the server.xml file - could you pelase help

Regards

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to set policy in Jboss for RMI.
 
Similar Threads
policy tool
Question - Code Loading with RMI + Ignore Prev. Posting
RMI Data Server access to db.db
Codebase setting and rmiregistry
no security manager rmi class loader disabled