geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajiv M (JIRA)" <>
Subject [jira] Created: (GERONIMO-3108) Deploy fails when a WAR is deployed having a CSS file with special character
Date Fri, 20 Apr 2007 14:45:15 GMT
Deploy fails when a WAR is deployed having a CSS file with special character

                 Key: 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
        at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.installModule(

        at org.apache.geronimo.web.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$459e0cc.invoke(<generated>)

        at net.sf.cglib.reflect.FastMethod.invoke( 
        at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(

        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(

        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(

Caused by: Illegal character in path at index 8: test_ie7[1].css 
        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 ( 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.

View raw message