[
https://issues.jboss.org/browse/JBIDE-12001?page=com.atlassian.jira.plugi...
]
Rob Stryker updated JBIDE-12001:
--------------------------------
Attachment: JBIDE-12001c.patch
patch with better tests... 2 tests confirmed to fail without the fix, both fixed by patch
Cannot Start AS7.1.1 server with a space in path using JBoss Tools
------------------------------------------------------------------
Key: JBIDE-12001
URL:
https://issues.jboss.org/browse/JBIDE-12001
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.Beta3
Environment: Windows 7 64-bit; Java 1.6.0u23; Eclipse 3.7.2 EE edition with JBoss
Tools; - also fails on OSX and Linux
Reporter: Darren Jones
Assignee: Rob Stryker
Priority: Blocker
Fix For: 3.3.0.CR1
Attachments: JBIDE-12001, JBIDE-12001a, JBIDE-12001c.patch
I have a 7.1.1 server installed in "F:\My Servers\jboss-as-7.1.1.Final" (note
the space in the path).
It starts just fine using the standalone.bat file within that folder. But if I try to
start the server from within Eclipse using JBoss Tools (3.3.0 Beta 3), I get this error in
the console:
java.lang.NoClassDefFoundError: F:/My
Caused by: java.lang.ClassNotFoundException: F:.My
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)
Exception in thread "main"
I've captured the command line used when I right-click on the server in Eclipse and
Debug. Here it is (copied from Process Monitor's Process Tree):
"C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe"
-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:63144 -server -Xms64m
-Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
-Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman
-Djava.awt.headless=true -Dorg.jboss.boot.log.file= F:/My
Servers/jboss-as-7.1.1.Final/standalone/log/boot.log
Servers/jboss-as-7.1.1.Final/standalone/log/boot.log
-Dlogging.configuration=file:/F:/My%20Servers/jboss-as-7.1.1.Final/standalone/configuration/logging.properties
-Djboss.home.dir= F:/My Servers/jboss-as-7.1.1.Final Servers/jboss-as-7.1.1.Final
-Dfile.encoding=Cp1252 -classpath "F:\My
Servers\jboss-as-7.1.1.Final\jboss-modules.jar" org.jboss.modules.Main -mp
"" F:/My Servers/jboss-as-7.1.1.Final/modules
Servers/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.jaxp-provider
org.jboss.as.standalone -b localhost --server-config=standalone.xml
--
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