3 Replies Latest reply on Feb 4, 2014 6:58 AM by Hushen Savani

    JBoss 5.0.1.GA "run.bat" error !!!

    Suddhasatwa Bhaumik Newbie

      Hello,

       

      I have downloaded and unpacked JBoss 5.0.1.GA on Windows 7. When I run the "run.bat" program from BIN folder, I am getting the below issue:

       

      C:\jboss\bin>run

      ===============================================================================

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: C:\jboss

       

       

        JAVA: C:\Program Files\Java\jdk1.6.0_45\bin\java

       

       

        JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

       

       

        CLASSPATH: C:\jboss\bin\run.jar

       

       

      ===============================================================================

       

       

      15:44:24,446 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

      15:44:24,447 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)

      15:44:24,448 INFO  [ServerImpl] Bootstrap URL: null

      15:44:24,450 INFO  [ServerImpl] Home Dir: C:\jboss

      15:44:24,451 INFO  [ServerImpl] Home URL: file:/C:/jboss/

      15:44:24,452 INFO  [ServerImpl] Library URL: file:/C:/jboss/lib/

      15:44:24,454 INFO  [ServerImpl] Patch URL: null

      15:44:24,455 INFO  [ServerImpl] Common Base URL: file:/C:/jboss/common/

      15:44:24,457 INFO  [ServerImpl] Common Library URL: file:/C:/jboss/common/lib/

      15:44:24,458 INFO  [ServerImpl] Server Name: default

      15:44:24,459 INFO  [ServerImpl] Server Base Dir: C:\jboss\server

      15:44:24,460 INFO  [ServerImpl] Server Base URL: file:/C:/jboss/server/

      15:44:24,462 INFO  [ServerImpl] Server Config URL: file:/C:/jboss/server/default/conf/

      15:44:24,463 INFO  [ServerImpl] Server Home Dir: C:\jboss\server\default

      15:44:24,465 INFO  [ServerImpl] Server Home URL: file:/C:/jboss/server/default/

      15:44:24,467 INFO  [ServerImpl] Server Data Dir: C:\jboss\server\default\data

      15:44:24,468 INFO  [ServerImpl] Server Library URL: file:/C:/jboss/server/default/lib/

      15:44:24,469 INFO  [ServerImpl] Server Log Dir: C:\jboss\server\default\log

      15:44:24,471 INFO  [ServerImpl] Server Native Dir: C:\jboss\server\default\tmp\native

      15:44:24,472 INFO  [ServerImpl] Server Temp Dir: C:\jboss\server\default\tmp

      15:44:24,473 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss\server\default\tmp\deploy

      15:44:25,714 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/server/default/conf/bootstrap.xml

      Exception in thread "main" java.lang.NoSuchMethodError: javax.xml.parsers.SAXParser.isXIncludeAware()Z

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.logParserInfo(SaxJBossXBParser.java:235)

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:93)

              at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

              at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

              at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:50)

              at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:129)

              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)

              at org.jboss.Main.boot(Main.java:209)

              at org.jboss.Main$1.run(Main.java:547)

              at java.lang.Thread.run(Thread.java:662)

      15:44:25,882 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true

      15:44:25,907 INFO  [ServerImpl] Shutdown complete

      Shutdown complete

      Halting VM

      Press any key to continue . . .

      C:\jboss\bin>

       

      Kindly advice what is the issue as above.

       

      Thanks,

      Suddhasatwa.

        • 1. Re: JBoss 5.0.1.GA "run.bat" error !!!
          Wolf-Dieter Fink Master

          Could you avoid the path with blank "Program Files", that might be an issue

          • 2. Re: JBoss 5.0.1.GA "run.bat" error !!!
            Suddhasatwa Bhaumik Newbie

            Hi

             

            Thanks for your suggestion but it did not work. I created a new Java Home, as you can see below in the logs, but I face the same error again:

             

            C:\jboss\bin>set JAVA_HOME=C:\jdk1.6.0_45

             

             

            C:\jboss\bin>run

            ===============================================================================

             

             

              JBoss Bootstrap Environment

             

             

              JBOSS_HOME: C:\jboss

             

             

              JAVA: C:\jdk1.6.0_45\bin\java

             

             

              JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

             

             

              CLASSPATH: C:\jboss\bin\run.jar

             

             

            ===============================================================================

             

             

            20:56:11,246 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

            20:56:11,246 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)

            20:56:11,247 INFO  [ServerImpl] Bootstrap URL: null

            20:56:11,247 INFO  [ServerImpl] Home Dir: C:\jboss

            20:56:11,247 INFO  [ServerImpl] Home URL: file:/C:/jboss/

            20:56:11,248 INFO  [ServerImpl] Library URL: file:/C:/jboss/lib/

            20:56:11,248 INFO  [ServerImpl] Patch URL: null

            20:56:11,249 INFO  [ServerImpl] Common Base URL: file:/C:/jboss/common/

            20:56:11,249 INFO  [ServerImpl] Common Library URL: file:/C:/jboss/common/lib/

            20:56:11,249 INFO  [ServerImpl] Server Name: default

            20:56:11,249 INFO  [ServerImpl] Server Base Dir: C:\jboss\server

            20:56:11,250 INFO  [ServerImpl] Server Base URL: file:/C:/jboss/server/

            20:56:11,250 INFO  [ServerImpl] Server Config URL: file:/C:/jboss/server/default/conf/

            20:56:11,250 INFO  [ServerImpl] Server Home Dir: C:\jboss\server\default

            20:56:11,251 INFO  [ServerImpl] Server Home URL: file:/C:/jboss/server/default/

            20:56:11,251 INFO  [ServerImpl] Server Data Dir: C:\jboss\server\default\data

            20:56:11,251 INFO  [ServerImpl] Server Library URL: file:/C:/jboss/server/default/lib/

            20:56:11,252 INFO  [ServerImpl] Server Log Dir: C:\jboss\server\default\log

            20:56:11,254 INFO  [ServerImpl] Server Native Dir: C:\jboss\server\default\tmp\native

            20:56:11,255 INFO  [ServerImpl] Server Temp Dir: C:\jboss\server\default\tmp

            20:56:11,255 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss\server\default\tmp\deploy

            20:56:11,641 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/server/default/conf/bootstrap.xml

            Exception in thread "main" java.lang.NoSuchMethodError: javax.xml.parsers.SAXParser.isXIncludeAware()Z

                    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.logParserInfo(SaxJBossXBParser.java:235)

                    at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:93)

                    at org.jboss.xb.binding.UnmarshallerImpl.<init>(UnmarshallerImpl.java:56)

                    at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)

                    at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:50)

                    at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:129)

                    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)

                    at org.jboss.Main.boot(Main.java:209)

                    at org.jboss.Main$1.run(Main.java:547)

                    at java.lang.Thread.run(Thread.java:662)

            20:56:11,670 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true

            20:56:11,687 INFO  [ServerImpl] Shutdown complete

            Shutdown complete

            Halting VM

            Press any key to continue . . .

            C:\jboss\bin>

             

            Please advice.

            Thanks,

            Suddhasatwa

            • 3. Re: JBoss 5.0.1.GA "run.bat" error !!!
              Hushen Savani Novice

              Make sure you have not included any JAR containing class "SAXParser" in you application EAR / WAR or in your profile/lib.