• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Db connection with Struts

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Im getting the folowing error,
My struts-config i have the following tag

<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="autoCommit"
value="true"/>
<set-property property="description"
value="Oracle Database Connection"/>
<set-property property="driverClassName"
value="oracle.jdbc.driver.OracleDriver"/>
<set-property property="maxCount"
value="10"/>
<set-property property="minCount"
value="2"/>
<set-property property="password"
value="tiger"/>
<set-property property="url"
value="jdbc racle:thin:@216.165.199.60:1521:MSTT"/>
<set-property property="user"
value="scott"/>
</data-source>




Mar 1, 2005 3:03:35 PM org.apache.struts.action.ActionServlet initModuleDataSour
ces
SEVERE: Initializing application data source org.apache.struts.action.DATA_SOURC
E
java.sql.SQLException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleD
river'
at org.apache.commons.dbcp.BasicDataSource.createDataSource




Any help??I have classes12.zip in my classpath
 
Sahina Celin
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it when i renamed classes12.zip to classes12.jar
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic