1 Reply Latest reply on Jun 30, 2010 3:25 AM by jaikiran

    Why am I getting this load error and how do I fix it?

    karlkras

      Out of the box deployment of a Struts 2.1.8 web application. Works fine on GF, getting this error on a default level deployment.

       

       

      DEPLOYMENTS IN ERROR:
        Deployment "vfszip:/C:/Program%20Files/JBoss/jboss-5.1.0.GA/server/default/deploy/StrutsTutorial.war/" is in error due to the following reason(s): javax.management.InvalidAttributeValueException: Set attribute  has class class org.jboss.security.integration.JNDIBasedSecurityManagement loaded from BaseClassLoader@515979{vfsfile:/C:/Program%20Files/JBoss/jboss-5.1.0.GA/server/default/conf/jboss-service.xml} that is not assignable to attribute class interface org.jboss.security.ISecurityManagement loaded from BaseClassLoader@1341aeb{vfszip:/C:/Program%20Files/JBoss/jboss-5.1.0.GA/server/default/deploy/StrutsTutorial.war/}

       

      and the stack:


              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

       

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:619)

       

      Message was edited by: Karl Krasnowsky Added the stack trace.