You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Jay D. McHugh (JIRA)" <ji...@apache.org> on 2007/04/20 16:56:15 UTC
[jira] Commented: (GERONIMO-3108) Deploy fails when a WAR is
deployed having a CSS file with special character
[ https://issues.apache.org/jira/browse/GERONIMO-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490377 ]
Jay D. McHugh commented on GERONIMO-3108:
-----------------------------------------
Could you attach a test war file?
Also, what version of Java are you using?
> Deploy fails when a WAR is deployed having a CSS file with special character
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-3108
> URL: https://issues.apache.org/jira/browse/GERONIMO-3108
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 1.1.1
> Environment: Windows XP
> Reporter: Rajiv M
> Priority: Minor
>
> A WAR with a CSS file named with special characters fails to deploy with the below errors:
> 15:06:12,580 ERROR [Deployer] Deployment failed: plan=null, module=C:\AGDIR\var\temp\CssTest.war
> org.apache.geronimo.common.DeploymentException: Could not construct URI for location of war entry
> at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.installModule(AbstractWebModuleBuilder.java:253)
> at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$459e0cc.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
> at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
> at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
> ....
> Caused by:
> java.net.URISyntaxException: Illegal character in path at index 8: test_ie7[1].css
> at java.net.URI$Parser.fail(URI.java:2821)
> at java.net.URI$Parser.checkChars(URI.java:2994)
> at java.net.URI$Parser.parseHierarchical(URI.java:3078)
> at java.net.URI$Parser.parse(URI.java:3036)
> at java.net.URI.<init>(URI.java:819)
> at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.installModule
> URI uri = new URI("http://localhost:80/test_ie7[1].css") will cause the exception to be thrown in a simple Java program.
> Sun documentation (http://java.sun.com/j2se/1.5.0/docs/api/java/net/URI.html) however mentions that [ and ] are legal URI characters.
> Why the exception then?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.