On Wed, May 7, 2008 at 4:50 AM, Marcello Teodori
<[EMAIL PROTECTED]> wrote:
>
> Hi, did you succeed since then in configuring a DataSource using annotations
> on Tomcat6?
Not me; wasn't that high a priority item at the time, never went back
to it. Perhaps someone else will chime in :-)
--
Hass
Hi, did you succeed since then in configuring a DataSource using annotations
on Tomcat6?
I did the same on the latest Tomcat 6.0.16 and I got a similar error, with
the datasource correctly configured in context.xml (checked with normal JNDI
lookup on java:comp/env/jdbc/...) and the annotation on a
First pass at playing with the 2.5 Servlet stuff, annotations specifically.
On TC 6.0.7, adding this line to a test Filter:
@Resource javax.sql.DataSource foo;
:: causes this exception when the context is reloaded:
SEVERE: Exception starting filter EnvironmentFilter
javax.naming.NameNo