You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2010/11/23 11:03:13 UTC
[jira] Updated: (OPENEJB-1404) Illegal moduleId openejb exception
if URI contains "\"
[ https://issues.apache.org/jira/browse/OPENEJB-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu updated OPENEJB-1404:
------------------------------
Attachment: EJB-1404.patch
Pls review it. thanks.
Related JIRA: https://issues.apache.org/jira/browse/GERONIMO-5670
> Illegal moduleId openejb exception if URI contains "\"
> ------------------------------------------------------
>
> Key: OPENEJB-1404
> URL: https://issues.apache.org/jira/browse/OPENEJB-1404
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb31
> Affects Versions: 3.2
> Environment: OS: windows
> jdk: 1.6.0_22
> Reporter: viola.lu
> Fix For: 3.2
>
> Attachments: EJB-1404.patch
>
>
> 1. I deployed an ejb sample, but got an openejb exception:
> Caused by: java.lang.RuntimeException: couldn't start owb context
> at org.apache.geronimo.openejb.ThreadSingletonServiceAdapter.initialize(ThreadSingletonServiceAdapter.java:63)
> at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:46)
> at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:649)
> ... 33 more
> Caused by: java.lang.RuntimeException: org.apache.openejb.OpenEJBException: Illegal moduleId D:\gtrunk\assemblies\geronimo-tomcat7-javaee6\target\assembly\var\temp\geronimo-deployer7762828579357680346.tmpdir\asynEJB-test-3.0-SNAPSHOT.war: Illegal character in opaque part at index 2: D:\gtrunk\assemblies\geronimo-tomcat7-javaee6\target\assembly\var\temp\geronimo-deployer7762828579357680346.tmpdir\asynEJB-test-3.0-SNAPSHOT.war
> at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:233)
> at org.apache.geronimo.openejb.ThreadSingletonServiceAdapter.initialize(ThreadSingletonServiceAdapter.java:61)
> ... 35 more
> Caused by: org.apache.openejb.OpenEJBException: Illegal moduleId D:\gtrunk\assemblies\geronimo-tomcat7-javaee6\target\assembly\var\temp\geronimo-deployer7762828579357680346.tmpdir\asynEJB-test-3.0-SNAPSHOT.war: Illegal character in opaque part at index 2: D:\gtrunk\assemblies\geronimo-tomcat7-javaee6\target\assembly\var\temp\geronimo-deployer7762828579357680346.tmpdir\asynEJB-test-3.0-SNAPSHOT.war
> at org.apache.openejb.config.JndiEncInfoBuilder.build(JndiEncInfoBuilder.java:119)
> at org.apache.openejb.cdi.CdiResourceInjectionService.buildInjections(CdiResourceInjectionService.java:78)
> at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:162)
> ... 36 more
> Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 2: D:\gtrunk\assemblies\geronimo-tomcat7-javaee6\target\assembly\var\temp\geronimo-deployer7762828579357680346.tmpdir\asynEJB-test-3.0-SNAPSHOT.war
> at java.net.URI$Parser.fail(URI.java:2809)
> at java.net.URI$Parser.checkChars(URI.java:2982)
> at java.net.URI$Parser.parse(URI.java:3019)
> at java.net.URI.(URI.java:578)
> at org.apache.openejb.config.JndiEncInfoBuilder.build(JndiEncInfoBuilder.java:117)
> ... 38 more
> If moduleID contains \ instead of / on windows, it will launch this exception.
> org.apache.openejb.config.JndiEncInfoBuilder
> moduleUri = new URI(moduleId);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.