Re: JNDI datasource failing

2006-06-08 Thread miGio
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 PROTECTED

Re: JNDI datasource failing

2006-05-31 Thread Martin Grogan
I know how you feel. I would have preferred to do that aswell. I'm not sure how our hosting company has their servers set up, but that was the only way (after weeks of trying) that we could get things working. It may be different in our case though, because we are on a shared environment. Marti

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, I

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 experiencing

JNDI datasource failing

2006-05-30 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: "org.apache.tomcat