1 Reply Latest reply: Apr 30, 2012 2:04 AM by jaikiran pai RSS

    Can't start JBOSS 5.1. How do you change the server name?

    chully park Newbie

      Im trying to install Adobe LiveCycle ES3 which comes with JAS 5.1.0. 

       

      Based on the adobe manuals, I do the following...

      1.  Unzip the jboss.zip into my target directory.  When i do this and look under the jboss\server folder, adobe has prebuilt various apps based on the database.

      2.  Download the jboss-native-2.0.8-windows-x64-ssl.zip file and unzip to my target directory\bin folder.

      3.  Modify the service.bat files and create the windows service.

      If you look at the properties of the service it executable path is:

       

      "c:\jboss-5.1_mssql2008r2cl\bin\jbosssvc.exe" -r Lc_sqlserver_cl


      When i try and start the service i get the following error.

       

      20:49:37,878 INFO  [ServerImpl] Starting JBoss (Microcontainer)...

      20:49:37,894 INFO  [ServerImpl] Release ID: JBoss [EAP] 5.1.0 (build: SVNTag=JBPAPP_5_1_0 date=201009150028)

      20:49:37,894 DEBUG [ServerImpl] Using config: org.jboss.bootstrap.BaseServerConfig@2ca6d51e

      20:49:37,894 DEBUG [ServerImpl] Server type: class org.jboss.bootstrap.microcontainer.ServerImpl

      20:49:37,894 DEBUG [ServerImpl] Server loaded through: org.jboss.bootstrap.NoAnnotationURLClassLoader

      20:49:37,894 INFO  [ServerImpl] Bootstrap URL: null

      20:49:37,894 INFO  [ServerImpl] Home Dir: C:\jboss-5.1_mssql2008r2cl

      20:49:37,894 INFO  [ServerImpl] Home URL: file:/C:/jboss-5.1_mssql2008r2cl/

      20:49:37,894 INFO  [ServerImpl] Library URL: file:/C:/jboss-5.1_mssql2008r2cl/lib/

      20:49:37,894 INFO  [ServerImpl] Patch URL: null

      20:49:37,894 INFO  [ServerImpl] Common Base URL: file:/C:/jboss-5.1_mssql2008r2cl/common/

      20:49:37,894 INFO  [ServerImpl] Common Library URL: file:/C:/jboss-5.1_mssql2008r2cl/common/lib/

      20:49:37,894 INFO  [ServerImpl] Server Name: default

      20:49:37,894 INFO  [ServerImpl] Server Base Dir: C:\jboss-5.1_mssql2008r2cl\server

      20:49:37,894 INFO  [ServerImpl] Server Base URL: file:/C:/jboss-5.1_mssql2008r2cl/server/

      20:49:37,894 INFO  [ServerImpl] Server Config URL: file:/C:/jboss-5.1_mssql2008r2cl/server/default/conf/

      20:49:37,894 INFO  [ServerImpl] Server Home Dir: C:\jboss-5.1_mssql2008r2cl\server\default

      20:49:37,894 INFO  [ServerImpl] Server Home URL: file:/C:/jboss-5.1_mssql2008r2cl/server/default/

      20:49:37,894 INFO  [ServerImpl] Server Data Dir: C:\jboss-5.1_mssql2008r2cl\server\default\data

      20:49:37,894 INFO  [ServerImpl] Server Library URL: file:/C:/jboss-5.1_mssql2008r2cl/server/default/lib/

      20:49:37,894 INFO  [ServerImpl] Server Log Dir: C:\jboss-5.1_mssql2008r2cl\server\default\log

      20:49:37,894 INFO  [ServerImpl] Server Native Dir: C:\jboss-5.1_mssql2008r2cl\server\default\tmp\native

      20:49:37,894 INFO  [ServerImpl] Server Temp Dir: C:\jboss-5.1_mssql2008r2cl\server\default\tmp

      20:49:37,894 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.1_mssql2008r2cl\server\default\tmp\deploy

      20:49:37,925 DEBUG [ServerImpl] Shutdown hook added Thread[JBoss Shutdown Hook,5,jboss]

      20:49:38,034 DEBUG [KernelFactory] Starting JBoss Kernel construction...

      20:49:38,659 DEBUG [KernelFactory] Completed JBoss Kernel construction.  Duration: 625 milliseconds

      20:49:40,003 DEBUG [ServerImpl] Already in start, ignoring duplicate start

      20:49:40,003 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.1_mssql2008r2cl/server/default/conf/bootstrap.xml

      20:49:40,456 DEBUG [SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@3219762f, isNamespaceAware: true, isValidating: true, isXIncludeAware: true

      20:49:40,503 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/validation set to: true

      20:49:40,503 DEBUG [SaxJBossXBParser] http://xml.org/sax/features/namespaces set to: true

      20:49:40,503 DEBUG [SaxJBossXBParser] http://apache.org/xml/features/validation/dynamic set to: true

      20:49:40,628 DEBUG [SaxJBossXBParser] Created parser: org.apache.xerces.jaxp.SAXParserImpl@3219762f, isNamespaceAware: true, isValidating: true, isXIncludeAware: true

      20:49:40,644 DEBUG [ServerImpl] Failed to start

      java.lang.RuntimeException: Error unmarshalling file:/C:/jboss-5.1_mssql2008r2cl/server/default/conf/bootstrap.xml

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

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

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

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

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

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

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/jboss-5.1_mssql2008r2cl/server/default/conf/bootstrap.xml

      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:177)

      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:119)

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

      ... 5 more

      Caused by: java.io.FileNotFoundException: C:\jboss-5.1_mssql2008r2cl\server\default\conf\bootstrap.xml

      at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:105)

      at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:112)

      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

      20:49:40,660 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true

      20:49:40,738 INFO  [ServerImpl] Shutdown complete

       

      The problem is that there is no default folder under the server folder.  Only lc_sqlserver_cl, lc_oracle, lc_mysql, etc..

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/C:/jboss-5.1_mssql2008r2cl/server/default/conf/bootstrap.xml

       

      Where I need it to look is C:/jboss-5.1_mssql2008r2cl/server/lc_sqlserver_cl/conf/bootstrap.xml folder.

      how do i get it to look for the lc_sqlserver_cl folder instead of the default folder.

       

      ie.  How do i change this from the log?

      20:49:37,894 INFO  [ServerImpl] Server Name: default