[jboss-user] [JBoss Messaging] - JMS client in a applet

luca.xlb do-not-reply at jboss.com
Tue Mar 11 04:46:17 EDT 2008


Hi.

I'm trying to make an applet communicate with jboss messaging.
The applet is signed and all jars it use are signed.

When I try to create the queue connection, i get the following exception



  | org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  | 	at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:187)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
  | 	at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
  | 	at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
  | 	at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
  | 	at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
  | 	at org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
  | 	at it.necsy.voip.impl.message.JmsSenderImpl$1.run(JmsSenderImpl.java:73)
  | 	at java.security.AccessController.doPrivileged(Native Method)
  | 	at it.necsy.voip.impl.message.JmsSenderImpl.connect(JmsSenderImpl.java:69)
  | 	at it.necsy.voip.impl.message.MessageSender.connect(MessageSender.java:61)
  | 	at it.necsy.voip.impl.message.MessageSender.access$0(MessageSender.java:56)
  | 	at it.necsy.voip.impl.message.MessageSender$InitTimerTask.run(MessageSender.java:163)
  | 	at java.util.TimerThread.mainLoop(Unknown Source)
  | 	at java.util.TimerThread.run(Unknown Source)
  | Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission legacyParsing 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.remoting.InvokerLocator.parse(InvokerLocator.java:203)
  | 	at org.jboss.remoting.InvokerLocator.<init>(InvokerLocator.java:193)
  | 	at org.jboss.jms.client.remoting.JMSRemotingConnection.<init>(JMSRemotingConnection.java:259)
  | 	at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:152)
  | 	... 16 more
  | 

How can I fix it?

Luca



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135541#4135541

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135541



More information about the jboss-user mailing list