[jboss-jira] [JBoss JIRA] (AS7-5474) Url returned by PersistenceUnitInfo#getPersistenceUnitRootUrl() point to an empty folder

Scott Marlow (JIRA) jira-events at lists.jboss.org
Thu Sep 6 00:12:32 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated AS7-5474:
------------------------------

       Fix Version/s: 7.2.0.Alpha1
    Git Pull Request: https://github.com/jbossas/jboss-as/pull/3006  (was: https://github.com/jbossas/jboss-as/pull/3006)

    
> Url returned by PersistenceUnitInfo#getPersistenceUnitRootUrl() point to an empty folder
> ----------------------------------------------------------------------------------------
>
>                 Key: AS7-5474
>                 URL: https://issues.jboss.org/browse/AS7-5474
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.2.0.Alpha1
>         Environment: $ java -version
> java version "1.6.0_31"
> Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
> Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
> Windows 7 x64
>            Reporter: Adriano Verona
>            Assignee: Scott Marlow
>             Fix For: 7.2.0.Alpha1
>
>         Attachments: vjpa_jboss_example.jar
>
>
> When setting "jboss.as.jpa.vfs" property to false in persistence.xml PersistenceUnitInfo#getPersistenceUnitRootUrl() returns an Url  that points to an empty folder (named "Contents"). The parent of this folder does holds the application jar.
> file:/D:/Java/jboss-as-7.2.0.Alpha1/standalone/tmp/vfs/temp9c270668d311f0c4/vjpa_jboss_example.jar-7ef91a4c66eeff18/contents/
> Observed this at PersistenceProvider#createContainerEntityManagerFactory() method call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list