This week's book giveaway is in the
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Joined: Sep 23, 2004
Jan 19, 2005 05:37:00
I have been trying to configure these three together but with little success.
I am using direct
driver to connect to the database.
I have configured the
xml files in the conf folder to work with mysql.
The mysql server works for a stand alone application in
But when running with
in the DAO it gives the following problem.
My datasources tag in the struts-config is as follows
<set-property property="driverClass" value="com.mysql.jdbc.Driver"/>
<set-property property="url" value="jdbc:mysql://127.0.0.1:3306/eeeha_database"/>
<set-property property="maxCount" value="5"/>
<set-property property="minCount" value="1"/>
<set-property property="userid" value=""/>
<set-property property="password" value=""/>
It gives an error message saying::
initialising application datasource org.apache.struts.action.DATA_SOURCE
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://127.0.0.1:3306/test'
Joined: Dec 02, 2004
Jan 19, 2005 10:13:00
This is probably a JBOSS issue. Have you gone through the JBOSS wiki? Go through the check lists here:
Kevin Judd, SCJP
I agree. Here's the link:
- it saves me about five hours per week
subject: Struts+mySQL+JBoss configuration
Problems Initializing application data source
I am getting an error while loading struts-config.xml
Configuring DBCP Vs Configuring JNDI? Difference between them?
Cannot Connect Struts web app to remote sql database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013