Bug 777746 (SOA-261) - standalone ESB server - cannot start on Windows with run.bat
Summary: standalone ESB server - cannot start on Windows with run.bat
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-261
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.2 Beta 1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.2 Beta 2
Assignee: trev
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-02 20:42 UTC by Len DiMaggio
Modified: 2008-01-21 16:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
standalone-soa-4.2.0.beta1.zip Win2003
Last Closed: 2008-01-21 16:10:03 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-261 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.