Bug 777746 (SOA-261)

Summary: standalone ESB server - cannot start on Windows with run.bat
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBossESBAssignee: trev <tkirby>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.2 Beta 1   
Target Milestone: ---   
Target Release: 4.2 Beta 2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-261
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
standalone-soa-4.2.0.beta1.zip Win2003
Last Closed: 2008-01-21 16:10:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Len DiMaggio 2008-01-02 20:42:45 UTC
Date of First Response: 2008-01-07 08:26:07
project_key: SOA

run.bat fails with this error:

Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url file:/C:/demo/jboss-soa-p-standalo
ne.4.2.0/server/production/conf/jboss-service.xml could not be opened, does it e
xist?
       at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
       at org.jboss.Main.boot(Main.java:200)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
19:23:27,039 INFO  [Server] Runtime shutdown hook called, forceHalt: true
19:23:27,040 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages

Comment 2 Kevin Conner 2008-01-07 13:26:07 UTC
The simplest fix is to add the following into the run.bat file

rem Specify default server profile

set JAVA_OPTS=%JAVA_OPTS% -Djboss.server.name=default



Comment 3 trev 2008-01-08 13:51:07 UTC
tested OK on XP

Comment 4 Len DiMaggio 2008-01-21 16:10:03 UTC
Verified fixed in beta2 build.