Re: Remapping datasources

2009-07-15 Thread David Smith
Offering JNDI resources via java:comp/env is per the servlet spec. I suppose you could implement a ServletContextListener to do whatever magic you are looking for. I'm left wondering though, why you absolutely need the JNDI stuff to be offered as java:MyDS? Sounds like you are in control of the

Remapping datasources

2009-07-14 Thread Александър Шопов
Hi guys, In my webap I am using a library that depends on datasources being mapped to: java:MyDS and not java:comp/env/jdbc/MyDS When I define datasources in Tomcat, they end in java:comp/env. What can I do to remap the datasources - make them available as java:MyDS? One of the strategies would