[
https://jira.jboss.org/jira/browse/JBMESSAGING-1453?page=com.atlassian.ji...
]
Tim Fox updated JBMESSAGING-1453:
---------------------------------
Fix Version/s: 1.4.0.SP3.CP05
1.4.1.GA
1.4.2.GA
ClientAOPStackLoader needs privileged block to get TCL
------------------------------------------------------
Key: JBMESSAGING-1453
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1453
Project: JBoss Messaging
Issue Type: Sub-task
Reporter: Anil Saldhana
Assignee: Howard Gao
Fix For: 1.4.0.SP3.CP05, 1.4.1.GA, 1.4.2.GA
================================
java.security.AccessControlException: access denied (java.lang.RuntimePermission
getClassLoader)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.Thread.getContextClassLoader(Thread.java:1276)
at org.jboss.jms.client.ClientAOPStackLoader.load(ClientAOPStackLoader.java:67)
at
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:192)
at
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
at
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
at org.jboss.test.cts.jms.MsgSender.init(MsgSender.java:62)
at org.jboss.test.cts.jms.MsgSender.sendMsg(MsgSender.java:94)
at org.jboss.test.cts.ejb.CtsBmpBean.sendMsg(CtsBmpBean.java:664)
at org.jboss.test.cts.ejb.CtsBmpBean.setEntityContext(CtsBmpBean.java:512)
=====================================================
You need a priv block in ClientAOPStackLoader where you get TCL
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira