OpenJPA Support in Apache Felix

2014-03-24 Thread Dirk.Rudolph
Hi all, in our current project, we intensively use database access to store information and share it between different (not clustered) instances. As for the persistence layer, we use Apache OpenJPA in an Apache Felix container (CQ5.5) with Apache Aries bundles installed. The setting up

AW: OpenJPA Support in Apache Felix

2014-03-24 Thread Dirk.Rudolph
... Just forgot to provide the patch. https://dl.dropboxusercontent.com/u/11808666/felix-openjpa.patch Kind regards, Dirk Von: Rudolph, Dirk Gesendet: Montag, 24. März 2014 11:29 An: users@felix.apache.org Cc: Schlag, Rene; Koenig, Thomas Betreff: OpenJPA Support in Apache Felix

Re: Strange error with org.apache.felix.configadmin-1.8.0

2014-03-24 Thread Cristiano Gavião
Hi Felix, many thanks for your feedback. I changed the code to avoid the properties with empty collections and it is working now. anyway I will question about that in the OSGi list. best regards, Cristiano 2014-03-22 2:58 GMT-03:00 Felix Meschberger fmesc...@adobe.com: Hi Cristiano It is

Re: OpenJPA Support in Apache Felix

2014-03-24 Thread Richard S. Hall
This code looks to be based on a fairly old version of the framework...I would guess version 3.x, which is prior to OSGi R4.3. You need to do some updates to get this to work with the latest framework releases (now version 4.4). Further, I think that OSGi R4.3 introduced some changes that

Felix minimal environment requirements

2014-03-24 Thread jerome moliere
Hi all, I am planning to deploy an OSGi application in a very tiny device (Cortex ARM A5 or A7 one) with around 64Mb of memory. I'd like to know if for such environment Felix is the good product or if Celix could be better suited? My bundles do not need many libraries and involve basic data

Re: Felix minimal environment requirements

2014-03-24 Thread Daniel McGreal
Hi Jerome, I run Felix in architectures with similar memory requirements. However, there’re more variables than I understand for your circumstances, the major one being the JVM deployed. Dan. On 24 Mar 2014, at 18:53, jerome moliere jerome.moli...@gmail.com wrote: Hi all, I am planning to

Re: Felix minimal environment requirements

2014-03-24 Thread jerome moliere
Thanks for your answer Daniel, I know that a fresh JDK 7 from Oracle is available for such platforms, but I must recognize that such heavy piece of software on so small device frightens meI deployed successfully on huge application on a rugged PC running Windows CE but processor was faster

Re: Felix minimal environment requirements

2014-03-24 Thread Dharmender Goyal
If writing in C is an option than Celix will most likely have smaller foot-print. On Monday, March 24, 2014 3:59 PM, jerome moliere jerome.moli...@gmail.com wrote: Thanks for your answer Daniel, I know that a fresh JDK 7 from Oracle is available for such platforms, but I must recognize that

AW: OpenJPA Support in Apache Felix

2014-03-24 Thread Dirk.Rudolph
Thanks for your advice Richard. How could this be solved with a more recent framework release in detail? Despite the fact that we are currently not able to update to a higher version of Felix, I'm interested to see how OpenJPA would fit into future product releases. You are right. We use CQ

Re: AW: OpenJPA Support in Apache Felix

2014-03-24 Thread Richard S. Hall
On 3/24/14, 17:18 , dirk.rudo...@t-systems.com wrote: Thanks for your advice Richard. How could this be solved with a more recent framework release in detail? Despite the fact that we are currently not able to update to a higher version of Felix, I'm interested to see how OpenJPA would fit

Re: AW: OpenJPA Support in Apache Felix

2014-03-24 Thread Chetan Mehrotra
To give an example of what Richard is suggesting have a look at LeakDetector [1] class from one of the Apache Sling bundles. This approach allow you to write a generic code which should work on any OSGi container which later version of OSGi spec which provide support for BundleWiring class Chetan