When I start my JBoss, I got the boot.log like this:
17:05:51,407 ERROR JBOSS6: Illegal character in path Error installing to Start: name=jboss.web.deployment:war=/invoker state=Create mode=Manual requiredState=Installed: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/TestServer/server/default/deploy/http-invoker.sar/invoker.war/
I noticed that "Illegal character in path at index 16: file:/C:/Program Files/TestServer/server/default/deploy/http-invoker.sar/invoker.war/", there is a space in jboss home.
If I changed the jboss home to a path like "C:/TestServer/", then everything is ok.
So, I think is the "space" in the jboss home that cause the exception.
But my problem is, the jboss project is a software product, we have customers. In the old version, we use Jboss 4.0.4, we install it in "C:/program files/" defaultly, and without exceptions.
If we update the product to jboss 6.0.0. final, we need to consider the old versions which already used by our customers To update those old versions, it is not very easy to change the directory of the product, which means that we have to keep the old "program files" jboss home with the "space".
Any idea to solve the "Illegal character in path" exception except "changing directory" ?