Hi all,

I deployed a session bean in my Jrun3.1 and tried to call it using a jsp. I am getting the following

java.rmi.RemoteException: System exception/error caught by container; nested exception is:
java.lang.SecurityException: Access disallowed
java.lang.SecurityException: Access disallowed
at allaire.ejipt._BeanMethod._getAliasFor(allaire/ejipt/_BeanMethod.java:150)
at allaire.ejipt._LocalCaller._adjustAlias(allaire/ejipt/_LocalCaller.java:548)
at allaire.ejipt._SessionHomeObject._create(allaire/ejipt/_SessionHomeObject.java:110)
at allaire.ejipt._CallableObject.call(allaire/ejipt/_CallableObject.java:103)
at allaire.ejipt._CallableStub._call(allaire/ejipt/_CallableStub.java:199)
at xyz.UserHomeObject_Stub.create(C:/Program Files/Allaire/JRun/servers/default/deploy/src/xyz/UserHomeObject_Stub.java:184)
at jrun__GetBean2ejspc._jspService(jrun__GetBean2ejspc.java:55)
at allaire.jrun.jsp.HttpJSPServlet.service(../jsp/HttpJSPServlet.java:39)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:228)
at allaire.jrun.jsp.JSPServlet.service(../jsp/JSPServlet.java:196)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1416)
at allaire.jrun.session.JRunSessionService.service(../session/JRunSessionService.java:1082)
at allaire.jrun.servlet.JRunSE.runServlet(../servlet/JRunSE.java:1270)
at allaire.jrun.servlet.JRunRequestDispatcher.forward(../servlet/JRunRequestDispatcher.java:89)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1552)
at allaire.jrun.servlet.JRunSE.service(../servlet/JRunSE.java:1542)
at allaire.jrun.servlet.JvmContext.dispatch(../servlet/JvmContext.java:364)
at allaire.jrun.jrpp.ProxyEndpoint.run(../jrpp/ProxyEndpoint.java:388)
at allaire.jrun.ThreadPool.run(../ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(../WorkerThread.java:75)


Its thrown when the create method of the home is called. In the deployment descriptor I have
<method-permission>
<role-name>*</role-name>
<method>
<ejb-name>User</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>

In the user.properties of Jrun I have
user.admin1=dev1
group.all=*
role.user=all

Please let me know if any one have any solution.

Thanks,
Srinivas.J