1 Reply Latest reply: Jul 10, 2008 7:31 PM by 3004 RSS

    Problem in running weblogic.DDConverter

    666705
      I am getting the following error when trying to run weblogic.DDConverter

      [DDConverter] START Converting WAR tc.war
      Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider
      javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.Instantiat
      ionException
      at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
      at weblogic.application.descriptor.BasicMunger2.<clinit>(BasicMunger2.ja
      va:74)
      at weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createX
      MLStreamReader(WebAppDescriptor.java:220)
      at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescr
      iptorBean(AbstractDescriptorLoader2.java:372)
      at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescrip
      torBean(AbstractDescriptorLoader2.java:659)
      at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescri
      ptor.java:134)
      at weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.j
      ava:60)
      at weblogic.application.ddconvert.DDConverter.runBody(DDConverter.java:1
      57)
      at weblogic.utils.compiler.Tool.run(Tool.java:158)
      at weblogic.utils.compiler.Tool.run(Tool.java:115)
      at weblogic.application.ddconvert.DDConverter.main(DDConverter.java:177)

      at weblogic.DDConverter.main(DDConverter.java:10)

      My classpath is as follows:

      CLASSPATH=D:\AppServers\bea91\webl
      ogic91\server\lib\weblogic.jar;D:\AppServers\bea91\weblogic91\server\lib\api.jar
      ;D:\AppServers\bea91\weblogic91\server\lib\stax-1.1.1-dev.jar
        • 1. Re: Problem in running weblogic.DDConverter
          3004
          What happens if you use the classpath from

          d:\AppServers\bea91\weblogic91\server\bin\setWLSEnv.cmd



          Puneet Agarwal wrote:
          I am getting the following error when trying to run weblogic.DDConverter

          [DDConverter] START Converting WAR tc.war
          Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider
          javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.Instantiat
          ionException
          at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
          at weblogic.application.descriptor.BasicMunger2.<clinit>(BasicMunger2.ja
          va:74)
          at weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createX
          MLStreamReader(WebAppDescriptor.java:220)
          at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescr
          iptorBean(AbstractDescriptorLoader2.java:372)
          at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescrip
          torBean(AbstractDescriptorLoader2.java:659)
          at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescri
          ptor.java:134)
          at weblogic.application.ddconvert.WarConverter.convertDDs(WarConverter.j
          ava:60)
          at weblogic.application.ddconvert.DDConverter.runBody(DDConverter.java:1
          57)
          at weblogic.utils.compiler.Tool.run(Tool.java:158)
          at weblogic.utils.compiler.Tool.run(Tool.java:115)
          at weblogic.application.ddconvert.DDConverter.main(DDConverter.java:177)

          at weblogic.DDConverter.main(DDConverter.java:10)

          My classpath is as follows:

          CLASSPATH=D:\AppServers\bea91\webl
          ogic91\server\lib\weblogic.jar;D:\AppServers\bea91\weblogic91\server\lib\api.jar
          ;D:\AppServers\bea91\weblogic91\server\lib\stax-1.1.1-dev.jar