2 Replies Latest reply on Jan 14, 2011 9:27 AM by Sergiu Pienar

    Security issue after upgrade to jbosssx2.0.4SP4.jar and jboss-security-spi2.0.4SP4.jar

    Sergiu Pienar Expert

      Hi,

       

      After upgrading to jbosssx2.0.4SP4.jar and jboss-security-spi2.0.4SP4.jar I get the following :

       

      Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/SecurityContextAssociation

              at org.jboss.proxy.SecurityActions$1.getPrincipal(SecurityActions.java:55)

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

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

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

              at $Proxy0.invoke(Unknown Source)

              at org.jboss.Shutdown$ServerProxyHandler.invoke(Shutdown.java:271)

              at $Proxy1.shutdown(Unknown Source)

              at org.jboss.Shutdown.main(Shutdown.java:242)

      Caused by: java.lang.ClassNotFoundException: org.jboss.security.SecurityContextAssociation

              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

              ... 8 more

      Press any key to continue . . .

       

      I googled around and it seems the issues is described here : https://issues.jboss.org/browse/SECURITY-56?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs

      but the fix version seems to be 2.0.1BETA.

       

      P.S. :I've upgraded to the above jars in order to fix this : https://issues.jboss.org/browse/SECURITY-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

       

      Any help is greatly appreciated.

       

      Thx.