geronimo-dev mailing list archives

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


Jay D. McHugh commented on GERONIMO-3096:

Here is the stacktrace from the failure:

        at org.apache.geronimo.test.servlet.JPATestServlet.testEntityManagerFactory(
        at org.apache.geronimo.test.servlet.JPATestServlet.doProcess(
        at org.apache.geronimo.test.servlet.JPATestServlet.doGet(
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.valves.AccessLogValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Could not access entity manager

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