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

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(