-
1. Re: Apache Derby (embedded) as cache loader?
galder.zamarreno Jun 5, 2012 10:41 AM (in response to dex80526)Hmmm, Derby is a database, so you could use the JDBC cache store with it?
-
2. Re: Apache Derby (embedded) as cache loader?
dex80526 Jun 5, 2012 11:54 AM (in response to galder.zamarreno)Yes, I used the JDBC with Derby. It works. Here is my thought.
I am thinking it will be convient for many users if Infinispan includes a cache loader implemented like JDBM or bdbje using embedded Derby. JDBC one requires configuring a Data Source (or JNDI) for database configuration, and create the DB instance, etc. These configurations varies from App Server to App Server. Not to mention the Memory leak poteial warnings in Tomcat case. To create DB instance (without relying on set "create=true") is also inconvient for applications like ours (trying to simply the deployment as much as possible). To use "create=true" on connection url is not desirable some times. Just some thoughts.
-
3. Re: Apache Derby (embedded) as cache loader?
galder.zamarreno Jun 7, 2012 5:41 AM (in response to dex80526)Dex, nothing stops you from contributing a cache loader implementation for embedded Derby - in fact, we'd happily welcome it
-
4. Re: Apache Derby (embedded) as cache loader?
dex80526 Jun 7, 2012 12:04 PM (in response to galder.zamarreno)Galder: Yes, I'll keep it in mind. I am overwhelmened with all kinds issues (some related to Infinispan) right with my current project.
I just opened a bug against cache loader with Apache Derby (https://issues.jboss.org/browse/ISPN-2101). Do you know any workaround?
Thanks.
-
5. Re: Apache Derby (embedded) as cache loader?
galder.zamarreno Jun 12, 2012 10:32 AM (in response to dex80526)ISPN-2101 is now solved.
-
6. Re: Apache Derby (embedded) as cache loader?
dex80526 Jul 6, 2012 11:52 AM (in response to galder.zamarreno)Galder: I tried Infinispan 5.1.5.Final. The fix to ISPN-2101 is not in 5.1.5.Final. Is possible to get the fix to 5.1.x since 5.2 is still in alpha?
-
7. Re: Apache Derby (embedded) as cache loader?
galder.zamarreno Jul 10, 2012 7:54 AM (in response to dex80526)We won't release any more community 5.1.x versions. You see, we have an enterprise version now for that Infinispan version called JBoss Enterprise Data Grid, via which we'll provide official patch updates...etc
So, either: you use the 5.2.x alpha, or you do some surgery to backport what you need (it's not rocket science)...
-
8. Re: Apache Derby (embedded) as cache loader?
dex80526 Jul 10, 2012 11:27 AM (in response to galder.zamarreno)Yea, we can patch it, But, that means we have to keep a local copy/repository. I was suprised that the fix did not get into 5.1.5.Final since the fix was done before 5.1.5.Final released.
-
9. Re: Apache Derby (embedded) as cache loader?
galder.zamarreno Jul 13, 2012 4:01 AM (in response to dex80526)Not necessarily local, cloud is your friend
At the stage of 5.1.5, we decided to backport those issues that we considered critical, or helped obtain cleaner testsuite runs.