I'm using struts 1.1 ----- Original Message ----- From: "Vinny" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Tuesday, April 01, 2008 2:52 PM Subject: Re: Help on <data-source>
What version of struts? Data-source got deprecated at some point. I forget the version. On 4/1/08, Chen Chunwei <[EMAIL PROTECTED]> wrote: > 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:@10.192.225.8:1521:wpsprod" /> > <set-property property="readOnly" value="false" /> > <set-property property="autoCommit" value="false" /> > <set-property property="loginTimeout" value="30" /> > </data-source> > ---------------------------------------------------------------------------------------------- > > Thanks > > Talos -- Sent from Gmail for mobile | mobile.google.com The future is here. It's just not widely distributed yet. -William Gibson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]