0 Replies Latest reply on Jan 22, 2003 2:36 PM by epotvin

    Java web start access denied

    epotvin

      Hi
      I just make a little application that show a table of data provided my a session bean. When I launch my application, everything is fine. But when I launch my application from Java web start, I have a access denied error.

      So my jars are signed, and I a have

      <all-permissions/>

      tags in my jnlp

      Here is the error :

      java.security.AccessControlException: access denied (java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo)

      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)

      at java.security.AccessController.checkPermission(AccessController.java:401)

      at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

      at org.jboss.security.SecurityAssociation.getPrincipal(SecurityAssociation.java:112)

      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:74)

      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198)

      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)

      at $Proxy0.create(Unknown Source)

      at org.cpa.system.gui.FournisseurTable.(FournisseurTable.java:25)

      at org.cpa.system.gui.ListeFournisseurFrame.(ListeFournisseurFrame.java:14)

      at org.cpa.system.gui.PrincipalFrame.jMenuItem1_actionPerformed(PrincipalFrame.java:92)

      at org.cpa.system.gui.PrincipalFrame_jMenuItem1_actionAdapter.actionPerformed(PrincipalFrame.java:128)

      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)

      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)

      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)

      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)

      at javax.swing.AbstractButton.doClick(AbstractButton.java:289)

      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)

      at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)

      at java.awt.Component.processMouseEvent(Component.java:5093)

      at java.awt.Component.processEvent(Component.java:4890)

      at java.awt.Container.processEvent(Container.java:1566)

      at java.awt.Component.dispatchEventImpl(Component.java:3598)

      at java.awt.Container.dispatchEventImpl(Container.java:1623)

      at java.awt.Component.dispatchEvent(Component.java:3439)

      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)

      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)

      at java.awt.Container.dispatchEventImpl(Container.java:1609)

      at java.awt.Window.dispatchEventImpl(Window.java:1585)

      at java.awt.Component.dispatchEvent(Component.java:3439)

      at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

      at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)