Hello, these days I kept trying to find ways to solve the "spaces" problem, Now I find the solution.
In %Jboss_home%/server/default/deploy/jbossweb.sar/jboss-web-service.jar, I find the class:
Line 222-223 was used to be:
if (docBase == null) docBase = VFS.getChild(warUrl).getPhysicalFile().getAbsolutePath();
Now I changed them to :
if (docBase == null) docBase = warUrl.getFile();
And then the jboss 6 can work in a path with spaces now.
But I am not sure if what I did will cause other problems. Can I change the jar file to solve the problem like this?
anyone can help？Thank you!
Yes, please change it.
It is now in JBoss 22.214.171.124 also...