0 Replies Latest reply on May 11, 2005 9:05 AM by Brian

    Applet & JMS

    Brian Newbie

      I have an applet that I am deploying in JBoss via a war within an ear. The applet listens to a JMS topic on the app server and consumes its messages. When the applet attempts to connect to the JMS topic I get the following:

      Naming Exception in connect:
      access denied (java.net.SocketPermission 155.244.60.54:1098 connect,resolve)
      at org.hs.client.JMSInstance.configure(JMSInstance.java:118)
      at org.hs.client.JMSInstanceManager.addInstance(JMSInstanceManager.java:83)
      at org.hs.client.AddServerTab.addInServer(AddServerTab.java:126)
      at org.hs.client.AddServerTab.access$000(AddServerTab.java:37)
      at org.hs.client.AddServerTab$1.actionPerformed(AddServerTab.java:71)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)


      Wasn't sure where to post this exactly. Can anyone give me an idea of what is going on and/or how to fix it? Port 1098 is open on the app server node.

      Thanks,
      Brian