3 Replies Latest reply on Dec 28, 2010 7:20 AM by salilkhanna

    Unable to deploy in Jboss5

    salilkhanna

      Hi ,i have project based on IBM filenet n Struts2 which is working fine on tomcat but when i try to deploy the same on jboss i get the following errors.Please help me out.thanks in advance.

       

       

       

      error.jpg

        • 1. Re: Unable to deploy in Jboss5
          alesj

          Search for 'Log4j usage in JBoss", since we handle this a bit differently than Tomcat.

          Or use the latest AS6 version, which fixes some of these issues: JBoss logger instance vs. user custom instance.

          (btw: AS6.0.0.GA is just about to be released ;-)

          1 of 1 people found this helpful
          • 2. Re: Unable to deploy in Jboss5
            ebross

            Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory


            I think you have two or more copies of the same class (or jar). I have lost a goldmine of my JBoss error/solution log to a crash so I think! check that you are not including xercesImpl.jar (and maybe xalan.jar) in your deployment file. They are already in JBoss. The presence of duplicate xercesImpl.jar can cause one a terrible headache!

            • 3. Re: Unable to deploy in Jboss5
              salilkhanna

              So true .i have already been through that.

               

              thnks for the help.