Details
-
Bug
-
Resolution: Done
-
Blocker
-
3.3.0.Beta3
-
None
Description
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