[
https://issues.jboss.org/browse/AS7-241?page=com.atlassian.jira.plugin.sy...
]
Max Rydahl Andersen commented on AS7-241:
-----------------------------------------
this bug was fixed for 7.0 so opened one for you against 7.1 at AS7-3684
Launch script does not work on Windows
---------------------------------------
Key: AS7-241
URL:
https://issues.jboss.org/browse/AS7-241
Project: Application Server 7
Issue Type: Bug
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira