RE: JNDI datasource

2006-03-07 Thread David McMinn
actually - got it - Thanks for the tutorial - I had incorrectly named a folder .. got foo and bar and hello and 12345 working - first jdbc - woohoothanks all David [EMAIL PROTECTED] wrote: Would You send me your server.xml, context.xml and web.xml? György "Tomcat Users List" s

RE: JNDI datasource

2006-03-07 Thread David McMinn
went through this and received following error: org.apache.jasper.JasperException: Exception in JSP: /test.jsp:41: <%@ taglib uri="http://java.sun.com/jsp/jstl/sql"; prefix="sql" %> 2: <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> 3: 4: 5: select id, foo, bar fr

JNDI datasource

2006-03-07 Thread David McMinn
I have both the manager and admin up and running. In the admin, I have no datasources under the admin menu. I am attempting to get a datasource showing up here. Can someone walk me through step by step in doing this. I am running tomcat 5.5.12. I have tried the tutorial but have had no luck. Tha

Cannot create JDBC driver of class '' for connect URL 'null'

2006-03-01 Thread David McMinn
Tomcat Server 5.5.15 - I searched for solutions and most mention a Context element in the server.xml. I only have a DefaultContext tag within with I have my resouce tag: The actual failure is on the connection = ds.getConnection(); line in the jsp if that helps any. SEVERE: Servlet.serv

Re: jdbc tomcat

2006-03-01 Thread David McMinn
server.xml as I have never tried this, but why should it be? I have been fooled by thinking logically b4 and I know that things are different in different setups, but it's worth a try, huh? Mike David McMinn wrote: > I'm running Tomcat 5.5 and trying to do a very simple jdbc con

jdbc tomcat

2006-03-01 Thread David McMinn
I'm running Tomcat 5.5 and trying to do a very simple jdbc connection a single table. I have set up tomcat to run on port 8070 and the mysql database on the default 3306 port. It's the connection statement in the jsp that is blowing up - If I take that out, it works fine. I'm getting pag

Re: first jdbc tomcat application

2006-03-01 Thread David McMinn
27; ". Amila Suriarachchi <[EMAIL PROTECTED]> wrote: On 2/26/06, David McMinn 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".

Re: first jdbc tomcat application

2006-02-25 Thread David McMinn
nitCtx.close(); %> and the errorpg is: <%@ page isErrorPage="true" %> An error has occurred <%= exception.getMessage() %> Glen Mazza <[EMAIL PROTECTED]> wrote: David McMinn escribió: > > Unfortunately the logs don't say anything - I just

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

First JDBC tomcat app

2006-02-24 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

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

java.net.BindException issue

2006-01-13 Thread David McMinn
I tried installing the latest version and received this error message in the logs: :SEVERE: Error starting endpoint java.net.BindException: Address already in use: JVM_Bind What should I do now? David