4 Replies Latest reply on Feb 20, 2003 3:10 PM by Arkadiy Reznik

    JBoss fails to start with spaces in path name.

    Arkadiy Reznik Newbie

      I've run into a problem with JBoss 3.0.2 where it won't start if the JBOSS_HOME path has spaces in it. While JBoss 3.0.4 doesn't have this problem, I don't have the time to switch right now (it'd take up too much QA time).

      The problem is that a home dir 'C:\Program Files\jboss' is resolved as 'C:\Program%20\jboss', and this eventually results in a DeploymentException (url file:/C:/Program%20Files/jboss/server/default/conf/jboss-service.xml could not be opened, does it exist?)

      I tried changing the path reference from Program Files to PROGRA~1, but in this case, even though JBOSS_HOME is using PROGRA~1, I can see in the console that Home Dir is still set to 'C:\Program%20Files\jboss'

      Are there any workarounds for this problem that would allow me to use the full pathname with spaces and still use JBoss 3.0.2?