jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Smuts <asm...@yahoo.com>
Subject Re: JDBC Auxillary cache using Websphere Datasource
Date Wed, 02 Sep 2009 18:12:57 GMT
What did you change?   I don't understand your last message.

--- On Wed, 9/2/09, Vishal Sinha <vishal_sinha21@yahoo.com> wrote:

> From: Vishal Sinha <vishal_sinha21@yahoo.com>
> Subject: Re: JDBC Auxillary cache using Websphere Datasource
> To: jcs-users@jakarta.apache.org
> Date: Wednesday, September 2, 2009, 8:58 AM
> 
> Yes, I was looking for the same myself but was not able to
> find it.  I have
> added one class JCSDataSourceHelper and modified the
> existing class
> JDBCDiskCache. I have tried to keep it as low risk, and jcs
> code will behave
> as it used to do if we revert back to old configuration in
> cache.ccf.
> 
> For the datasource to work, the only change required in
> cache.ccf is:
> jcs.auxiliary.JDBC.attributes.url=jdbc/jcsDataSource
> that is, specify datasource jndi instead of DB url
> 
> I have the dependency in the code that datasource jndi name
> should start
> with “jdbc/”, so pls take care of this.
> 
> I am attaching the files. They will go inside
> org.apache.jcs.auxiliary.disk.jdbc package.
> 
> Regards
> Vishal Sinha
> 
> http://www.nabble.com/file/p25260446/JDBCDiskCache.java
> JDBCDiskCache.java 
> 
> http://www.nabble.com/file/p25260446/JCSDataSourceHelper.java
> JCSDataSourceHelper.java 
> -- 
> View this message in context: http://www.nabble.com/JDBC-Auxillary-cache-using-Websphere-Datasource-tp20267122p25260446.html
> Sent from the JCS - Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-users-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message