• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Problem defining an Oracle datasource in struts-config.xml

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to define the following datasource in struts-config. I'm obviously doing something wrong because I get a "servlet action is currently available" after adding to the config (which worked before the addition).
<data-source>
<set-property property="key" value="OracleDataSource"/>
<set-property property="autoCommit" value="false"/>
<set-property property="description" value="OracleDatasource"/>
<set-property property="driverClass" value="oracle.jdbc.driver.OracleDriver"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value="test"/>
<set-property property="user" value="jvogel"/>
<set-property property="url" value="jdbc racle:thin:@199.191.94.4:1521 RCL"/>
</data-source>
Any thoughts, Jason
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you hava to download "commons-dbcp-1.1.jar,commons-pool-1.1.jar,struts-legacy.jar" and copy those files to your "web-inf"!
good lucky!

Originally posted by Jason Vogel:
I'm trying to define the following datasource in struts-config. I'm obviously doing something wrong because I get a "servlet action is currently available" after adding to the config (which worked before the addition).
<data-source>
<set-property property="key" value="OracleDataSource"/>
<set-property property="autoCommit" value="false"/>
<set-property property="description" value="OracleDatasource"/>
<set-property property="driverClass" value="oracle.jdbc.driver.OracleDriver"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value="test"/>
<set-property property="user" value="jvogel"/>
<set-property property="url" value="jdbc racle:thin:@199.191.94.4:1521 RCL"/>
</data-source>
Any thoughts, Jason

 
Whip out those weird instruments of science and probe away! I think it's a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic