Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.3.6
-
None
-
None
Description
When trying to deploy tapestry app using tomcat 7 parallel deployment (which demands to name app dir like myapp##version) there is an FileNotFoundException when loading AppModule file. The reason is, that path to app dir gets urlencoded whith those ## looking like %23%23.
In PlasticInternalUtils there is already code dealing with urlencoded spaces
private static InputStream getStreamForPath(....
if (url.getProtocol().equals("file"))
{ String urlPath = url.getPath(); String decoded = urlPath.replaceAll("%20", " "); return new FileInputStream(new File(decoded)); }could it be extended (or better generalised) to handle all urlencoded problems? I think it is really easy to fix and is very annoying not being able to use parallel deployment. I could even provide a patch if you think this issue is worth fixing.
Attachments
Issue Links
- duplicates
-
TAP5-1995 Tapestry5 Application can not be deployed as Tomcat7 HotDeploy Package
- Resolved