URISyntaxException: Illegal character in opaque part at index 2:
----------------------------------------------------------------

                 Key: OPENEJB-1411
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1411
             Project: OpenEJB
          Issue Type: Bug
          Components: container system
    Affects Versions: 3.2
         Environment: Windows 7 + Geronimo 3.0-SNAPSHOT + SUN jdk 1.6
            Reporter: Shawn Jiang


When deploying a WAR that contains EJB on Windows.  I got exception 
URISyntaxException: Illegal character in opaque part at index 2: "F:/xxxxxx"   
within method [1].  The caller of this method is like this:

            JndiEncBuilder encBuilder = new JndiEncBuilder(jndiEnc, injections, 
appModule.path, classLoader);

appModule.path which contains ":" got passed as String moduleId.  When the 
method[1] use this moduleId to construct moduleURI,  the exception was thrown 
out.

[1]org.apache.openejb.config.JndiEncInfoBuilder.build(JndiConsumer, String, 
String, JndiEncInfo, JndiEncInfo)



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to