db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Day <akc...@yahoo.com>
Subject Re: no suitable driver
Date Fri, 04 Dec 2009 16:21:12 GMT
Thank you so much for the tip on the xml syntax.  That got rid of the no suitable driver
and all other errors.  No I just get a 404 in the browser when I try to bring up the application. 
The example tomcat servlets all work.  It is never getting to my application because I put
debug statements into the very first and nothing.  Any ideas for why tomcat would just 404
me without getting to the application?

Angela Day
National Autism Association of Central Texas

formally FEAT Austin

From: Thomas Vandahl <tv@apache.org>
To: Apache Torque Users List <torque-user@db.apache.org>
Sent: Thu, December 3, 2009 2:18:52 PM
Subject: Re: no suitable driver

Angela Day wrote:
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.20Dec 2, 2009 2:02:47 PM org.apache.catalina.core.StandardContext
> <Resource name="jdbc/cmts" auth="Container" type="javax.sql.DataSource"/>
>        <ResourceParams name="jdbc/cmts">
>          <parameter>
>            <name>factory</name>
>            <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>          </parameter>

This doesn't fit. The Tomcat 6.0 configuration uses attributes instead
of ResourceParams elements to configure a data source. See
for examples.

The problem usually arises if the web application has no access to the
configured data source. Let's see your Torque.properties and the web.xml
of your application, please.

Bye, Thomas.

To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message