-
1. Re: Server adapter for karaf 4 in Jboss developer studio
lhein Dec 7, 2016 3:58 AM (in response to ashitoshw)1 of 1 people found this helpfulHi,
in Fuse Tooling we provided server adapters for Apache Karaf 2.x to 3 as well as adapters for Apache ServiceMix. Unfortunately we don't have the resources to maintain and extend those server adapters any more.
While the Apache ServiceMix adapters have already been removed in the latest tooling version the Apache Karaf adapters are still there and will be removed in a future version of our tooling in favor of our own JBoss Fuse server adapter.
JBoss Fuse 7 will most probably build on Karaf 4 so we will certainly support it via the JBoss Fuse server adapter, just not the community version.
Hope that helps!
Lars
-
2. Re: Server adapter for karaf 4 in Jboss developer studio
ashitoshw Dec 7, 2016 4:05 AM (in response to lhein)lhein Thanks a lot for your quick response, it's very helpful for us. It resolves my question.
-
3. Re: Server adapter for karaf 4 in Jboss developer studio
ashitoshw Dec 7, 2016 5:43 AM (in response to lhein)Hi....
We want to use jpa hibernate @PersistentContext annotation in our product.
Please find technological stack below
Jboss developer studio 9.0.0 G.A
Jboss Fuse 6.2 / 6.3 runtime server (Internally uses karaf V.2.4.0)
@PersistentContext does not work with karaf 2.4, it only works above Karaf v.3.0.x version.
How can I achieve this one? Please help.
-
4. Re: Server adapter for karaf 4 in Jboss developer studio
lhein Dec 7, 2016 6:09 AM (in response to ashitoshw)Btw. did u by any chance try to use the Karaf 3 server adapter for Karaf 4? Would be interesting if that works.
Lars
-
5. Re: Server adapter for karaf 4 in Jboss developer studio
grgrzybek Dec 7, 2016 6:14 AM (in response to ashitoshw)1 of 1 people found this helpfulHello Ashitosh,
JBoss Fuse 6.x, as a product uses supported version karaf 2.4 and aries-jpa 1.x.
@PersistenceContext annotation support was added in aries-jpa 2.x (see details here: [ARIES-1325] Redesign of jpa component - ASF JIRA).
If you want to use @PersistenceContext in your blueprint beans, please use Karaf 3 (or 4), but it can't be done with Fuse 6.x.
Karaf 4 will be supported with Fuse 7.
regards
Grzegorz
-
6. Re: Server adapter for karaf 4 in Jboss developer studio
ashitoshw Dec 7, 2016 6:46 AM (in response to lhein)I tried to configure karaf 4 bin for karaf 3 server adapter but it's not allowed.
Thanks for your response.
-
7. Re: Server adapter for karaf 4 in Jboss developer studio
lhein Dec 7, 2016 6:54 AM (in response to ashitoshw)I checked the latest Karaf 4 and it seems the structure changed quite a bit and therefor the server adapter for v3 won't work.
Lars
-
8. Re: Server adapter for karaf 4 in Jboss developer studio
ashitoshw Dec 7, 2016 6:54 AM (in response to grgrzybek)Thanks for your response, It's very helpful response for us. Earlier, I tried out one example on karaf 4 container, its working fine there. The problem is our client want us to work with Jboss fuse 6.x version. Now we will go without jpa hibernate dependency injection as its not feasible in Jboss fuse 6.x version.
Thanks once again!
-
9. Re: Server adapter for karaf 4 in Jboss developer studio
ashitoshw Dec 7, 2016 6:58 AM (in response to lhein)Okay.. thanks for info.
-
10. Re: Server adapter for karaf 4 in Jboss developer studio
grgrzybek Dec 7, 2016 7:07 AM (in response to ashitoshw)Ashitosh,
even if you can't use @PersistenceContext with Fuse 6.x, you still can use <jpa:context> in your blueprint container. See camel-persistence-part2/dao-jta.xml at jboss-fuse-6.2.1 · FuseByExample/camel-persistence-part2 · GitHub for example. Entire project: GitHub - FuseByExample/camel-persistence-part2.
regards
Grzegorz Grzybek