geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-3017) Web Apps (WAR files) that directly contain JPA entities cannot be deployed
Date Sat, 24 Mar 2007 01:22:32 GMT

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


Mime
View raw message