0 Replies Latest reply on Aug 27, 2010 10:09 AM by Alexander Skwar

    Can't deploy web app in JBoss AS; working in Tomcat

    Alexander Skwar Newbie

      Hello.

       

      I'm trying to deploy a WAR file which we're currently using on Tomcat 6.0.20 in JBoss 6.0.0 M4 on a Sparc Solaris 10 system.

       

      Before we get into details - should this work? I copied the WAR file to /opt/jboss6/server/default/deploy and JBoss found it there (JBOSS_HOME=/opt/tomcat6).

       

      Well - I find, that it doesn't work... I pasted the error messages at http://pastebin.com/5rgj8nuP (it's also attached here); basically, it's:

       

      [...]
      
      Caused by: java.lang.VerifyError: (class: org/apache/xerces/impl/xs/XSAnnotationImpl, method: writeToDOM signature: (Lorg/w3c/dom/Node;S)V) Incompatible object argument for function call
      
      [...]
      

       

      I'm using the exact same WAR file with Tomcat 6 on the exact same machine. JAVA_HOME is also identical.

       

      What's going on there?

       

      Thanks a lot,

      Alexander