File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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( 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 argument or the security policy in the file does not grant permissions to connect and resolve to the named socket.
Start the client with the argument.
Refer to the :run section in /jrun/samples/make or /jrun/samples/makew.bat
java %JAVA_FLAGS% -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; };
subject: EJB Deployment