tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53465] New: mapped-name is read when in @Resource, but not when in web.xml
Date Mon, 25 Jun 2012 20:31:48 GMT

          Priority: P2
            Bug ID: 53465
           Summary: mapped-name is read when in @Resource, but not when in
          Severity: normal
    Classification: Unclassified
          Hardware: PC
            Status: NEW
           Version: 7.0.28
         Component: Catalina
           Product: Tomcat 7

Created attachment 28995
Patch proposal


When I have the code below in a servlet

    private DataSource ds;

'mapped name' is read when @Resource is processed
so later on it is available through Reference object as StringRefAddr

But when I have the declaration below in web.xml


'mapped name' is not read at all.

I would like to propose a patch that adds additional Rule to WebRuleSet so that
'mapped name' is process and set as property.

I'm looking forward to your comments.

Violeta Georgieva

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message