wood burning stoves*
The moose likes JBoss/WildFly and the fly likes How to set policy in Jboss for RMI. 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 » JBoss/WildFly
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://aspose.com/file-tools
 
subject: How to set policy in Jboss for RMI.
 
Similar Threads
Question - Code Loading with RMI + Ignore Prev. Posting
no security manager rmi class loader disabled
Codebase setting and rmiregistry
policy tool
RMI Data Server access to db.db