This content has been marked as final.
Show 4 replies
-
1. Re: JBoss6: spaces in path
wolfgangknauf Aug 4, 2011 11:18 AM (in response to chengwen)Original post with more details (error message and first analysis) can be found here: http://community.jboss.org/thread/170483
Best regards
Wolfgang
-
2. Re: JBoss6: spaces in path
chengwen Aug 6, 2011 5:55 AM (in response to wolfgangknauf)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:
org.jboss.web.tomcat.service.deployers.TomcatDeployment.java
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!
-
3. Re: JBoss6: spaces in path
polarke Oct 25, 2011 12:44 PM (in response to chengwen)Yes, please change it.
It is now in JBoss 6.1.0.0 also...
-