RE: Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Scott Purcell
: Tomcat 5.5 JNDI Question Using Admin You need a ResourceLink in the Host or Context, to make the global resource available. Does the Context xml file contain this? Scott Purcell wrote: > Hello, > > > > I am receiving errors when configuring a JNDI resource for my database >

Re: Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Pid
You can also configure DBCP to do some connection pooling, without much effort. I'd recommend avoiding the root user for your DB connection. The error message you saw is a poor one, but common. In your global resources: A DataSource in your A Realm in your or Pid wrote: >

RE: Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Jitendra Kharche
Hi Scott, I had also this problem some time back. You need to create a file named context.xml in WEB-APP/META-INF directory. The resource needs to be defined her as follows Note in the above that the value of attribute 'type' should be the DataSource class from your db driver jar. Also

Re: Tomcat 5.5 JNDI Question Using Admin

2006-06-28 Thread Pid
You need a ResourceLink in the Host or Context, to make the global resource available. Does the Context xml file contain this? Scott Purcell wrote: > Hello, > > > > I am receiving errors when configuring a JNDI resource for my database > using Tomcat 5.5 on a Windoz box. I used the admin in