-
Bug
-
Resolution: Done
-
Major
-
4.0.0.CR1
While verifying JBIDE-11681 I also tried to set up a remote EAP 5.1 from Windows to Linux. Server start fails.
The problem is that '\' is used in many places of the start command.
This is what ps displays:
16628 pts/1 Sl 0:00 \_ java -Dprogram.name=JBossTools: jboss-eap-5.1.1 Runtime -server -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=\home\rasp\jbossqa\runtimes\jboss-eap-5.1.1\jboss-as\lib\endorsed -Djava.library.path=\home\rasp\jbossqa\runtimes\jboss-eap-5.1.1\jboss-as\bin\native -classpath /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/bin/run.jar org.jboss.Main --configuration=default -b MARVIN.BRQ.REDHAT.COM -Djboss.server.base.url=file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver
When I tried to run this command manually, this is what I got:
15:22:05,089 INFO [ServerImpl] Starting JBoss (Microcontainer)... 15:22:05,090 INFO [ServerImpl] Release ID: JBoss [EAP] 5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607) 15:22:05,091 INFO [ServerImpl] Bootstrap URL: null 15:22:05,091 INFO [ServerImpl] Home Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as 15:22:05,091 INFO [ServerImpl] Home URL: file:/home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/ 15:22:05,091 INFO [ServerImpl] Library URL: file:/home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/lib/ 15:22:05,092 INFO [ServerImpl] Patch URL: null 15:22:05,092 INFO [ServerImpl] Common Base URL: file:/home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/common/ 15:22:05,102 INFO [ServerImpl] Common Library URL: file:/home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/common/lib/ 15:22:05,102 INFO [ServerImpl] Server Name: default 15:22:05,102 INFO [ServerImpl] Server Base Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server 15:22:05,103 INFO [ServerImpl] Server Base URL: file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/ 15:22:05,103 INFO [ServerImpl] Server Config URL: file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/default/conf/ 15:22:05,103 INFO [ServerImpl] Server Home Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server/default 15:22:05,103 INFO [ServerImpl] Server Home URL: file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/default/ 15:22:05,103 INFO [ServerImpl] Server Data Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server/default/data 15:22:05,103 INFO [ServerImpl] Server Library URL: file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/default/lib/ 15:22:05,103 INFO [ServerImpl] Server Log Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server/default/log 15:22:05,104 INFO [ServerImpl] Server Native Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server/default/tmp/native 15:22:05,104 INFO [ServerImpl] Server Temp Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server/default/tmp 15:22:05,104 INFO [ServerImpl] Server Temp Deploy Dir: /home/rasp/jbossqa/runtimes/jboss-eap-5.1.1/jboss-as/server/default/tmp/deploy 15:22:08,410 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/default/conf/bootstrap.xml Failed to boot JBoss: java.lang.RuntimeException: Error unmarshalling file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/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:679) Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/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: homeraspjbossqaruntimesjboss-eap-5.1.1jboss-asserver/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 15:22:09,540 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true 15:22:09,619 INFO [ServerImpl] Shutdown complete Shutdown complete Halting VM
As you can see the backslashes get removed and so the paths are wrong.
- is related to
-
JBIDE-11681 Remote System Deployment doesn't work for AS 7.1 from Windows to Linux
- Closed