This problem also leads to Cargo not being able to read jar files and therefore it fails to start, at least on Mac OSX. What happens for me is:
A directory is created called:
/private/tmp/cargo/conf/webapp/services presarch v1 (note the spaces where I specified slashes)
On startup, I get errors like this:
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'presearchEntityManagerFactory' defined in class path resource [spring/presearch-persistence.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: error trying to scan <jar-file>: file:/private/tmp/cargo/conf/webapps/services%20presearch%20v1/WEB-INF/lib/core-1.0-SNAPSHOT.jar
I tried changing the slashes to hashes, but the same problem happened: the directory under /private/tmp/cargo was created with the hashes, and when an attempt to read data from it was made, the hashes had been converted into a %XX format and the lookup failed.
This problem also leads to Cargo not being able to read jar files and therefore it fails to start, at least on Mac OSX. What happens for me is:
A directory is created called:
/private/tmp/cargo/conf/webapp/services presarch v1 (note the spaces where I specified slashes)
On startup, I get errors like this:
[INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'presearchEntityManagerFactory' defined in class path resource [spring/presearch-persistence.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: error trying to scan <jar-file>: file:/private/tmp/cargo/conf/webapps/services%20presearch%20v1/WEB-INF/lib/core-1.0-SNAPSHOT.jar
I tried changing the slashes to hashes, but the same problem happened: the directory under /private/tmp/cargo was created with the hashes, and when an attempt to read data from it was made, the hashes had been converted into a %XX format and the lookup failed.