Re: JNDI look issue with Tomcat during server start up

2008-05-21 Thread Hanmay Udgiri
> > *protected* Connection open() { > > to see an example of how you would get hold of a JNDI datasource when > running inside tomcat server code, and not web application code > > Filip > > > > > > Hanmay Udgiri wrote: > >> Hi Filip, >> I could not

Re: JNDI Connection Pooling

2008-05-21 Thread Hanmay Udgiri
should be available for all WAR file in /webapps Thanks and Regards On 5/21/08, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Hanmay Udgiri wrote: > >> Yes this is working >> I am able to get connection pool object... >> > > And the database connection works?

Re: JNDI Connection Pooling

2008-05-21 Thread Hanmay Udgiri
Yes this is working I am able to get connection pool object... Thanks and Regards hanmaya On 5/21/08, Mark Thomas <[EMAIL PROTECTED]> wrote: > > Hanmay Udgiri wrote: > >> Hi >> I am currently using connection pooling in tomcat. >> The code is as below >>

JNDI Connection Pooling

2008-05-20 Thread Hanmay Udgiri
Hi I am currently using connection pooling in tomcat. The code is as below I have a context.xml.default placed in /conf/[enginename]/[hostname]/ file which has below code. Where as in Java code i am setting the values of Userd,pwd driverclass and URL. *My question here is Is there any effect,If

Re: JNDI look issue with Tomcat during server start up

2008-05-15 Thread Hanmay Udgiri
of the > tomcat source code. > the method open(), shows how server code would look up both a local or a > global data source > > Filip > Hanmay Udgiri wrote: > >> Hi >> I have implemented datasource using JNDI look up. >> The code work fine

JNDI look issue with Tomcat during server start up

2008-05-15 Thread Hanmay Udgiri
Hi I have implemented datasource using JNDI look up. The code work fine If I call the code during any User action. But If try to call the same code during the tomcat server start up I get an exception javax.naming.NameNotFoundException: Name comp is not bound in this Context I am using Tomcat 5.5

Re: JNDI Issue with Tomcat

2008-05-15 Thread Hanmay Udgiri
PGP SIGNED MESSAGE- > Hash: SHA1 > > Hanmay, > > Hanmay Udgiri wrote: > | I have implemented datasource using JNDI look up. > | > | The code work fine If I call the code during any User action. > | But If try to call the same code during the t

JNDI Issue with Tomcat

2008-05-14 Thread Hanmay Udgiri
Hi I have implemented datasource using JNDI look up. The code work fine If I call the code during any User action. But If try to call the same code during the tomcat server start up I get an exception javax.naming.NameNotFoundException: Name comp is not bound in this Context I am using Tomcat 5.5

Fwd: Issue with Tomcat 5.5 Datasource configuration

2008-04-14 Thread Hanmay Udgiri
-- Forwarded message -- From: Hanmay Udgiri <[EMAIL PROTECTED]> Date: Apr 2, 2008 11:48 PM Subject: Issue with Tomcat 5.5 Datasource configuration To: users@tomcat.apache.org Hi I am using a Datasource configuration with tomcat 5.5 and oracle 9i.I want to use a Datasource wh

Issue with Tomcat 5.5 Datasource configuration

2008-04-02 Thread Hanmay Udgiri
Hi I am using a Datasource configuration with tomcat 5.5 and oracle 9i.I want to use a Datasource which is accessible to all web apps. I have added the "Resource" tag under "GlobalNamingResources" and a "ResourceLink" in a context.xml file of a web application. But Here My other web apps are also

Issue with Tomcat 5.5 Datasource configuration

2008-04-02 Thread Hanmay Udgiri
Hi I am using a Datasource configuration with tomcat 5.5 and oracle 9i.I want to use a Datasource which is accessible to all web apps. I have added the "Resource" tag under "GlobalNamingResources" and a "ResourceLink" in a context.xml file of a web application. But Here My other web apps are also

Issue with Tomcat 5.5 Datasource configuration

2008-04-02 Thread Hanmay Udgiri
Hi I am using a Datasource configuration with tomcat 5.5 and oracle 9i.I want to use a Datasource which is accessible to all web apps. I have added the "Resource" tag under "GlobalNamingResources" and a "ResourceLink" in a context.xml file of a web application. But Here My other web apps are also