1 Reply Latest reply on Jul 30, 2012 4:43 PM by Tom Cunningham

    Enabling xslt2.0 processor in jboss esb environment

    mani v Newbie

      Hi,

       

      The case follows:-

             To enable xslt2.0 processor in jboss esb environment. xmlparserv2.jar included in jboss esb project(<project_name>.esb) lib directory. And when i try to deploy esb project into jboss  

      Release ID: JBoss [SOA] 5.2.0.GA_SOA  server i am getting  below stack trace..

       

      ------------------

      DEPLOYMENTS IN ERROR:
        Deployment "jboss.esb.vfsfile:/apps/jboss/jboss-soa-p-5/jboss-as/server/default/deploy/<project_name>.esb/" is in error due to the following reason(s): java.lang.ClassCastException: oracle.xml.jaxp.JXDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1008)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:954)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:870)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:416)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
              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:180)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
              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:662)

      ----------------------

       

      If anyone face the same issue and resolved. Please lemme know as soon as possible.