[
https://issues.jboss.org/browse/JBAS-9177?page=com.atlassian.jira.plugin....
]
Max Rydahl Andersen resolved JBAS-9177.
---------------------------------------
Fix Version/s: 7.0.0.Beta2
Resolution: Done
It's fixed for all the cases I could find - AS 7 starts up for me on both space and
non-spaced paths for me on my windows 7 image now.
Thus resolving until proven otherwise.
Launch script does not work on Windows
---------------------------------------
Key: JBAS-9177
URL:
https://issues.jboss.org/browse/JBAS-9177
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Max Rydahl Andersen
Assignee: Max Rydahl Andersen
Priority: Critical
Fix For: 7.0.0.Beta2
Launching AS 7 does not work on windows.
Several issues:
Quoting java_home causes error:
set JAVA_HOME="C:\Program Files\Java\jdk1.6.0_24"
Y:\products\jboss 7.0.0.Beta1\bin>standalone.bat
Config file not found Y:\products\jboss 7.0.0.Beta1\bin\standalone.conf.bat
Files\Java\jdk1.6.0_24"" was unexpected at this time.
Non quoting and you get this:
Y:\products\jboss 7.0.0.Beta1\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_2
4
Y:\products\jboss 7.0.0.Beta1\bin>standalone.bat
Config file not found Y:\products\jboss 7.0.0.Beta1\bin\standalone.conf.bat
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: Y:\products\jboss 7.0.0.Beta1
JAVA: C:\Program Files\Java\jdk1.6.0_24\bin\java
JAVA_OPTS: -Dprogram.name=standalone.bat -server
===============================================================================
Exception in thread "main" java.lang.NoClassDefFoundError:
7/0/0/Beta1\standalon
e\log\boot/log
Caused by: java.lang.ClassNotFoundException: 7.0.0.Beta1\standalone\log\boot.log
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: 7.0.0.Beta1\standalone\log\boot.log. Program wil
l exit.
Press any key to continue . . .
And it seem to be looking for standalone.conf.bat which does not exist.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira