Re: feature.xml

2015-07-01 Thread Christian Schneider
Can you check the log if there is an error resolving the feature? The resolver is a little more strict with 1.3.0 festures. Christian Am 01.07.2015 um 19:11 schrieb Pratt, Jason: Hello – I am trying out karaf-4.0.0 and wanted to see how feature.xml are working in the /deploy directory. Is th

Re: PAX CDI not bootstrapping

2015-07-30 Thread Christian Schneider
Your beans.xml should be in src/main/resources/META-INF Christian Am 30.07.2015 12:49 nachm. schrieb "Tom Barber" : > Okay gang, > > I've tried 0.13.0-SNAPSHOT and I still can't for the life of me figure out > why I don't get my dependency injected. > > Here is a stripped out version: > https://g

Re: A unit tests where the test runs --- outside --- karaf

2015-07-31 Thread Christian Schneider
code that is not OSGi and not inside the container. The point here is to talk to a web service inside the container from outside. Is there a model for this? -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Need help with OpenJPA JTA

2015-08-13 Thread Christian Schneider
Hi, I do not see any obvious errors in what you posted. Can you put some complete code for the problem on github or similar? Another option would be to wait till apache karaf 4.0.1 is out and test with the new jpa 2.1.0 implementation. You should also try to upgrade to pax-jdbc 0.7.0-SNAPSHOT.

Re: inject service using cxf

2015-08-18 Thread Christian Schneider
xf 2.7.11, postgresql 9.1, JPA 2.1, hibrenate 4.3.6.FINAL: these are the only versions that worked together for me Many Thanks Slim -- View this message in context: http://karaf.922171.n3.nabble.com/inject-service-using-cxf-tp4041915.html Sent from the Karaf - User mailing list archive at Na

Re: inject service using cxf

2015-08-19 Thread Christian Schneider
The problem is that there are two instances of com.person.rest.RestServiceImpl. One is creatd by blueprint and correctly injected. The other is created by camel-cxf and is not injected with the jsonResponseService. The problem is this: serviceClass="com.person.rest.RestServiceImpl" loggingFea

Re: Anyone Going to apache con core eu?

2015-08-22 Thread Christian Schneider
Hi Nino, I know that at least Achim and I are going and hold presentations about Apache Karaf. Christian Am 22.08.2015 um 14:03 schrieb nino martinez wael:

Re: Aries JPA EmSupplier understanding

2015-08-26 Thread Christian Schneider
Am 26.08.2015 12:32 nachm. schrieb "ellirael" : > > Looking through page at http://aries.apache.org/modules/jpaproject.html and > samples at > https://svn.apache.org/repos/asf/aries/trunk/jpa/examples/tasklist-blueprint/src/main/java/org/apache/aries/jpa/example/tasklist/blueprint/impl/ > I underst

Re: Karaf: How to get Equinox DS working correctly

2015-08-31 Thread Christian Schneider
Eventadmin is special as it provides an optional package for the feature servcies. So resolving eventadmin causes the feature service to restart which can cause problems. So it is important to install eventadmin very early. Currently we start a customizef felix eventadmin in startup.properties. Yo

RE: EIK: Karaf 4 support on Eclipse Mars

2015-09-04 Thread Christian Schneider
I agree that adapting bndtools might be the better choice. The biggest problem currently is that the karaf community is not experienced with bndtools. I plan to look into bndtools soon. Christian Am 02.09.2015 16:22 schrieb "Leschke, Scott" : > For what it's worth, I think that providing a nice in

Re: Karaf 4.0.1: eclipselink and CXF

2015-09-10 Thread Christian Schneider
I think the crucial thing is to have dependency = true in the jta bundle desc of the cxf feature. Karaf will then make sure to only install the jta if no other version of it is already installed. Can you open a jira for this. I will take care of the change in cxf then. Christian Am 05.09.2015

Re: backtraces on Aries blueprint init method exceptions

2015-09-10 Thread Christian Schneider
I also think it should be blueprint related. Can you open an issue at aries? Christian Am 02.09.2015 um 21:13 schrieb Benson Margulies: When a blueprint bean's init method throws an exception, the karaf log does not get the 'cause' backtrace, which makes it rather opaque. Is this an Aries issu

Re: Bundle is waiting for namespace handlers [http://aries.apache.org/xmlns/jpa/v1.0.0]

2015-09-16 Thread Christian Schneider
-jpa-v1-0-0-tp4042275p4042618.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bundle is waiting for namespace handlers [http://aries.apache.org/xmlns/jpa/v1.0.0]

2015-09-16 Thread Christian Schneider
, Achim Nierbeck wrote: does that imply you only can use the annotations, and rely on a generated blueprint.xml? 2015-09-16 11:05 GMT+02:00 Christian Schneider mailto:ch...@die-schneider.net>>: Hi Jochen, yes this is correct. Aries JPA 2 only uses the annotations. In addi

Re: Blueprint Property Placeholders with Metatype Information

2015-09-16 Thread Christian Schneider
: [...] [...] Is this the right approach or should file synchronization work without any explicit attribute definition for "felix.fileinstall.filename"? Thanks in advance, Gregor -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bundle is waiting for namespace handlers [http://aries.apache.org/xmlns/jpa/v1.0.0]

2015-09-16 Thread Christian Schneider
Your are not wrong Aries JPA 2 and Aries transaction 3 will be annotation only. You will only have the enable elements in the xml. This was announced quite a while ago on the dev list. In fact the disruptive nature is why both are major versions. The JPA and JTA annotations are not related in a

Re: Bundle is waiting for namespace handlers [http://aries.apache.org/xmlns/jpa/v1.0.0]

2015-09-17 Thread Christian Schneider
-xmlns-jpa-v1-0-0-tp4042275p4042641.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bundle is waiting for namespace handlers [http://aries.apache.org/xmlns/jpa/v1.0.0]

2015-09-17 Thread Christian Schneider
ries-apache-org-xmlns-jpa-v1-0-0-tp4042275p4042641.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf upgrade 3.0.2 -> 4.0.1 leads to ServiceUnavailableException

2015-09-18 Thread Christian Schneider
correct (even if not recommended)? Thank you, JP [@@ OPEN @@] -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf upgrade 3.0.2 -> 4.0.1 leads to ServiceUnavailableException

2015-09-18 Thread Christian Schneider
. Christian Am 18.09.2015 um 12:33 schrieb CLEMENT Jean-Philippe: I understand. The problem is the bundle (A) is failing to start. I do not get a null object. I don’t know why it was always working perfectly and now not working at all. Regards, JP [@@ OPEN @@] *De :*Christian Schneider

Re: Karaf upgrade 3.0.2 -> 4.0.1 leads to ServiceUnavailableException

2015-09-18 Thread Christian Schneider
availability still has to be optional in order not to go in grace period. I did not succeed in getting a null object. Why isn’t the bundle (A) waiting before failing? JP -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf upgrade 3.0.2 -> 4.0.1 leads to ServiceUnavailableException

2015-09-18 Thread Christian Schneider
/discovery has ended and then missing services are errors. I have the feeling that the starting phase ends too early for some reason. Are there any Aries blueprint settings about parallelism or things like that? JP [@@ OPEN @@] -- Christian Schneider http://www.liquid-reality.de Open

Re: Karaf JTA and JDBC DataSource

2015-09-19 Thread Christian Schneider
m/Karaf-JTA-and-JDBC-DataSource-tp4039081p4040243.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-JTA

Re: Karaf JTA and JDBC DataSource

2015-09-19 Thread Christian Schneider
e without an adapter. Then I checked git repo: https://github.com/ops4j/org.ops4j.pax.jdbc. There is no mention about postgress. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-JTA-and-JDBC-DataSource-tp4039081p4040239.html Sent from the Karaf - User mailing list archiv

Re: Karaf 4.0.1 -- create Pooled Oracle datasource

2015-09-23 Thread Christian Schneider
source-tp4042724.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4.0.1 -- create Pooled Oracle datasource

2015-09-23 Thread Christian Schneider
Oops .. my bad. When I used jdbc:ds-factories it worked. You should also do "feature:install transaction" to get a xa ready DataSourceFactory. Christian On 23.09.2015 10:01, Christian Schneider wrote: The model to create datasources has changed in karaf 4. We now use pax-jdbc to

Re: Karaf 4.0.1 -- create Pooled Oracle datasource

2015-09-23 Thread Christian Schneider
ma/spring";> ... interface="javax.sql.DataSource" filter="(osgi.jndi.service.name=<osgi_jndi_servicename_to-be_in_spring>)" /> -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-1-create-Pooled-Oracle-datasource-tp4042

Re: Karaf 4.0.1 - Unable to locate Spring NamespaceHandler for XML schema namespace [http://camel.apache.org/schema/spring]

2015-09-24 Thread Christian Schneider
-http-camel-apache-org--tp4042748p4042752.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Christian Schneider
You can use the placeholder-suffix="]"/> It allows access to the System.properties and use it for shared config. See: https://github.com/apache/karaf/blob/karaf-3.0.x/bundle/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml It can be used together with a cm:property-placeholder that cont

Re: Karaf 4.0.1 - Unable to locate Spring NamespaceHandler for XML schema namespace [http://camel.apache.org/schema/spring]

2015-09-25 Thread Christian Schneider
If you take a look at the camel-spring feature in detail: start-level="50"> dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 spring spring-dm spring-tx version="2.15.2">camel-coremvn:org.apache.camel/camel-spring/2.15.2 It limits the spring dependency to <=4. So you

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Christian Schneider
direction. On Fri, Sep 25, 2015 at 11:34 AM Christian Schneider mailto:ch...@die-schneider.net>> wrote: You can use the It allows access to the System.properties and use it for shared config. See: https://github.com/apache/karaf/blob/karaf-3.0.x/bundle/core/s

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Christian Schneider
easier for us to update said properties. On Fri, Sep 25, 2015, 5:43 AM Christian Schneider mailto:ch...@die-schneider.net>> wrote: You should also look into your architecture to see why you need to share some config. In some cases you can extract the commonalities into a

Re: Best practices : Configuration shared between bundles

2015-09-25 Thread Christian Schneider
backend (and if they keep the same API), I can just update my properties customers.url and contracts.url. As it doesn't seem to be possible, I think creating proxies for those service is the best design choice right now but it's a bit over work when I can simply the http4 camel compo

Re: Karaf JMS Feature breaks OpenJPA Feature

2015-10-01 Thread Christian Schneider
- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: OpenJPA 2.4.0

2015-10-03 Thread Christian Schneider
The openjpa feature currently has an issue with the jta 1.2 api. So this might be the problem. It is a bit difficult to say as you did not provide what you tried and what error you got. Christian Am 03.10.2015 um 01:22 schrieb Pratt, Jason: I can’t seem to add this feature, is it not availab

Re: Migration to Karaf 4.0.1

2015-10-09 Thread Christian Schneider
why not inject the EntityManager blueprint. Can you help me? Thank you. -- View this message in context: http://karaf.922171.n3.nabble.com/Migration-to-Karaf-4-0-1-tp4042982.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Migration to Karaf 4.0.1

2015-10-09 Thread Christian Schneider
Your DataSource is not ready for JTA. This will cause your transactions to not work correctly. You should use pax-jdbc instead of blueprint to create the DataSource it will make sure you have a production ready DataSource. See: https://ops4j1.jira.com/wiki/display/PAXJDBC/Create+DataSource+from

Re: Migration to Karaf 4.0.1

2015-10-11 Thread Christian Schneider
the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4.0.2: Problem Eclipselink 2.6.0 with JPA 2.2.0?

2015-10-14 Thread Christian Schneider
message in context: http://karaf.922171.n3.nabble.com/Karaf-4-0-2-Problem-Eclipselink-2-6-0-with-JPA-2-2-0-tp4043068.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Problem with JPA 2.2.0 in Karaf 4.0.2

2015-10-14 Thread Christian Schneider
ion (2.1.0) the problem will be solved. Should I change anything in my code to make it work with "aries.jpa.blueprint/2.2.0" or this is a bug? Regards, Mohammad Shamsi -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Problem with JPA 2.2.0 in Karaf 4.0.2

2015-10-14 Thread Christian Schneider
supported in jpa 2.2.0 or I have to use @Transactional annotation? -- View this message in context: http://karaf.922171.n3.nabble.com/Problem-with-JPA-2-2-0-in-Karaf-4-0-2-tp4043078p4043085.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http

Re: Equivalent to Spring AOP or EJB3 interceptor in Karaf?

2015-10-21 Thread Christian Schneider
-Karaf-tp4043161p4043162.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Pax-exam: dependencies not injected

2015-11-06 Thread Christian Schneider
deployed at runtime. So, which bundle should I be using that contains Inject and that works with Pax-Exam as well for runtime? Best regards, Alex soto -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Pax-exam: dependencies not injected

2015-11-06 Thread Christian Schneider
feature in a stand alone Karaf without Pax-Exam. I may upgrade to 4.0.3 if it comes out soon. Thanks for the help and best regards, Alex soto -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Disappearing class in javax.el

2015-11-08 Thread Christian Schneider
The problem you observe can happen if the classloader that is used does not see the necessary packages. As in OSGi each bundle classloader can only see the packages it imports you can have the effect that you can not load a package even if it is in the bundle if the code uses a classloader that

Re: Cant create JDBC DS (4.0.2)

2015-11-09 Thread Christian Schneider
1.n3.nabble.com/Cant-create-JDBC-DS-4-0-2-tp4043368.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4 ds-create command creates wrong config for Postgres

2015-11-09 Thread Christian Schneider
You can already install pax-jdbc like I described no need for a newer version. In karaf 4.0.3 I think JB integrated it by default so you just need to install the jdbc feature. My intention in not including it was to let the user choose the version he wants. JB wrote that this should still be

Re: [ANN] Apache Karaf 4.0.2 Released!

2015-11-10 Thread Christian Schneider
set a minimum version for maven in the pom files for karaf then ... regards, Achim -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Problems with Apache Aries Transaction Blueprint bundle start in Karaf 4.0.3

2015-11-11 Thread Christian Schneider
at java.lang.Thread.run(Thread.java:745) -- View this message in context: http://karaf.922171.n3.nabble.com/Problems-with-Apache-Aries-Transaction-Blueprint-bundle-start-in-Karaf-4-0-3-tp4043420.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider h

Re: Karaf: Adding mysql JDBCAppender

2015-11-12 Thread Christian Schneider
I dont think the log4j JDBCAppender is made for OSGi. It probably tries to load the mysql driver using its own classloader which of course has no import for the mysql packages. Instead you should take a look at apache decanter. It also has an appender for jdbc. So this could work with mysql.

Re: Problems with Apache Aries Transaction Blueprint bundle start in Karaf 4.0.3

2015-11-12 Thread Christian Schneider
I can not yet reproduce the issue. So I have no idea how to fix it. Christian Am 12.11.2015 um 13:53 schrieb ellirael: Any new info here? This problem kills production env for sure. -- View this message in context: http://karaf.922171.n3.nabble.com/Problems-with-Apache-Aries-Transaction-Blu

Re: Problems with Apache Aries Transaction Blueprint bundle start in Karaf 4.0.3

2015-11-13 Thread Christian Schneider
.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: 4.0.3 Karaf JPA problem.

2015-11-13 Thread Christian Schneider
EntityManager))] (I change the service id). -- View this message in context: http://karaf.922171.n3.nabble.com/4-0-3-Karaf-JPA-problem-tp4043497.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: 4.0.3 Karaf JPA problem.

2015-11-14 Thread Christian Schneider
In Aries JPA 2.1.0 it was possible to colocate the persistence unit and the impl using the EntityManager. The reason is that in that version the EntityManager service is simply accessed using plain OSGi API. So the blueprint startup is not waiting for the service. The problem with this behavio

Re: 4.0.3 Karaf JPA problem.

2015-11-14 Thread Christian Schneider
Not exactly. You mainly have to separate the @Entity classes from the classes that use @PersistenceContext. 1. a bundle containing persistence.xml and @Entity classes 2. a bundle containing the DAO classes that use the EntityManager with @PersistenceContext. A third bundle that uses the DAO w

Re: Decanter with plain elasticsearch?

2015-11-17 Thread Christian Schneider
You just need to set the config to your external instance. See http://karaf.apache.org/manual/decanter/latest-1/index.html#_elasticsearch Christian Am 17.11.2015 um 09:14 schrieb Stefan Meisner Larsen: Hi, Just a short questtion: Can I easily use Decanter against a elasticsearch 2.0? Thank

Re: Dynamic parameters in persistence.xml

2015-11-19 Thread Christian Schneider
-parameters-in-persistence-xml-tp4043602.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Problem with JPA 2.2.0 in Karaf 4.0.2

2015-11-19 Thread Christian Schneider
Sounds like a valid problem. Can you open a jira issue for it? Do you also observe this problem when using the new transaction blueprint 2.0.0 using annotations? Christian Am 19.11.2015 um 16:04 schrieb mhshams: Sorry for the very late reply. I just got some time to debug the code and I think

Re: Problems with Apache Aries Transaction Blueprint bundle start in Karaf 4.0.3

2015-11-21 Thread Christian Schneider
I looked into the configs and interestingly the first error seems to be with JMX. So maybe when this fails the blueprint bean or context shuts down and the namespace error is just a follow up. So I will look into the JMX problem and see if I can provide a fix to it. Christian Am 21.11.2015 um

Re: Problems with Apache Aries Transaction Blueprint bundle start in Karaf 4.0.3

2015-11-23 Thread Christian Schneider
ith-Apache-Aries-Transaction-Blueprint-bundle-start-in-Karaf-4-0-3-tp4043420p4043675.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf not able to resolve JAXB classes.

2015-11-23 Thread Christian Schneider
asses all Junit tests in eclipse. In fact, I don't quite understand the reason behind disable jre's to progress further. How to resolve this? Appreciate your input in this. Thanks and regards, Ravi Nallappan -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4.0.3 & JPA

2015-11-24 Thread Christian Schneider
ransaction-api/persistence-api features I have installed: Caused by: java.lang.NoClassDefFoundError: javax/transaction/SystemException at org.apache.openjpa.persistence.osgi.PersistenceActivator.start(PersistenceActivator.java:61) Before reverting back to Karaf 3.0.5...is there anything else I can try? Suggestions? Thanks, Jason -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4.0.3 & JPA

2015-11-25 Thread Christian Schneider
ople can actually use JPA/JTA stuff as in 3.0? regards, Achim 2015-11-25 8:05 GMT+01:00 Christian Schneider <mailto:ch...@die-schneider.net>>: The old namespace for jpa is not supported anymore by Aries JPA 2.x. Can you try with the new namespaces like used in my t

Re: Karaf 4.0.3 & JPA

2015-11-25 Thread Christian Schneider
think it would be possible to support previous namespace (jpa/v1.0.0) ? It would be convenient for a migration like Jason's use case. Regards JB On 11/25/2015 08:05 AM, Christian Schneider wrote: The old namespace for jpa is not supported anymore by Aries JPA 2.x. Can you try with the new

Re: Karaf 4.0.3 & JPA

2015-11-25 Thread Christian Schneider
nts. Regards JB On 11/25/2015 08:41 PM, Christian Schneider wrote: The documentation at the Aries web site already explains the main steps. So I think I would not duplicate this in the karaf dev guide. Maybe in tutorial form but I think the

Re: Karaf 4.0.3 & JPA

2015-11-25 Thread Christian Schneider
is as default behavior and if required install the 2.0.0 of the jpa version. regards, Achim 2015-11-25 21:38 GMT+01:00 Christian Schneider mailto:ch...@die-schneider.net>>: I completely forgot that you can still install jpa 1.x in karaf 4. So people just need to install the featur

Re: Bndtools & Karaf : the right way

2015-11-25 Thread Christian Schneider
Hi David, I also thought about how to nicely deploy applications created by bndtools. I think there are two general ways of using karaf 1. Server mode You deploy several independent deployment units to karaf. This is for example used by Talend or Redhat to deploy many indepenent integrations

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
pache.org> http://blog.nanthrax.net <http://blog.nanthrax.net/> Talend -http://www.talend.com <http://www.talend.com/> -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
encies further down were not considered. Probably this is a bug in the feature service or resolver. I will create an example project and issue so we can solve this. So apart from the issue I had the only critical thing missing is that I can reference the obr repo in the feature.xml. Christian -

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
When one installs a feature, it's simply translated into a new requirement that point to this feature. https://github.com/apache/karaf/blob/master/features/core/src/main/java/org/apache/karaf/features/internal/resolver/ResourceUtils.java#L169-L180 Guillaume 2015-11-26 9:52 GMT+01:00 Chris

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
Am 26.11.2015 um 10:59 schrieb David Leangen: Perhaps, but I am not so sure. I can envision, for instance, configuration parameters on 3 levels: 1) default parameters (probably provided in the code) * reasonable defaults for a generalised environment * coded by the developer 2)

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
index is just the pool of bundles/resources to pick from. You need to give the resolver the initial hooks to pull the needed bundles out of this pool. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
steps in the pipeline it typically does not make sense to let them define the deployment on their own. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
be used by the deployer. Any thoughts to help me get up and running quickly would be very welcome. :-) Cheers, =David -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
index and install the application bundle. That might already work out of the box. Christian On 26.11.2015 14:40, Christian Schneider wrote: We are currently discussing this on the karaf irc. As the long term solutions are not yet ready I would use a practical approach for now. How about

Re: Bndtools & Karaf : the right way

2015-11-26 Thread Christian Schneider
bundles. Just use the feature:requirement-add command. feature:requirement-add 'requirement:osgi.identity;osgi.identity=org.apache.aries.blueprint.core;type=osgi.bundle;version="[1,2)"' Guillaume 2015-11-26 14:40 GMT+01:00 Christian Schneider mailto:ch...@die-schneider

Re: Bndtools & Karaf : the right way

2015-11-30 Thread Christian Schneider
e:requirement-add ‘requirement:osgi.identity;osgi.identity=my.bundle;type=osgi.bundle' Still trying. I must be doing something wrong… :-( Cheers, =David -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-11-30 Thread Christian Schneider
maybe a zip containing the xml repository and the bundles, including the application bundle. I'll investigate to make sure you can deploy it easily. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-11-30 Thread Christian Schneider
really nice hand over point between the developer and deployer roles you defined. The developer builds the bundles as well as the index into the maven repository and the deployer installs from there. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http

Re: Bndtools & Karaf : the right way

2015-11-30 Thread Christian Schneider
model (OBR) is enough, and is the “OSGi Way”. Maven is a different world. Since I have been maven-free, it has been quite liberating. I see OSGi in a different (IMO nicer) way now. :-) Just my 2yen. Cheers, =David -- Christian Schneider http://www.liquid-reality.de Open Source Architect http

Re: Karaf 4.0.3 & JPA

2015-11-30 Thread Christian Schneider
l the "jpa" feature which will give you the new 2.x version. openjpa/${openjpa.version} Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4.0.3 & JPA

2015-11-30 Thread Christian Schneider
l install the "jpa" feature which will give you the new 2.x version. openjpa/${openjpa.version} Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Karaf 4.0.3 & JPA

2015-11-30 Thread Christian Schneider
No idea why the namespace handler does not seem to be present. You can look through the bundles with la -s and check if the transaction blueprint 2.0.0 bundle is present. You can then do bundle:service -p to see which services it offers. It should offer the correct blueprint namespace handler.

Re: Karaf 4.0.3 & JPA

2015-11-30 Thread Christian Schneider
30.11.2015 um 19:07 schrieb Jason Reilly: On 11/30/2015 12:33 PM, Christian Schneider wrote: No idea why the namespace handler does not seem to be present. You can look through the bundles with la -s and check if the transaction blueprint 2.0.0 bundle is present. karaf@root()> la -s | g

Re: Bndtools & Karaf : the right way

2015-11-30 Thread Christian Schneider
Am 01.12.2015 um 05:55 schrieb David Leangen: So as you see it is not the build system. I would be interested how you do all the things above without the maven repo. I get the feeling that you are comparing apples to smoothies. The apple is the actual repository, i.e. convention as to wher

Re: Bndtools & Karaf : the right way

2015-12-01 Thread Christian Schneider
I also like the karaf shell a lot. The main thing I dislike is that the command or better Action class is not a singleton and so it is difficult to provide as a service. Felix gogo is much nicer in this regard. With the current enhancements from Guillaume it will be a lot nearer karaf in regard

Re: Bndtools & Karaf : the right way

2015-12-02 Thread Christian Schneider
e Cave. So basically, you are not a very Karaf supporter ;) Too bad ;) Regards JB -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-12-02 Thread Christian Schneider
sible to generate it but it would not save you a lot of effort. Christian -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Bndtools & Karaf : the right way

2015-12-02 Thread Christian Schneider
cking support for an obr index that backs a feature file. As soon as Guillaume pushes his changes it should become clearer what karaf can do there. Then you just add your indexes and the application bundle to the feature file and karaf does the resolve step at runtime. Christian -- Chri

Re: Bndtools & Karaf : the right way

2015-12-02 Thread Christian Schneider
Am 02.12.2015 um 15:51 schrieb Guillaume Nodet: Remember resource repositories can also point to other resource repositories. Interesting. I did not know this. That makes it a lot easier of course. I read in the bndtools doc that it support multiple kind of repositories. Can't we just add

Re: Bndtools & Karaf : the right way

2015-12-03 Thread Christian Schneider
. I think if you want to do the full resolution in bndtools (application mode) this is the best way to go. Christian Cheers, =David -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Problems with Apache Aries Transaction Blueprint bundle start in Karaf 4.0.3

2015-12-03 Thread Christian Schneider
-Blueprint-bundle-start-in-Karaf-4-0-3-tp4043420p4044040.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Aries JPA blueprint schema locations

2015-12-10 Thread Christian Schneider
tp://aries.apache.org/schemas/ folder. -- View this message in context: http://karaf.922171.n3.nabble.com/Aries-JPA-blueprint-schema-locations-tp4043435.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: Aries JPA blueprint schema locations

2015-12-14 Thread Christian Schneider
af.922171.n3.nabble.com/Aries-JPA-blueprint-schema-locations-tp4043435p4044282.html Sent from the Karaf - User mailing list archive at Nabble.com. -- Christian Schneider http://www.liquid-reality.de Open Source Architect http://www.talend.com

Re: openjpa and karaf

2015-12-15 Thread Christian Schneider
er? > > > > Thanks, > > Pauline > > > > > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de> Open Source Architect h

Re: Missing dependency javax.transaction.TransactionManager with transaction feature and activemq-camel

2015-12-16 Thread Christian Schneider
ing to this geronimo jta package, which is something I did not see when the features are installed separately. Not sure, but this maybe related to javax.transaction being in the boot delegation section? (I don't totally understand what boot delegation does) Did I find a bug in the karaf

Re: Missing dependency javax.transaction.TransactionManager with transaction feature and activemq-camel

2015-12-16 Thread Christian Schneider
27;m not sure what might be different between our two setups which would matter? On Wed, 16 Dec 2015 17:33:46 +0100, Christian Schneider wrote: I just tried this: feature:repo-add activemq 5.13.0 feature:repo-add camel 2.16.1 feature:install transaction activemq-camel After this I have two bun

Re: Datasource not found

2015-12-20 Thread Christian Schneider
les start. > > So how do I get it to find the datasource before trying to start my bundle > with blueprint? > > Thanks > > Tom > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a

Re: Karaf 4.0.2: Problem Eclipselink 2.6.0 with JPA 2.2.0?

2015-12-22 Thread Christian Schneider
raf.922171.n3.nabble.com/Karaf-4-0-2-Problem-Eclipselink-2-6-0-with-JPA-2-2-0-tp4043068p4044427.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- -- Christian Schneider http://www.liquid-reality.de <https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e4

Re: Merry Christmas

2015-12-25 Thread Christian Schneider
gt; I >> > worked on it yesterday and I will work again on it today. I hope to >> send a >> > vote e-mail soon. >> > >> > Again Merry Christmas >> > JB >> > >> > -- -- Christian Schneider http://www.liquid-reality.de <https:/

  1   2   3   4   5   6   >