geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh (JIRA)" <>
Subject [jira] Updated: (GERONIMO-3096) @Resource injection of UserTransactions does not work in servlets
Date Fri, 13 Apr 2007 02:44:15 GMT


Jay D. McHugh updated GERONIMO-3096:

    Attachment: jpa-war-3096.tar.bz2

This is the full source to build the war file (already built jpa-war.war in the target directory).

There are two servlets:

Run the test fails first to see the NPE.

You can only run the second test once.
(otherwise it will fail because you are trying to persist over an existing record).

> @Resource injection of UserTransactions does not work in servlets
> -----------------------------------------------------------------
>                 Key: GERONIMO-3096
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: persistence, web
>    Affects Versions: 2.0-M5
>            Reporter: Jay D. McHugh
>         Attachments: jpa-war-3096.tar.bz2
> If you use an @Resource annotation to inject a UserTranasction reference into a servlet,
you end up with a null transaction object.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message