[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-308) Space in path result in error during deployment in JBoss AS

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Aug 9 15:56:13 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27790 ] 

Emmanuel Bernard commented on EJB-308:
--------------------------------------

I think it's fixed
Your Caused By should be

Caused by: java.lang.IllegalArgumentException: Unable to visit JAR file:/Applications/jb oss/jboss-4.2.0.GA/server/default/deploy/myproject.war/WEB-INF/classes. Cause: Illegal character in path at index 21: file:/Applications/jb oss/jboss-4.2.0.GA/server/default/deploy/myproject.war/WEB-INF/classes
        at org.hibernate.ejb.packaging.JarVisitor.getVisitor(JarVisitor.java:100)
        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:226)
        ... 153 more


> Space in path result in error during deployment in JBoss AS
> -----------------------------------------------------------
>
>                 Key: EJB-308
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-308
>             Project: Hibernate Entity Manager
>          Issue Type: Bug
>          Components: EntityManager
>    Affects Versions: 3.2.1
>         Environment: both linux and windows, JBoss EAP 4.2 or JBoss 4.2
>            Reporter: Max Rydahl Andersen
>            Assignee: Emmanuel Bernard
>            Priority: Critical
>             Fix For: 3.3.2.GA
>
>
> 16:38:05,991 ERROR [[/test]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener 
> javax.persistence.PersistenceException: java.lang.IllegalArgumentException: Unable to visit JAR file:/home/max/rh devstudio/jboss-eap/jboss-as/server/default/deploy/test.war/WEB-INF/classes. Cause: Illegal character in path at index 17: file:/home/max/rh devstudio/jboss-eap/jboss-as/server/default/deploy/test.war/WEB-INF/classes 
> at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:252) 
> at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120) 
> at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) 
> at org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:74)
> When testing JBoss EAP 4.2 with RHDS I we created http://jira.jboss.org/jira/browse/JBIDE-691
> and this is with Hibernate Annotations 3.2.1 which should have this one fixed according what i could find (i'll link to it)

-- 
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