Re: first jdbc tomcat application

2006-03-01 Thread David McMinn
I'm running Tomcat 5.5 - The mysql port is 3306 - I made that change to the server.xml file "jdbc:mysql://localhost:3306/everycitizen Still get the same result - page not found or "Cannot create JDBC driver of class '' for connect URL 'null' ". Amila Suriarachchi <[EMAIL PROT

Re: first jdbc tomcat application

2006-02-26 Thread Amila Suriarachchi
On 2/26/06, David McMinn <[EMAIL PROTECTED]> wrote: > > I had not added an error-page tag to the web.xml - The default behavior > would be a stack trace which would be fine w/ me - In my jsp, I have @ page > errorPage="errorpg.jsp".. > > I don't get a stack trace but I get a page w/ this mes

RE: first jdbc tomcat application

2006-02-26 Thread Caldarale, Charles R
> From: umesh balasubramaniam [mailto:[EMAIL PROTECTED] > Subject: Re: first jdbc tomcat application > > I had a similar problem and solved it by adding the parameters using > resourceparams instead of specifying all the parameters in > the resource tag itself. Where the par

Re: first jdbc tomcat application

2006-02-25 Thread umesh balasubramaniam
David, I had a similar problem and solved it by adding the parameters using resourceparams instead of specifying all the parameters in the resource tag itself. Like this: factory org.apache.commons.dbcp .BasicDataSourceFa

Re: first jdbc tomcat application

2006-02-25 Thread David McMinn
I had not added an error-page tag to the web.xml - The default behavior would be a stack trace which would be fine w/ me - In my jsp, I have @ page errorPage="errorpg.jsp".. I don't get a stack trace but I get a page w/ this message"Cannot create JDBC driver of class '' for connec

Re: first jdbc tomcat application

2006-02-24 Thread Glen Mazza
David McMinn escribió: Unfortunately the logs don't say anything - I just get a page not found. If I take that out (and all subsequent jsp) it works fine. So right up to that point the jsp page renders fine - When I include that one more line, it blows up. I'm still looking but if someone kn

RE: first jdbc tomcat application

2006-02-24 Thread David McMinn
e indicated that he was successfully able to bring up Tomcat's index page. So I am not sure this is an issue. Fadi -Original Message- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 1:07 PM To: Tomcat Users List Subject: Re: first jdbc tomcat application Da

RE: first jdbc tomcat application (UNCLASSIFIED)

2006-02-24 Thread Samara, Fadi N Mr ACSIM/ASPEX
PROTECTED] Sent: Friday, February 24, 2006 1:07 PM To: Tomcat Users List Subject: Re: first jdbc tomcat application David McMinn wrote: > > When I try to go to http://localhost:8070/jsp-examples/wroxjdbc/JDBCTest.jsp > I get a standard The page cannot be displayed page. > P

Re: first jdbc tomcat application

2006-02-24 Thread Glen Mazza
David McMinn wrote: > When I try to go to http://localhost:8070/jsp-examples/wroxjdbc/JDBCTest.jsp I get a standard The page cannot be displayed page. Port wrong? It is 8080 by default. Glen - To unsubscribe, e-mail:

RE: first jdbc tomcat application

2006-02-23 Thread Wang, Hansen
If you are using tomcat5, do not use ResourceParams. Instead, define those params as attribute of , as this: -Original Message- From: David McMinn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 9:20 AM To: users@tomcat.apache.org Subject: first jdbc tomcat application

first jdbc tomcat application

2006-02-23 Thread David McMinn
I'm stepping through the example Professional Apache Tomcat 5 book by Wrox in Chapter 14 - I have set up the mysql database and confirmed it works and set up the tomcat server and confirmed that I can see my index.jsp page. When I try to go to http://localhost:8070/jsp-examples/wroxjdbc/JDBCTest