0 Replies Latest reply on Jul 7, 2003 9:56 PM by humx_hn

    access deny Exception

    humx_hn Newbie

      Hello all:

      I am working with java Swing and Jboss Ejb Components, when I run the Swing Client with
      java -classpath ... Client
      instruction, this Swing client works well, even when I run this client on different PC. but when I wrap this program with Java webStart, The Jboss server give exception as following:

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

      More detail:

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

      at java.security.AccessControlContext.checkPermission(Unknown Source)

      at java.security.AccessController.checkPermission(Unknown Source)

      at java.lang.SecurityManager.checkPermission(Unknown Source)

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

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

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

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

      at $Proxy0.create(Unknown Source)

      at tasklist.TaskListTable.init(TaskListTable.java:55)

      at tasklist.TaskListTable.(TaskListTable.java:44)

      at tasklist.TaskListTable.main(TaskListTable.java:178)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

      at java.lang.reflect.Method.invoke(Unknown Source)

      at com.sun.javaws.Launcher.executeApplication(Unknown Source)

      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

      at com.sun.javaws.Launcher.continueLaunch(Unknown Source)

      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

      at com.sun.javaws.Launcher.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)


      what can I do now?
      Waiting for your help, Thanks.