[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-333) Space in path result in error during deployment in JBoss AS
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Wed Mar 5 15:24:33 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard resolved EJB-333.
----------------------------------
Resolution: Fixed
Tested on Mac OS X 10.4, Windows XP both in container and out of container.
> Space in path result in error during deployment in JBoss AS
> -----------------------------------------------------------
>
> Key: EJB-333
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-333
> Project: Hibernate Entity Manager
> Issue Type: Bug
> Components: EntityManager
> Affects Versions: 3.3.2.Beta3
> Environment: WinXP
> Reporter: Lukasz Hall
> Fix For: 3.3.2.ga
>
>
> The space issue appears to still be present in the latest release.
> Using the latest build (EntityManager 3.3.2Beta3, run against JBoss 4.2.0), the relevant portions of the stack trace are:
> java.lang.RuntimeException: error trying to scan <jar-file>: file:/C:/Program Files/JBoss/lh3_d_jb_420/jboss-as/server/production/tmp/deploy/tmp31846Archive-PerformanceTestDriver.sar-contents/Archive-PerformanceTestData.jar
> at org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:616)
> at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:359)
> ....
> Caused by: java.lang.IllegalArgumentException: Unable to visit JAR file:/C:/Program Files/JBoss/lh3_d_jb_420/jboss-as/server/production/tmp/deploy/tmp31846Archive-PerformanceTestDriver.sar-contents/Archive-PerformanceTestData.jar. Cause: Illegal character in path at index 16: file:/C:/Program Files/JBoss/lh3_d_jb_420/jboss-as/server/production/tmp/deploy/tmp31846Archive-PerformanceTestDriver.sar-contents/Archive-PerformanceTestData.jar
> at org.hibernate.ejb.packaging.JarVisitorFactory.getVisitor(JarVisitorFactory.java:113)
> ....
> Caused by: java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/JBoss/lh3_d_jb_420/jboss-as/server/production/tmp/deploy/tmp31846Archive-PerformanceTestDriver.sar-contents/Archive-PerformanceTestData.jar
> at java.net.URI$Parser.fail(URI.java:2816)
> at java.net.URI$Parser.checkChars(URI.java:2989)
> at java.net.URI$Parser.parseHierarchical(URI.java:3073)
> at java.net.URI$Parser.parse(URI.java:3021)
> at java.net.URI.<init>(URI.java:578)
> at java.net.URL.toURI(URL.java:916)
> at org.hibernate.ejb.packaging.JarVisitorFactory.getVisitor(JarVisitorFactory.java:110)
> .....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list