Re: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Craig Dunn
Any ideas on how to trace whats going on? There are still no exceptions being thrown. Sorry, I've figured that part out now - thanks for your help. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-

Re: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Craig Dunn
Did you see a factory attribute in any of the Tomcat doc for JDBC DataSources? http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.h tml OK, Thanks for that - I've removed the Factory setting, placed everything where it is recommended, and yes, I did already have a web.xml

RE: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Caldarale, Charles R
> From: Mark Shifman [mailto:[EMAIL PROTECTED] > Subject: Re: Null datasource trying to connect to JNDI connection. > > What would you do if you wanted to add a different version of > DBCP, ie Commons DBCP 1.3-SNAPSHOT? > Would you put the jar in $CATALINA_HOME/lib and th

Re: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Mark Shifman
What would you do if you wanted to add a different version of DBCP, ie Commons DBCP 1.3-SNAPSHOT? Would you put the jar in $CATALINA_HOME/lib and then use the factory attribrute? mas Caldarale, Charles R wrote: From: Craig Dunn [mailto:[EMAIL PROTECTED] Subject: Null datasource trying to

RE: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Caldarale, Charles R
> From: Craig Dunn [mailto:[EMAIL PROTECTED] > Subject: Null datasource trying to connect to JNDI connection. > > In my server.xml: The usual comment: don't put elements in server.xml; doc reference: http://tomcat.apache.org/tomcat-6.0-doc/config/contex

Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Craig Dunn
Hi, I have an issue connecting to MSSQL 2000 from Tomcat 6.0 (Linux) using JNDI. When I try and lookup the DataSource object it comes back as null I have configured; In my server.xml: The class calling the data source does so like this; Context initCtx = new InitialContext(