1 Reply Latest reply on Aug 5, 2011 3:39 AM by surender m

    Jboss6 Server Running/Starting Problem

    surender m Newbie

      Hi friends,

       

      When I run the Jboss6.0.0.Final server, the following Exception is occured.

       

      12:12:25,250 WARN  [ClassLoaderManager] Unexpected error during load of:org.w3c.

      dom.UserDataHandler: java.lang.LinkageError: loader constraint violation: loader

      (instance of org/jboss/classloader/spi/base/BaseClassLoader) previously initiat

      ed loading for a different type with name "org/w3c/dom/UserDataHandler"

              at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_20]

              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_2

      0]

              at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_20]

              at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLo

      ader.java:52) [jboss-classloader.jar:2.2.0.GA]

              at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.

      java:650) [jboss-classloader.jar:2.2.0.GA]

              at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.

      java:609) [jboss-classloader.jar:2.2.0.GA]

              at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_20

      ]

       

      Is this problem with jars Available in my J2EE application and Jboss lib jars? (jars conflict) ?

      Do I need to remove any jars?

       

      Here I added an attachment of my J2EE application jars.

       

      Please guide me.

       

      Thanks in Advance.

        • 1. Re: Jboss6 Server Running/Starting Problem
          surender m Newbie

          Hi Every body,

           

          I found out the solution for the above problem & It is useful to other users also.

           

           

          Just change in jboss-6.0.0.Final\server\default\deployers\jbossweb.deployer\META-INF

           

          war-deployers-jboss-beans.xml:

           

          <property name="filteredPackages">javax.servlet</property>

          to

          <property name="filteredPackages">javax.servlet,org.w3c.dom</property>