We are currently evaluating JBoss Messaging and are having some issues with our web start
applications. We've given the app complete access to the machine using the
<all-securities> option but they still generate an AccessControlException every time
they try and access the jboss.messaging.callback.bind.port property. Running these apps
locally without using web start works fine. Anyone encounter this? Here is the
exception:
| Caused by: java.lang.ExceptionInInitializerError
| at
org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:96)
| at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:159)
| at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| at
org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| at
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
| at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| at
org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
| at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| at
org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
| at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
| at
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:202)
| at
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:108)
| at
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:103)
| at
com.css.util.jms.jboss.JBossQueueFactoryImpl.connectQueues(JBossQueueFactoryImpl.java:31)
| at com.css.util.jms.JMSFactory.connectQueues(JMSFactory.java:45)
| ... 11 more
| Caused by: java.security.AccessControlException: access denied
(java.util.PropertyPermission jboss.messaging.callback.bind.port read)
| at java.security.AccessControlContext.checkPermission(Unknown Source)
| at java.security.AccessController.checkPermission(Unknown Source)
| at java.lang.SecurityManager.checkPermission(Unknown Source)
| at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
| at java.lang.System.getProperty(Unknown Source)
| at
org.jboss.jms.client.remoting.CallbackServerFactory.getPort(CallbackServerFactory.java:72)
| at
org.jboss.jms.client.remoting.CallbackServerFactory.<clinit>(CallbackServerFactory.java:68)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009667#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...