6 Replies Latest reply on May 13, 2011 4:43 PM by 5pike

    JBoss hangs after deployment of XWiki.war

    5pike Newbie

      Hi all,

       

      I'm trying to deploy XWiki onto JBoss AS 6 but as yet with no success.  I've followed the information on their website (listed below) but this information is out-of-date now.  JBoss works fine but when I stop it, copy across the exploded war file and restart JBoss - it just hangs. Any help here would be greatly appreciated.

       

      http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss

      http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation

      http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

       

      I've downloaded and copied the MySQL J/Connector to $JBOSS_HOME/server/default/lib and below are the relevant configuration settings:

       

      $JBOSS_HOME/server/default/deploy/mysql-ds.xml:

       

      <?xml version="1.0" encoding="UTF-8"?> 
      <datasources>
        <local-tx-datasource>
          <jndi-name>XWikiDS</jndi-name>
          <connection-url>jdbc:mysql://localhost:3306/xwiki</connection-url>
          <driver-class>com.mysql.jdbc.Driver</driver-class>
          <user-name>xwiki</user-name>
          <password>xwiki</password>
          <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
          <metadata>
             <type-mapping>mySQL</type-mapping>
          </metadata>
        </local-tx-datasource>
      </datasources>
      

       

      $JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/web.xml:

      (Uncommented below section...)

       

      <resource-ref>
          <description>XWiki MySQL DB Connection</description>
          <res-ref-name>jdbc/XWikiDS</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
      </resource-ref>
      

       

      $JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/xwiki.cfg:

      (Uncommented the following line...)

       

      xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
      

       

      $JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/hibernate.cfg.xml:

      (Commented out HSQLDB section and added the below MySQL bit...)

       

          <property name="connection.datasource">java:/comp/env/jdbc/XWikiDS</property>
          <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
          <property name="connection.pool_size">2</property>
          <property name="statement_cache.size">2</property>
          <mapping resource="xwiki.hbm.xml"/>
          <mapping resource="feeds.hbm.xml"/>
          <mapping resource="activitystream.hbm.xml"/>
      

       

      $JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/jboss-web.xml:

       

      <?xml version="1.0" encoding="UTF-8"?> 
      <jboss-web>
          <resource-ref>
              <res-ref-name>jdbc/XWikiDS</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <jndi-name>java:jdbc/XWikiDS</jndi-name>
          </resource-ref>
      </jboss-web>
      

       

      Please see the below error I receive at startup:

       

      ========================================================================= 
      
        JBoss Bootstrap Environment 
      
        JBOSS_HOME: /usr/local/jboss 
      
        JAVA: /usr/lib/jvm/java-6-sun/bin/java 
      
        JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.li$ 
      
        CLASSPATH: /usr/local/jboss/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar 
      
      ========================================================================= 
      
      01:34:42,418 INFO  [AbstractJBossASServerBase] Server Configuration: 
      
              JBOSS_HOME URL: file:/java/apps/jboss/jboss-6.0.0.Final/ 
              Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml 
              Common Base: $JBOSS_HOME/common/ 
              Common Library: $JBOSS_HOME/common/lib/ 
              Server Name: default 
              Server Base: $JBOSS_HOME/server/ 
              Server Library: $JBOSS_HOME/server/default/lib/ 
              Server Config: $JBOSS_HOME/server/default/conf/ 
              Server Home: $JBOSS_HOME/server/default/ 
              Server Data: $JBOSS_HOME/server/default/data/ 
              Server Log: $JBOSS_HOME/server/default/log/ 
              Server Temp: $JBOSS_HOME/server/default/tmp/ 
      
      01:34:42,422 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"] 
      01:34:44,018 INFO  [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc. 
      01:34:44,018 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07) 
      01:34:44,018 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc. 
      01:34:44,019 INFO  [ServerInfo] OS-System: Linux 2.6.35-28-server,amd64 
      01:34:44,019 INFO  [ServerInfo] VM arguments: -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprog$ 
      01:34:44,059 INFO  [JMXKernel] Legacy JMX core initialized 
      01:34:50,594 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA 
      01:34:51,535 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0] 
      01:34:58,256 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 
      01:36:10,087 WARN  [ClassLoaderManager] Unexpected error during loadof:org.apache.jackrabbit.core.query.lucene.WildcardQuery$WildcardQueryWeight: java.lang.IncompatibleClassChangeError: Implementing class 
              at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_24] 
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_24] 
              at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_24] 
              at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.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_24] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:608) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:585) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:156) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.filter.FilteredDelegateLoader.doLoadClass(FilteredDelegateLoader.java:141) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:132) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:461) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:262) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:161) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:260) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1152) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:886) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:505) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:450) [jboss-classloader.jar:2.2.0.GA] 
              at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24] 
              at java.lang.Class.forName0(Native Method) [:1.6.0_24] 
              at java.lang.Class.forName(Class.java:247) [:1.6.0_24] 
              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.resolveComplexTypeInfo(IntrospectionTypeInfoFactoryImpl.java:458) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:414) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:54) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.config.plugins.AbstractConfiguration.getTypeInfo(AbstractConfiguration.java:121) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.kernel.plugins.config.AbstractKernelConfig.getTypeInfo(AbstractKernelConfig.java:95) [jboss-kernel.jar:2.2.0.GA] 
              at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getTypeInfo(AbstractKernelConfigurator.java:102) [jboss-kernel.jar:2.2.0.GA] 
              at org.jboss.scanning.plugins.visitor.ConfiguratorReflectProvider.getTypeInfo(ConfiguratorReflectProvider.java:47) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.CachingReflectProvider.getTypeInfo(CachingReflectProvider.java:52) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.getTypeInfo(ReflectResourceVisitor.java:60) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.getClassInfo(ReflectResourceVisitor.java:72) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(ReflectResourceVisitor.java:107) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86) [:1.0.0.GA] 
              at org.jboss.scanning.hierarchy.plugins.HierarchyIndexScanningPlugin.visit(HierarchyIndexScanningPlugin.java:91) [:1.0.0.GA] 
              at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.GA] 
              at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.GA] 
              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:396) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102) [jboss-classloading-vfs.jar:2.2.0.GA] 
              at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181) [:2.2.0.GA] 
              at org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111) [:1.0.0.GA] 
              at org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96) [:1.0.0.GA] 
      . 
      . 
      . 
      . 
      01:36:10,936 WARN  [ClassLoaderManager] Unexpected error during load of:org.apache.jackrabbit.core.query.lucene.MatchAllWeight: java.lang.IncompatibleClassChangeError: Implementing class 
              at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_24] 
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_24] 
              at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_24] 
              at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.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_24] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:608) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:585) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:156) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.filter.FilteredDelegateLoader.doLoadClass(FilteredDelegateLoader.java:141) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:132) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:461) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:262) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:161) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:260) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1152) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:886) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:505) [jboss-classloader.jar:2.2.0.GA] 
              at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:450) [jboss-classloader.jar:2.2.0.GA] 
              at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_24] 
              at java.lang.Class.getDeclaredConstructors0(Native Method) [:1.6.0_24] 
              at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) [:1.6.0_24] 
              at java.lang.Class.getDeclaredConstructors(Class.java:1836) [:1.6.0_24] 
              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getDeclaredConstructors(IntrospectionTypeInfoFactoryImpl.java:559) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getConstructors(IntrospectionTypeInfoFactoryImpl.java:158) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredConstructors(ClassInfoImpl.java:446) [jboss-reflect.jar:2.2.0.GA] 
              at org.jboss.scanning.plugins.visitor.ClassHierarchyResourceVisitor.handleClass(ClassHierarchyResourceVisitor.java:79) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.doVisit(ReflectResourceVisitor.java:108) [:1.0.0.GA] 
              at org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:86) [:1.0.0.GA] 
              at org.jboss.scanning.annotations.plugins.AnnotationsScanningPlugin.visit(AnnotationsScanningPlugin.java:89) [:1.0.0.GA] 
              at org.jboss.scanning.spi.helpers.ScanningPluginWrapper.visit(ScanningPluginWrapper.java:112) [:1.0.0.GA] 
              at org.jboss.classloading.plugins.visitor.FederatedResourceVisitor.visit(FederatedResourceVisitor.java:101) [jboss-classloading.jar:2.2.0.GA] 
              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:264) [jboss-classloading-vfs.jar:2.2.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:396) [jboss-vfs.jar:3.0.0.GA] 
              at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:102) [jboss-classloading-vfs.jar:2.2.0.GA] 
              at org.jboss.deployers.vfs.plugins.classloader.VFSDeploymentClassLoaderPolicyModule.visit(VFSDeploymentClassLoaderPolicyModule.java:181) [:2.2.0.GA] 
              at org.jboss.scanning.plugins.DeploymentUnitScanner.scan(DeploymentUnitScanner.java:111) [:1.0.0.GA] 
              at org.jboss.scanning.spi.helpers.UrlScanner.scan(UrlScanner.java:96) [:1.0.0.GA] 
              at org.jboss.scanning.deployers.ScanningDeployer.deploy(ScanningDeployer.java:95) [:1.0.0.GA] 
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA] 
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA] 
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA] 
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA] 
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA] 
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA] 
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA] 
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA] 
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA] 
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA] 
      

       

      Can anyone see what I'm doing wrong?  All the information on the web seems a little old.  I would be grateful if anyone could help shed any light on this issue.

       

      Cheers,

      Andy

        • 1. JBoss hangs after deployment of XWiki.war
          jaikiran pai Master

          You can ignore those WARN messages. When you say it hangs, what exactly happens? No logs and it can't process the URL requests? Can you get a thread dump http://community.jboss.org/wiki/ThreadDump to see what it's doing?

          1 of 1 people found this helpful
          • 2. Re: JBoss hangs after deployment of XWiki.war
            5pike Newbie

            Hi Jaikiran,

             

            Thanks for your help - I only just noticed your reply.  My problem has progressed slightly.  After eventually realising I could ignore these messages I knew I needed to increase the memory allocated to the JVM so I added the following to the "JAVA_OPTS" system variable within $JBOSS_HOME/bin/run.conf:

             

             

            JAVA_OPTS=-Xms512M -Xmx2048M -XX:MaxPermSize=512M
            

             

            Now JBoss starts up correctly (albeit with lots of WARN messages) but XWiki still fails to deploy.  The error I now receive is shown below - do you know what's causing it and / or how I can fix it?

             

            Many thanks,

            Andy

             

             

            13:21:54,657 ERROR [MbeansDescriptorsDOMSource] Error reading descriptors : java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
             at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123) [:1.6.0_24]
             at org.apache.tomcat.util.DomUtil.readXml(DomUtil.java:242) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:86) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:76) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:867) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:845) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.findDescriptor(Registry.java:909) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:627) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:964) [:6.0.0.Final]
             at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:793) [:6.0.0.Final]
             at org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.java:306) [:6.0.0.Final]
             at org.apache.catalina.core.StandardPipeline.addValve(StandardPipeline.java:452) [:6.0.0.Final]
             at org.jboss.modcluster.catalina.CatalinaContext.addRequestListener(CatalinaContext.java:114) [:1.1.0.Final]
             at org.jboss.modcluster.ModClusterService.start(ModClusterService.java:385) [:1.1.0.Final]
             at org.jboss.modcluster.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:257) [:1.1.0.Final]
             at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [:6.0.0.Final]
             at org.apache.catalina.core.StandardContext.start(StandardContext.java:3773) [:6.0.0.Final]
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.0.0.Final]
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.0.0.Final]
             at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477) [:6.0.0.Final]
             at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.Final]
             at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.Final]
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
             at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
             at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.GA]
             at $Proxy41.start(Unknown Source)     at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.GA]
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.GA]
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
             at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
             at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
             at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
             at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
             at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
             at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
            
            13:21:56,380 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
            13:21:56,381 ERROR [STDERR] SLF4J: Found binding in [vfs:/java/apps/jboss/jboss-6.0.0.Final/common/lib/slf4j-jboss-logmanager.jar/org/slf4j/impl/StaticLoggerBinder.class]
            13:21:56,381 ERROR [STDERR] SLF4J: Found binding in [vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war/WEB-INF/lib/slf4j-log4j12-1.6.1.jar/org/slf4j/impl/StaticLoggerBinder.class]
            13:21:56,381 ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
            13:21:56,820 INFO  [STDOUT] 2011-05-06 13:21:56,798 [Thread-2] ERROR reflections.Reflections         - could not create Vfs.Dir from url. ignoring the exception and continuing 
            13:21:56,834 INFO  [STDOUT] org.reflections.ReflectionsException: could not create Dir using org.reflections.vfs.Vfs$DefaultUrlTypes$2 from url vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xnio-provider.jar!/xnio-nio.jar/META-INF/maven/
            13:21:56,834 INFO  [STDOUT]      at org.reflections.vfs.Vfs.fromURL(Vfs.java:99)
            13:21:56,834 INFO  [STDOUT]      at org.reflections.vfs.Vfs.fromURL(Vfs.java:89)
            13:21:56,835 INFO  [STDOUT]      at org.reflections.Reflections.scan(Reflections.java:136)
            13:21:56,835 INFO  [STDOUT]      at org.reflections.Reflections.<init>(Reflections.java:91)
            13:21:56,835 INFO  [STDOUT]      at org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.loadExtensions(DefaultCoreExtensionRepository.java:90)
            13:21:56,835 INFO  [STDOUT]      at org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.initialize(DefaultCoreExtensionRepository.java:76)
            13:21:56,835 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:429)
            13:21:56,835 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
            13:21:56,835 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
            13:21:56,835 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:403)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:403)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.lookupList(EmbeddableComponentManager.java:143)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.component.internal.DefaultComponentManager.lookupList(DefaultComponentManager.java:105)
            13:21:56,836 INFO  [STDOUT]      at org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:133)
            13:21:56,837 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:429)
            13:21:56,837 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:361)
            13:21:56,837 INFO  [STDOUT]      at org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:116)
            13:21:56,837 INFO  [STDOUT]      at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:78)
            13:21:56,837 INFO  [STDOUT]      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3369)
            13:21:56,837 INFO  [STDOUT]      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3828)
            13:21:56,837 INFO  [STDOUT]      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294)
            13:21:56,837 INFO  [STDOUT]      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
            13:21:56,838 INFO  [STDOUT]      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477)
            13:21:56,838 INFO  [STDOUT]      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
            13:21:56,838 INFO  [STDOUT]      at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
            13:21:56,838 INFO  [STDOUT]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            13:21:56,838 INFO  [STDOUT]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            13:21:56,838 INFO  [STDOUT]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            13:21:56,838 INFO  [STDOUT]      at java.lang.reflect.Method.invoke(Method.java:597)
            13:21:56,839 INFO  [STDOUT]      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            13:21:56,840 INFO  [STDOUT]      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            13:21:56,840 INFO  [STDOUT]      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            13:21:56,840 INFO  [STDOUT]      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
            13:21:56,840 INFO  [STDOUT]      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
            13:21:56,841 INFO  [STDOUT]      at $Proxy41.start(Unknown Source)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            13:21:56,841 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)
            13:21:56,842 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491)
            13:21:56,843 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
            13:21:56,844 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
            13:21:56,844 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
            13:21:56,844 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
            13:21:56,844 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
            13:21:56,845 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
            13:21:56,845 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
            13:21:56,845 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
            13:21:56,845 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983)
            13:21:56,845 INFO  [STDOUT]      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
            13:21:56,846 INFO  [STDOUT]      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
            13:21:56,847 INFO  [STDOUT]      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
            13:21:56,847 INFO  [STDOUT]      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
            13:21:56,847 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
            13:21:56,854 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
            13:21:56,855 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
            13:21:56,855 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
            13:21:56,855 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
            13:21:56,855 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
            13:21:56,855 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159)
            13:21:56,856 INFO  [STDOUT]      at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112)
            13:21:56,857 INFO  [STDOUT]      at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87)
            13:21:56,857 INFO  [STDOUT]      at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91)
            13:21:56,857 INFO  [STDOUT]      at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132)
            13:21:56,857 INFO  [STDOUT]      at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
            13:21:56,857 INFO  [STDOUT]      at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)
            13:21:56,857 INFO  [STDOUT]      at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)
            13:21:56,857 INFO  [STDOUT]      at java.lang.Thread.run(Thread.java:662)
            13:22:00,663 ERROR [[/xwiki]] Exception starting filter Resteasy: java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate MessageBodyReader
             at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:35) [:6.0.0.Final]
             at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:183) [:6.0.0.Final]
             at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67) [:6.0.0.Final]
             at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.init(FilterDispatcher.java:39) [:6.0.0.Final]
             at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447) [:6.0.0.Final]
             at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3246) [:6.0.0.Final]
             at org.apache.catalina.core.StandardContext.start(StandardContext.java:3843) [:6.0.0.Final]
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.0.0.Final]
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.0.0.Final]
             at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477) [:6.0.0.Final]
             at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.Final]
             at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.Final]
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
             at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
             at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.GA]
             at $Proxy41.start(Unknown Source)     at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.GA]
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.GA]
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
             at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
             at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
             at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
             at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
             at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
             at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
            Caused by: java.lang.RuntimeException: Unable to instantiate MessageBodyReader
             at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:760) [:6.0.0.Final]
             at org.jboss.resteasy.plugins.providers.RegisterBuiltin.registerProviders(RegisterBuiltin.java:70) [:6.0.0.Final]
             at org.jboss.resteasy.plugins.providers.RegisterBuiltin.register(RegisterBuiltin.java:31) [:6.0.0.Final]
             ... 85 more
            Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.resteasy.plugins.providers.DocumentProvider()
             at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:144) [:6.0.0.Final]
             at org.jboss.resteasy.spi.ResteasyProviderFactory.getProviderInstance(ResteasyProviderFactory.java:1038) [:6.0.0.Final]
             at org.jboss.resteasy.spi.ResteasyProviderFactory.addMessageBodyReader(ResteasyProviderFactory.java:478) [:6.0.0.Final]
             at org.jboss.resteasy.spi.ResteasyProviderFactory.registerProvider(ResteasyProviderFactory.java:756) [:6.0.0.Final]
             ... 87 more
            Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
             at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123) [:1.6.0_24]
             at org.jboss.resteasy.plugins.providers.DocumentProvider.<init>(DocumentProvider.java:40) [:6.0.0.Final]
             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_24]
             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_24]
             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_24]
             at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_24]
             at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132) [:6.0.0.Final]
             ... 90 more
            
            13:22:00,698 ERROR [StandardContext] Error filterStart
            13:22:00,698 ERROR [StandardContext] Context [/xwiki] startup failed due to previous errors
            13:22:00,710 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/xwiki state=Create mode=Manual requiredState=Installed: org.jboss.deployers.spi.DeploymentException: URL file:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war/ deployment failed
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:325) [:6.0.0.Final]
             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.0.0.Final]
             at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:477) [:6.0.0.Final]
             at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.0.0.Final]
             at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.0.0.Final]
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_24]
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_24]
             at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
             at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
             at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
             at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
             at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
             at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) [:2.2.0.GA]
             at $Proxy41.start(Unknown Source)     at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53) [:2.2.0.GA]
             at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41) [:2.2.0.GA]
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
             at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
             at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
             at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
             at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
             at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
             at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
             at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
             at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
            
            13:22:00,771 INFO  [service] Removing bootstrap log handlers
            13:22:00,856 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
            
            DEPLOYMENTS IN ERROR:
              Deployment "jboss.web.deployment:war=/xwiki" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war/ deployment failed
            
             at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
             at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
             at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
             at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
             at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
             at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
             at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
            
            13:22:00,883 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
            13:22:00,887 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
            13:22:00,888 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 11m:30s:962ms
            
            
            • 3. Re: JBoss hangs after deployment of XWiki.war
              5pike Newbie

              Hi all,

               

              Not sure if anyone canhelp here but I am still unable to deploy XWiki 3.0 on JBoss 6.0.0. I noticed the following error in the startup output (see previous post):

               

              13:21:56,380 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
              13:21:56,381 ERROR [STDERR] SLF4J: Found binding in [vfs:/java/apps/jboss/jboss-6.0.0.Final/common/lib/slf4j-jboss-logmanager.jar/org/slf4j/impl/StaticLoggerBinder.class]
              13:21:56,381 ERROR [STDERR] SLF4J: Found binding in [vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xwiki.war/WEB-INF/lib/slf4j-log4j12-1.6.1.jar/org/slf4j/impl/StaticLoggerBinder.class]
              13:21:56,381 ERROR [STDERR] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
              13:21:56,820 INFO  [STDOUT] 2011-05-06 13:21:56,798 [Thread-2] ERROR reflections.Reflections         - could not create Vfs.Dir from url. ignoring the exception and continuing 
              13:21:56,834 INFO  [STDOUT] org.reflections.ReflectionsException: could not create Dir using org.reflections.vfs.Vfs$DefaultUrlTypes$2 from url vfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xnio-provider.jar!/xnio-nio.jar/META-INF/maven/
              
              

               

               

              Due to the above error I removed slf4j-jboss-logmanager.jar and slf4j-api.jar from $JBOSS/common/lib.  And because XWiki's implementation is newer, I moved slf4j-api-1.6.1.jar and slf4j-log4j12-1.6.1.jar into $JBOSS/common/lib.

               

              I don't know whether this was the correct thing to do(?) but if it was, it's given meanother error:

               

              12:31:05,683 ERROR[MbeansDescriptorsDOMSource] Error reading descriptors :java.lang.ClassCastException:org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast tojavax.xml.parsers.DocumentBuilderFactory
              .
              .
              .
              12:31:07,705 ERROR[Reflections] could not create Vfs.Dir from url. ignoring theexception and continuing: org.reflections.ReflectionsException: couldnot create Dir using org.reflections.vfs.Vfs$DefaultUrlTypes$2 fromurlvfs:/java/apps/jboss/jboss-6.0.0.Final/server/default/deploy/xnio-provider.jar!/xnio-nio.jar/META-INF/maven/
              .
              .
              .
              12:31:08,753 INFO [Reflections] Reflections took 1344 ms to scan 355 urls, producing 3keys and 1168 values 
              12:31:11,739 ERROR[[/xwiki]] Exception starting filter Resteasy:java.lang.RuntimeException: java.lang.RuntimeException: Unable toinstantiate MessageBodyReader
              .
              .
              .
              

               

               

              Any help greatly appreciated.

               

              Cheers,

              Andy

              • 4. Re: JBoss hangs after deployment of XWiki.war
                5pike Newbie

                FYI, forcing JBoss to use the newer SLF4J jars that ship with XWiki breaks the web interface for the administration console.

                 

                Would doing class loader isolation help here?  How do I do it in JBoss 6.0.0?  All my attempts so far have been unsuccessful.

                 

                Cheers,

                Andy

                • 5. Re: JBoss hangs after deployment of XWiki.war
                  jaikiran pai Master

                  It's the same as explained here http://community.jboss.org/wiki/ClassLoadingConfiguration. I haven't looked at the details of your application yet, so not sure if that might help, but give it a try.

                  • 6. Re: JBoss hangs after deployment of XWiki.war
                    5pike Newbie

                    Hi Jaikiran,

                     

                    Thanks - I've seen that documentation but changing $JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/jboss-web.xml to the below made no difference:

                     

                    <?xml version="1.0" encoding="UTF-8"?>
                    <jboss-web>
                        <class-loading java2ClassLoadingCompliance="false">
                        <loader-repository>
                            org.xwiki:archive=xwiki.war
                            <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
                        </loader-repository>
                        </class-loading>
                        <resource-ref>
                            <res-ref-name>jdbc/XWikiDS</res-ref-name>
                            <res-type>javax.sql.DataSource</res-type>
                            <jndi-name>java:/XWikiDS</jndi-name>
                        </resource-ref>
                    </jboss-web>
                    

                     

                    Any ideas?

                     

                    Cheers,

                    Andy