actually - got it - Thanks for the tutorial - I had incorrectly named a folder 
...... got foo and bar and hello and 12345 working - first jdbc - 
woohoo....thanks all
   
  David

[EMAIL PROTECTED] wrote: 
  Would You send me your server.xml, context.xml and web.xml?

György

"Tomcat Users List" schrieb am 07.03.06 16:49:39:
> 
> went through this and received following error:
> 
> 
> org.apache.jasper.JasperException: Exception in JSP: /test.jsp:4 1: 2: 3: 4: 
> 5: select id, foo, bar from testdata 6: 7: Stacktrace: 
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
>  
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
> 
> root cause 
> javax.servlet.ServletException: Unable to get connection, DataSource invalid: 
> "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of 
> class '' for connect URL 'null'" 
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
>  
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
>  org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:81) 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
> 
> root cause 
> javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: 
> "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of 
> class '' for connect URL 'null'" 
> org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276)
>  
> org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159)
>  org.apache.jsp.test_jsp._jspx_meth_sql_query_0(org.apache.jsp.test_jsp:100) 
> org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:58) 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
> 
> note The full stack trace of the root cause is available in the Apache 
> Tomcat/5.5.15 logs.
> 
> 
> "Caldarale, Charles R" wrote:
> > From: (e==mc²)? [mailto:[EMAIL PROTECTED] 
> > Subject: Re: JNDI datasource
> > 
> > just a tip why dont you try creating a datasource manually since neuer
> > Tomcat version dont provide the admin application you will be then
> > confortable with laater versions and you will dig into knowing things
> > better ?
> > http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
> 
> The OP is running 5.5.12, so the 4.1 doc is not necessarily applicable. The 
> correct links for his level would be:
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
> 
> - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
> MATERIAL and is thus for use only by the intended recipient. If you received 
> this in error, please contact the sender and delete the e-mail and its 
> attachments from all computers.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
Mit freundlichen Grüßen

Dr. György Kelemen
Email: [EMAIL PROTECTED]
Mobil: 0173 534 5668

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to