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 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: 149
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

 
IntelliJ Java IDE
 
subject: How to set policy in Jboss for RMI.
 
Threads others viewed
no security manager rmi class loader disabled
RMI Data Server access to db.db
policy tool
Codebase setting and rmiregistry
Question - Code Loading with RMI + Ignore Prev. Posting
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture