File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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

 
It is sorta covered in the JavaRanch Style Guide.
 
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