Re: Karav 3.0.3 vs 2.4.1 : file install behavior

2015-04-21 Thread lbu
Looking at bundles' headers I see the same version on 3.0.3 and 2.4.1 : - Karaf 2.4.1: Bundle-SymbolicName = org.apache.felix.fileinstall Bundle-Version = 3.4.2 Bundle-Name = Apache Felix File Install Bundle-SymbolicName = org.apache.felix.configadmin Bundle-Version = 1.8.0 Bundle-Name = Apache

Re: Declarative Services with Karaf

2015-04-20 Thread lbu
It was much simpler than I thought, thank you guys -- View this message in context: http://karaf.922171.n3.nabble.com/Declarative-Services-with-Karaf-tp4039768p4039814.html Sent from the Karaf - User mailing list archive at Nabble.com.

Karav 3.0.3 vs 2.4.1 : file install behavior

2015-04-20 Thread lbu
Hi, I've noticed that in Karaf 3.0.3 if I add an additional folder to the list of the folders to watch for configurations, Karaf creates a bundle withe the name of the folder once a configuration file (even empty) is created in the new folder. The File Install configuration (config.properties)

Re: EclipseLink 2.5.2 (JPA 2.1) in Karaf 3.0.2

2014-12-12 Thread lbu
I've manually updated the Aries JPA and it works, thank you. In 3.0.2's enterprise features JPA is still 2.0, am I wrong? -- View this message in context: http://karaf.922171.n3.nabble.com/EclipseLink-2-5-2-JPA-2-1-in-Karaf-3-0-2-tp4037031p4037196.html Sent from the Karaf - User mailing list

EclipseLink 2.5.2 (JPA 2.1) in Karaf 3.0.2

2014-12-07 Thread lbu
Hi, Following http://comments.gmane.org/gmane.comp.apache.karaf.devel/7411, I'm trying to update my https://github.com/lburgazzoli/lb-karaf-examples-jpa to include EclipseLink 2.5.2 but I fail to get it working: In the log files I see the following error: 2014-11-04 13:47:48,650 | ERROR | l for

karaf 3.0 : ShellTable question

2014-01-03 Thread lbu
Hi, I've started playing with Karaf 3.0 (thanks for the Christmas gift) and I have some questions related to ShellTable: For most of the methods, the action is not in the name so you have column(...), separator(...), etc but this is not true for addRow: public Row addRow() {

karaf 3.0 : hibernate 4 feature

2014-01-03 Thread lbu
Hi, here you can find a feature for Hibernate 4: feature name=hibernate4 version=4.2.7.Final description=Hibernate4 JPA persistence engine support detailsEnable Hibernate4 as persistence engine./details featuretransaction/feature featurejpa/feature featurehttp/feature bundle

gradle-plugin : karaf-features-gen

2013-12-12 Thread lbu
Hi all, I've wrote a simple gradle plugin aimed to help people to generate people using gradle to generate Karaf's features files: https://github.com/lburgazzoli/lb-gradle-plugins https://github.com/lburgazzoli/lb-gradle-plugins/tree/master/karaf-features-gen The development is it its early

Re: Aries JPA bundle start order issues

2013-10-29 Thread lbu
Hi, this seems a common issue while working with Aries JPA: from Stack Overflow (http://stackoverflow.com/questions/9430270/enterprise-osgi-frameworks-maturity-comparison-apache-aries-vs-eclipse-gemini): 3: As I like using JTA it was no option for me to use Gemini at all. I used Aries JPA for

OpenJPA logging Vs Karaf

2013-10-05 Thread lbu
Hi, Im trying to understand why OpenJPA logging does not work properly in Karaf and I found out that if OpenJPA is configured to use log4j as logging engine, it fails for NoClassDefFoundError: org/apache/log4j/LogManager 12:01:11,054|ERROR|org.apache.karaf.shell.console.jline.Console

Re: Karaf, JPA and ConfigAdmin

2013-05-06 Thread lbu
Issue logged here: https://issues.apache.org/jira/browse/ARIES-1023 -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-JPA-and-ConfigAdmin-tp3667564p4028564.html Sent from the Karaf - User mailing list archive at Nabble.com.

Custom PersistenceManager

2013-03-07 Thread lbu
Hi, I'm trying to implement a custom PersistenceManager to store the configuration related to some bundles on an alternative storage system (hazelcast, db, etc) and not in $KARAF_HOME/etc. The documentation I've found in Felix's homepage is not really exhaustive so I'm wondering if someone here

Re: Karaf JPA and EclipseLink

2013-02-28 Thread lbu
Hi Filippo, as today the bundle that contains the JPA stuffs does require DynamicImport-Package: * to find EclipseLink's weaving packages, I'll try to fix it as soon as I have a little time. -- View this message in context:

OpenJPA loggin in Karaf 2.3.0

2013-02-21 Thread lbu
Hi, I would like to know if someone was able to properly set-up OpenJPA to log SQL statements in Karaf 2.3.0: If I set the following properties in the persistence.xml, the statement are logged but in the console: properties property name=openjpa.Log

Re: karaf features and maven urls

2013-02-04 Thread lbu
It is a know bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=385413 -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-features-and-maven-urls-tp4027592p4027611.html Sent from the Karaf - User mailing list archive at Nabble.com.

karaf features and maven urls

2013-02-03 Thread lbu
Hi, I would like to know if it possible to set a repository alongside a karaf feauture e.g: feature name=my-feautre-1 version=1.0.0 repository=http://maven.mycompany.com; feature name=my-feautre-2 version=1.0.0 repository=file:///opt/maven feature name=my-feautre-3 version=1.0.0

Re: Eclkpselink bundle installation : features vs command

2013-02-03 Thread lbu
Hi, thank you I'll report it. For my understanding, why the features fails whereas the command doesn't ? -- View this message in context: http://karaf.922171.n3.nabble.com/Eclkpselink-bundle-installation-features-vs-command-tp4027584p4027607.html Sent from the Karaf - User mailing list

Eclkpselink bundle installation : features vs command

2013-02-02 Thread lbu
Hi, I've created a simple feature to automatically install all the eclipselink dependencies of a project and I've noticed the following behavior: When the bundle org.eclipse.persistence.asm is installed from the karaf shell, the bundle is installed karaf@btuninstall 89 karaf@btosgi:install

Karaf JPA and EclipseLink

2013-02-01 Thread lbu
Hi all, I've a little trouble to have JPA to work on Karaf 2.3.0 (JDK 1.7), I've create a bundle that contains - persistence unit - blueprint descriptor I've installed the required features: karaf@btfeatures:list -i State Version NameRepository Description [installed

Re: Karaf JPA and EclipseLink

2013-02-01 Thread lbu
Actually I do not care about transaction, it is only a study to catch what issue and drawbacks we may have if we move our applications to OSGi/Karaf. I can change it but it should not be the reason of the issue, isn't it? -- View this message in context:

Re: Karaf JPA and EclipseLink

2013-02-01 Thread lbu
Hi Christian, I've followed you tutorial and now I've switched to JTA but the result is again a bundle in GracePeriod: 16:39:39,556|DEBUG|.apache.aries.blueprint.container.AbstractServiceReferenceRecipe == Found initial references null for OSGi service

Re: karaf in production

2012-09-10 Thread lbu
Hi Jean-Baptiste, thank you for the quick answer. Do you think it would be possible to ship in any karaf release what files have been changed? This would simplify the upgrade process for karaf installations on which I deploy on. e.g: * Karaf 2.2.9: - etc/shell.init.script - lib/karaf.jar *

Apache Commons DBCP fragment

2012-01-30 Thread lbu
Hi, I'm working to a project OSGi-fication and I have a little trouble with a fragment that does not seem taken into account by Karaf (2.2.5). The fragment is supposed to add DynamicImport-Package to org.apache.commons.dbcp to look-up jdbc drivers. Here the META-INF/MANIFEST.MF of my fragment:

Re: Karaf, JPA and ConfigAdmin

2012-01-20 Thread lbu
cm:property name=jdbc.url value=jdbc:derby:./data/jpa;create=true/ /cm:default-properties /cm:property-placeholder bean id=DM class=lb.sandbox.osgi.jpa.DataManager init-method=init jpa:context property=em unitname=LBU type=EXTENDED map entry key=javax.persistence.jdbc.url