Issue502977
Created on 2002-01-13.12:35:35 by anonymous, last changed 2006-09-07.04:38:35 by cgroves.
| Messages | |||
|---|---|---|---|
| msg548 (view) | Author: Nobody/Anonymous (nobody) | Date: 2002-01-13.12:35:35 | |
I'm trying to use jython in an EJB ( Suns j2ee
1.2.1 ). It appears jython is trying to perform some
action disallowed in EJB's.
It would be nice to have jython run smoothly in
EJB's 'out of the box'
I am loading jython through BSF.
unable to load language: jpython:
java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write
at
java.security.AccessControlContext.checkPermission
(AccessControlContext.java:272)
at
java.security.AccessController.checkPermission
(AccessController.java:399)
at java.lang.SecurityManager.checkPermission
(SecurityManager.java:545)
at
java.lang.SecurityManager.checkPropertiesAccess
(SecurityManager.java:1246)
at java.lang.System.getProperties
(System.java:488)
at org.python.core.PySystemState.initialize
(PySystemState.java)
at org.python.util.PythonInterpreter.<init>
(PythonInterpreter.java)
at org.python.util.PythonInterpreter.<init>
(PythonInterpreter.java)
at
com.ibm.bsf.engines.jpython.JPythonEngine.initialize
(JPythonEngine.java:30)
at com.ibm.bsf.BSFManager.loadScriptingEngine
(BSFManager.java:317)
at TimerEJB2Bean.loadScript
(TimerEJB2Bean.java:38)
at TimerEJB2Bean.ejbCreate
(TimerEJB2Bean.java:23)
at java.lang.reflect.Method.invoke(Native
Method)
at
com.sun.ejb.containers.StatelessSessionContainer.create
StatelessEJB(StatelessSessionContainer.java:306)
at
com.sun.ejb.containers.StatelessSessionContainer.getCon
text(StatelessSessionContainer.java:247)
at
com.sun.ejb.containers.BaseContainer.preInvoke
(BaseContainer.java:273)
at TimerEJB2Bean_EJBObjectImpl.getCopyright
(TimerEJB2Bean_EJBObjectImpl.java:14)
at _TimerEJB2Bean_EJBObjectImpl_Tie._invoke
(Unknown Source)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispat
chToServant(GenericPOAServerSC.java:423)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.intern
alDispatch(GenericPOAServerSC.java:137)
at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispat
ch(GenericPOAServerSC.java:98)
at com.sun.corba.ee.internal.iiop.ORB.process
(ORB.java:227)
at
com.sun.corba.ee.internal.iiop.CachedWorkerThread.doWor
k(IIOPConnection.java:262)
at
com.sun.corba.ee.internal.iiop.CachedWorkerThread.run
(IIOPConnection.java:230)
|
|||
| msg549 (view) | Author: Charlie Groves (cgroves) | Date: 2006-09-07.04:38:35 | |
Logged In: YES user_id=1174327 jython no longer relies on being able to get the system properties so this shouldn't be a problem. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2002-01-13 12:35:35 | anonymous | create | |
Supported by Python Software Foundation,
Powered by Roundup