wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes EJB Deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Deployment" Watch "EJB Deployment" New topic

EJB Deployment

ramakrishnan visvanathan

Joined: Oct 30, 2000
Posts: 3
Hello Java Guru's
I am having problems deploying EJB using J2ee(Sun's) Deployment tool. I am almost at the end 99%
I am getting the following error

java.rmi.RemoteException: Error processing ejb jar:access denied(java.io.FilePermission d:\j2ee\jdk1.2.2\lib\ext read)
Any help is deeply appreciated
Thanking in advance
Ramakrishnan Visvanathan ( Ramesh )

Mohan Bisht

Joined: Jan 17, 2004
Posts: 1
RMISecurityManager is set in the client but the client is started without a
-Djava.security.policy argument or the security policy in the java.security.policy file does not grant permissions to connect and resolve to the named socket.
Start the client with the -Djava.security.policy argument.
Refer to the :run section in /jrun/samples/make or /jrun/samples/makew.bat
java %JAVA_FLAGS% -Djava.security.policy=sample.policy -classpath "%CLIENT_PATH%" Client.
If the client is a servlet or a JSP page then the security policy argument will have to be sent to the JVM that starts Jrun. Using the Jrun Management Console >> Select Jrun Default Server >> Java Settings >> Java Arguments.
Make sure that the security policy file grants sufficient permissions. Refer to /jrun/samples/sample1a/sample.policy
grant { permission java.security.AllPermission; };
I agree. Here's the link: http://aspose.com/file-tools
subject: EJB Deployment
Similar Threads
Persistence Manager
error deploying sample
error during Deployment of EJB
Error in deploying EJ B
deploytool---Could not invoke javac