Re: jndi (jdbc) access out of container

2004-05-06 Thread snpe
On Wednesday 05 May 2004 10:50 pm, QM wrote: On Thu, May 06, 2004 at 12:44:57AM +, snpe wrote: : Can I access jndi out of container (from simple test application) ? In other words, you would like to access Tomcat's JNDI provider outside of a Tomcat-managed webapp? Not possible.

Re: jndi (jdbc) access out of container

2004-05-06 Thread Matt Raible
This is probably a better question for the Spring mailing list. But since it's really pretty easy - here's how I do it. All you really need to do is define a dataSource for your tests, and one for your WAR. I basically do this in a file named applicationContext-database.xml and use the

Re: jndi (jdbc) access out of container

2004-05-06 Thread snpe
yes, I now this - but it is two datasource (two configuration) Thanks On Thursday 06 May 2004 11:08 am, Matt Raible wrote: This is probably a better question for the Spring mailing list. But since it's really pretty easy - here's how I do it. All you really need to do is define a

jndi (jdbc) access out of container

2004-05-05 Thread snpe
Hello Can I access jndi out of container (from simple test application) ? regards Haris Peco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jndi (jdbc) access out of container

2004-05-05 Thread QM
On Thu, May 06, 2004 at 12:44:57AM +, snpe wrote: : Can I access jndi out of container (from simple test application) ? In other words, you would like to access Tomcat's JNDI provider outside of a Tomcat-managed webapp? Not possible. This has been discussed on the list before. What is