[jboss-jira] [JBoss JIRA] Created: (JBAS-9177) Launch script does not work on Windows

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Mar 29 07:43:37 EDT 2011


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
            Priority: Critical


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


More information about the jboss-jira mailing list