Re: JNDI datasource failing

2006-06-08 Thread miGio
this message in context: http://www.nabble.com/JNDI-datasource-failing-t1709052.html#a4785025 Sent from the Tomcat - User forum at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

JNDI datasource failing

2006-05-31 Thread Dan Simmonds
I hope someone can help me with this problem. I have a webapp that used an JNDI datasource that runs fine on my local test environment. When I put it on my server it fails with the following error: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid:

Re: JNDI datasource failing

2006-05-31 Thread Martin Grogan
Hi Dan, I had the exact problem with my hosting company. The problem was the resource was not being read from our context.xml file on Tomcat startup. The guys at the hosting company had to put the entry for the resource inside our context in the Tomcat common config. Maybe you are

Re: JNDI datasource failing

2006-05-31 Thread Dan Simmonds
I have tried to put the resource in the server.xml file, and found that the same problem occurred. Also the exact same configuration works flawlessly in my test environment, so I don't know. I'd rather keep the details in my webapp's context if possible. Dan Martin Grogan wrote: Hi Dan,