struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Chunwei" <>
Subject Help on <data-source>
Date Tue, 01 Apr 2008 06:44:38 GMT
Hi all,

I've configured a data source at struts-config.xml. This data source use oracle thin jdbc
driver. And I've already included the ojdbc.jar. Also, the oracle database I'm trying to connect
is OK. But I just can't make the data source get the connection. It always throws a SQLException:
Timeout awaiting connection. Can anyone give some help? Following is my <data-source>.
  <data-source key="org.apache.struts.action.DATA_SOURCE">
   <set-property property="password" value="passw0rd" />
   <set-property property="minCount" value="" />
   <set-property property="maxCount" value="" />
   <set-property property="user" value="planuser" />
   <set-property property="driverClass"
    value="oracle.jdbc.driver.OracleDriver" />
   <set-property property="description"
    value="Oracle 9i Database - Struts Test" />
   <set-property property="url"
    value="jdbc:oracle:thin:@" />
   <set-property property="readOnly" value="false" />
   <set-property property="autoCommit" value="false" />
   <set-property property="loginTimeout" value="30" />


View raw message