[ 
https://issues.apache.org/jira/browse/GERONIMO-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jay D. McHugh updated GERONIMO-3017:
------------------------------------

    Attachment: geronimo-jira-3017.patch

Here is a patch that I think works (still testing).

- It definitely stops the substring error.
- It appears to allow the entities to be processed.

It should only affect the deployment of WAR files that directly contain JPA 
entities.

And, it contains some debugging code to show what it is doing.



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

Reply via email to