Re: tomcat data source - mysql

2004-10-01 Thread Carlos Bracho
Try jdbc:mysql://localhost:/ (usually the port number is 3306) in the url param value On Fri, 1 Oct 2004 01:09:43 -0700, Eric Wulff <[EMAIL PROTECTED]> wrote: > Hi, I am not able to access a mysql server from a simple jsp example. > I have googled the errors, checked mysql and tomcat docs and mai

Re: tomcat data source - mysql

2004-10-01 Thread David Smith
Sorry guy, but read the original post again. ResourceLink is only required when the data source is defined as a global resource in server.xml. The poster defined the data source in the Context, not as a GlobalResource. The real problem here: "Host 'localhost.localdomain' is not allowed to co

Re: tomcat data source - mysql

2004-10-01 Thread Michael Eastwood
Hi Eric, You also need a ResourceLink element in your Context. If you rely on tomcat to create your contexts dynamically, AFAIK you'll never pick up your datasource. So put a file named whatever context you want your stuff under in $CATALINA_HOME/conf/Catalina/localhost/ if you're using the sta

tomcat data source - mysql

2004-10-01 Thread Eric Wulff
Hi, I am not able to access a mysql server from a simple jsp example. I have googled the errors, checked mysql and tomcat docs and mailing list archives without success. Finding a tremendous amount of info but nothing so far worked to solve my problem. I created a data resource in my server.xml.