4 Replies Latest reply on Jan 11, 2012 2:32 AM by avchennai

    Server is not starting

    avchennai

      Trying to start the application server 7.0.2. But it is not starting while execute standalone.bat/ domain.bat.

       

      Error Trace:

       

      Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider

      com.ctc.wstx.stax.WstxInputFactory not found

              at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)

              at __redirected.__XMLInputFactory.<clinit>(__XMLInputFactory.java:67)

              at __redirected.__JAXPRedirected.initAll(__JAXPRedirected.java:85)

              at org.jboss.modules.Module$1.run(Module.java:88)

              at org.jboss.modules.Module$1.run(Module.java:75)

              at java.security.AccessController.doPrivileged(Native Method)

              at org.jboss.modules.Module.<clinit>(Module.java:75)

              at org.jboss.modules.Main.main(Main.java:257)

       

      Any one ....help on this?

       

      Regards,

      Ashok

        • 1. Re: Server is not starting
          sar.the.psyco

          I am also getting the same error on running the standalone.bat or domain.bat from command prompt.

           

          I downloaded all the 3 versions of  AS 7 i.e. 7.0.0, 7.0.1, 7.0.2 and faced the same issue with all 3.

           

          To me it seems to be some configuration related issue but i m unable to figure out the issue. According to the documentation provided here

           

           

          https://docs.jboss.org/author/display/AS7/Documentation;jsessionid=E2658FE0C0BFA3C8C27BA4E0B099B05C.conf01

           

          I need to run the standalone.bat to get the server started and nothing else. But it does not start, is there anything that i might be missing?

           

          It does seem to locate java_home and jboss_home properly

           

          JBOSS_HOME: C:\XYZ\Softwares\jboss-as-7.0.2.Final

           

          JAVA: C:\Program Files\Java\jre6\bin\java

           

          Also, I have made sure that there is no space in the jboss home path.

          • 2. Re: Server is not starting
            sfcoy

            I believe that you should be using a Java 6 JDK, not just the JRE.

            • 3. Re: Server is not starting
              jaikiran

              Stephen Coy wrote:

               

              I believe that you should be using a Java 6 JDK, not just the JRE.

              The JRE should be fine.

               

              Which vendor of Java are you using and which exact version of Java 6? What does

               

              java -version

               

              output? By the way, do not set the JBOSS_HOME environment variable. The startup scripts will set them correctly for you.

              • 4. Re: Server is not starting
                avchennai

                Thanks for your responses. The issue with Jdk. I have replaced JDK and the issue fixed.

                 

                -Ashok