[
https://issues.apache.org/jira/browse/GERONIMO-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485060
]
Jay D. McHugh commented on GERONIMO-3017:
-----------------------------------------
Note: When the war file contains the entity classes directly, it appears that
the 'openejb-cmp-generated-orm.xml' file is not being created (an ejb-jar did
trigger its creation).
> Web Apps (WAR files) that directly contain JPA entities cannot be deployed
> --------------------------------------------------------------------------
>
> Key: GERONIMO-3017
> URL: https://issues.apache.org/jira/browse/GERONIMO-3017
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: persistence
> Affects Versions: 2.0-M5
> Reporter: Jay D. McHugh
> Attachments: geronimo-jira-3017.patch
>
>
> There is still a find and parse problem with persistence.xml in war files.
> It seems to work if you have your jpa entities in a jar file.
> But, if you have a WEB-INF/lib/META-INF/persistence.xml file, it finds it and
> dies with a substring error.
> I have not tested to see if this is a problem for WAR files contained in an
> EAR.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.