3 Replies Latest reply on Apr 1, 2008 4:00 PM by vigneshmpn

    can't start server of Jboss 5.0.0 Beta2

    tingtingbell

      Hi here,
      I had difficulty to start server via MyEclips 5.5.1 GA. The following is the error. And I tried jdk 1.4, jdk 1.5 and jdk 1.6, no any luck.

      Please help.

      13:22:09,653 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Dowload/jboss-5.0.0.Beta2/jboss-5.0.0.Beta2/server/JBoss5/conf/bootstrap-beans.xml
      Failed to boot JBoss:
      java.lang.RuntimeException: Exception during Bootstrap
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:99)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:522)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/Dowload/jboss-5.0.0.Beta2/jboss-5.0.0.Beta2/server/JBoss5/conf/bootstrap-beans.xml
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
      at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:135)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:295)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:222)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
      ... 5 more
      Caused by: java.io.FileNotFoundException: C:\Dowload\jboss-5.0.0.Beta2\jboss-5.0.0.Beta2\server\JBoss5\conf\bootstrap-beans.xml
      at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
      ... 10 more
      13:22:10,059 INFO [ServerImpl] JBoss SHUTDOWN
      13:22:10,059 INFO [ServerImpl] Undeploying all packages
      Shutting down Microcontainer
      13:22:10,074 INFO [ServerImpl] Shutdown complete
      Shutdown complete
      Halting VM

        • 1. Re: can't start server of Jboss 5.0.0 Beta2
          jaikiran

           

          Caused by: java.io.FileNotFoundException:
          C:\Dowload\jboss-5.0.0.Beta2\jboss-5.0.0.Beta2\server\JBoss5\conf\bootstrap-beans.xml


          Is that file present on your system? Also, can you post the earlier part of the server log when the server is starting up? We would mainly be interested in seeing, which jdk version its picking up. If you find it difficult figuring out which portion of the log to post, just post the entire contents here. But make sure that you use the 'Code' available above while posting so that the contents are wrapped neatly in a code block. That makes it easier to read.





          • 2. Re: can't start server of Jboss 5.0.0 Beta2
            tingtingbell

            Hi Expert,

            Thank you for the quick response!

            I changed the server name from Jboss5 to "default" and that resolved the missing file issue. And now everything looks fine:
            the last output in the console is:
            14:29:17,338 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200704060017)] Started in 1m:33s:548ms

            Thank you so much!

            Tina

            • 3. Re: can't start server of Jboss 5.0.0 Beta2

              Hi

              I am also facing the same problem. I am using eclipse wtp 3.3.2 and jdk 6u5.

              I even tried changing the server name to "default", but it does not work.

              Following is the message I am getting:

              run.bat: unused non-option argument: -
              run.bat: unused non-option argument: type
              run.bat: unused non-option argument: your
              run.bat: unused non-option argument: own
              run.bat: unused non-option argument: here
              13:52:27,212 INFO [ServerImpl] Starting JBoss (Microcontainer)...
              13:52:27,214 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta4 (build: SVNTag=JBoss_5_0_0_Beta4 date=200802091115)
              13:52:27,219 INFO [ServerImpl] Home Dir: C:\Program Files\jboss-5.0.0.Beta4
              13:52:27,219 INFO [ServerImpl] Home URL: file:/C:/Program Files/jboss-5.0.0.Beta4/
              13:52:27,219 INFO [ServerImpl] Library URL: file:/C:/Program Files/jboss-5.0.0.Beta4/lib/
              13:52:27,220 INFO [ServerImpl] Patch URL: null
              13:52:27,220 INFO [ServerImpl] Server Name: default,all,minimal,other
              13:52:27,220 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss-5.0.0.Beta4\server\default,all,minimal,other
              13:52:27,221 INFO [ServerImpl] Server Home URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default,all,minimal,other/
              13:52:27,221 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss-5.0.0.Beta4\server\default,all,minimal,other\data
              13:52:27,221 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss-5.0.0.Beta4\server\default,all,minimal,other\tmp
              13:52:27,222 INFO [ServerImpl] Server Config URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default,all,minimal,other/conf/
              13:52:27,222 INFO [ServerImpl] Server Library URL: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default,all,minimal,other/lib/
              13:52:27,222 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
              13:52:27,442 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Program Files/jboss-5.0.0.Beta4/server/default,all,minimal,other/conf/bootstrap-beans.xml
              Failed to boot JBoss:
              org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/Program Files/jboss-5.0.0.Beta4/server/default,all,minimal,other/conf/bootstrap-beans.xml
               at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)
               at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:139)
               at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:147)
               at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:101)
               at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:398)
               at org.jboss.Main.boot(Main.java:208)
               at org.jboss.Main$1.run(Main.java:534)
               at java.lang.Thread.run(Unknown Source)
              Caused by: java.io.FileNotFoundException: C:\Program Files\jboss-5.0.0.Beta4\server\default,all,minimal,other\conf\bootstrap-beans.xml
               at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
               at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
               at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
               at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
               at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
               at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
               at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
               at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
               at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
               at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
               ... 7 more
              13:52:27,601 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
              13:52:27,605 INFO [ServerImpl] Shutdown complete
              Shutdown complete
              Halting VM
              


              Please help.