Re: How to install bundle Offline

2019-10-09 Thread Miroslav Beranič
; http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html > > > > > > > -- > > Jean-Baptiste Onofré > > jbono...@apache.org <mailto:jbono...@apache.org> > > http://blog.nanthrax.net > > Talend - http://www.talend.com > > > > > > > > -- > > -- > > Christian Schneider > > http://www.liquid-reality.de > > > > Computer Scientist > > http://www.adobe.com > > > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com > -- Miroslav Beranič MIBESIS miroslav.bera...@mibesis.si https://www.mibesis.si

Re: Karaf SSH invalid encoding

2018-11-13 Thread Miroslav Beranič
Env variables are the same as before: karaf@root()> shell:echo $LANG en_US.UTF-8 karaf@root()> shell:echo $LC_ALL null karaf@root()> shell:echo $TERM xterm-256color Kind Regards, Miroslav V V pon., 12. nov. 2018 ob 10:49 je oseba Miroslav Beranič < miroslav.bera...@mibesis.si>

Re: Karaf SSH invalid encoding

2018-11-12 Thread Miroslav Beranič
share the LC_ALL, LANG and TERM env variables when you have or > don't have the issue ? > > Thanks, > Regards > JB > > On 12/11/2018 08:33, Miroslav Beranič wrote: > > Hi all, > > > > I have the same issue on Apache Karaf 4.2.2 ( commit > > da7ae8f76f

Re: Karaf SSH invalid encoding

2018-11-11 Thread Miroslav Beranič
gt; > > > input, > > > > output, > > > > StandardCharsets.UTF_8); > > > > > > > > I have replaced StandardCharsets.UTF_8 with null and when running Karaf > > with this modification, I do not have the char

Re: No URL is defined for schema http://www.springframework.org/schema/osgi.

2018-10-12 Thread Miroslav Beranič
u can use and prepare the boot features. I will > avoid some refresh and stick a init state. > > IMHO, it should help. > > Regards > JB > > On 12/10/2018 17:05, Miroslav Beranič wrote: > > Hi all, > > > > not quite done yet. > > > > So new day, new pr

Re: No URL is defined for schema http://www.springframework.org/schema/osgi.

2018-10-12 Thread Miroslav Beranič
y well and it is really easy to make it work. That is one of the biggest frustration, as it is such a nice platform, but one wrong JAR and all stops working ... Kind Regards, Miroslav V V čet., 11. okt. 2018 ob 12:52 je oseba Miroslav Beranič < miroslav.bera...@mibesis.si> napisala: &

Re: Pax JMS - ConcurrentModificationException

2018-10-11 Thread Miroslav Beranič
and getting error. I guess I will move to changed version, with use of ConcurrentHashMap. Kind Regards, Miroslav V V pon., 1. okt. 2018 ob 11:43 je oseba Miroslav Beranič < miroslav.bera...@mibesis.si> napisala: > Hi JB, > > agree, I guess I am more used to use ConcurrentHashMap t

Re: No URL is defined for schema http://www.springframework.org/schema/osgi.

2018-10-11 Thread Miroslav Beranič
ala: > Afair spring-dm doesn't support spring 4.3 either. It's up to spring 4.2. > so you have to install providing the target version. > > Further more you have to install spring-dm or blueprint spring extension. > > Regards > JB > Le 10 oct. 2018, à 15:34, "Miro

Re: No URL is defined for schema http://www.springframework.org/schema/osgi.

2018-10-10 Thread Miroslav Beranič
then you will have >> the spring-dm feature. >> >> Regards >> JB >> Le 10 oct. 2018, à 15:04, "Miroslav Beranič" >> a écrit: >>> >>> Hi all, >>> >>> I've read some messages in this mailing list ( last I found wa

No URL is defined for schema http://www.springframework.org/schema/osgi.

2018-10-10 Thread Miroslav Beranič
aries-blueprint-spring. What am I missing? Kind Regards, Miroslav -- Miroslav Beranič MIBESIS +386(0)40/814-843 miroslav.bera...@mibesis.si http://www.mibesis.si

Re: Pax JMS - ConcurrentModificationException

2018-10-01 Thread Miroslav Beranič
> https://github.com/ops4j/org.ops4j.pax.jdbc/commit/6bfeccea774195316d4d2382b5235a7c4d1501e0 > > > > already fix the issue ? > > > > I think the synchronized on methods are enough, so I think your PR is > > useless with this commit. > > > > Regards > >

Pax JMS - ConcurrentModificationException

2018-09-30 Thread Miroslav Beranič
( working with Karaf 4.2.2 ). Kind Regards, Miroslav -- Miroslav Beranič MIBESIS +386(0)40/814-843 miroslav.bera...@mibesis.si http://www.mibesis.si

Re: Karaf Configuration Update

2018-09-13 Thread Miroslav Beranič
od is called. > > If you want to listen for any config change, you can implement a > ConfigurationListener. > > I will add a example showing this if you want. > > Regards > JB > > On 13/09/2018 11:06, Miroslav Beranič wrote: > > Hi all, > > > > I wo

Karaf Configuration Update

2018-09-13 Thread Miroslav Beranič
heduler.quartz") and implements org.osgi.service.cm.ManagedService That has method void updated(Dictionary var1) throws ConfigurationException; this is great, but this method is not called. Is there any example/code I can look at at take as an starting point? Kind Regards, Miroslav -- Miro

Re: Bundle context - from inside POJO

2018-09-12 Thread Miroslav Beranič
Onofré wrote: > > FrameworkUtil.getBundle(Foo.class).getBundleContext(); > > > > Regards > > JB > > > > On 11/09/2018 13:43, Miroslav Beranič wrote: > >> Hi all, > >> > >> some junior question, but would like to make it corre

Re: Bundle context - from inside POJO

2018-09-12 Thread Miroslav Beranič
Thank you JB. V V tor., 11. sep. 2018 ob 13:46 je oseba Jean-Baptiste Onofré < j...@nanthrax.net> napisala: > FrameworkUtil.getBundle(Foo.class).getBundleContext(); > > Regards > JB > > On 11/09/2018 13:43, Miroslav Beranič wrote: > > Hi all, > > > > so

Bundle context - from inside POJO

2018-09-11 Thread Miroslav Beranič
some day - and even Karaf restart can happen ) Kind Regards, Miroslav -- Miroslav Beranič MIBESIS +386(0)40/814-843 miroslav.bera...@mibesis.si http://www.mibesis.si

Re: Apache Karaf 4.2.2 ( 4.2.x ) Quartz support, with JDBC Persistence and C3P0 JDBC pool

2018-09-07 Thread Miroslav Beranič
ted based on https://github.com/apache/karaf. > > Regards > JB > > On 07/09/2018 15:20, Miroslav Beranič wrote: > > Hi JB, > > > > ( I guess I did ok ), > > > > I've created PR at: > > https://github.com/mibesis/apache-karaf/pull/1 > &g

Re: Apache Karaf 4.2.2 ( 4.2.x ) Quartz support, with JDBC Persistence and C3P0 JDBC pool

2018-09-07 Thread Miroslav Beranič
find some details on the contribution guide: > > http://karaf.apache.org/community.html > > Don't hesitate to ping me (maybe you can join the Karaf Slack channel). > I would love to discuss with you about that. > > Regards > JB > > On 07/09/2018 14:53, Miroslav

Re: Apache Karaf 4.2.2 ( 4.2.x ) Quartz support, with JDBC Persistence and C3P0 JDBC pool

2018-09-07 Thread Miroslav Beranič
k out of the box for you. > > Let me take a look on your patch file to identify the missing parts. In > the mean time, do you mind to prepare a PR ? > > Thanks ! > Regards > JB > > On 07/09/2018 14:22, Miroslav Beranič wrote: > > Hi guys, > > > > I am work

Apache Karaf 4.2.2 ( 4.2.x ) Quartz support, with JDBC Persistence and C3P0 JDBC pool

2018-09-07 Thread Miroslav Beranič
tc. I need few days, to come over this and coffee cups, it is Friday now, so I guess I will grab some cold drink ... it was big learing experiance for me, to make this work. So this is my first patch file, if there is something else needed or I can support in someway, let me know. ( I know Schedul

Re: Karaf 4.2.1, 4.2.2 ( build from Git ) - Feature install blocked - condition race ( ? )

2018-09-05 Thread Miroslav Beranič
nthrax.net> napisala: > You should use feature:install -v -t to get details and simulation. > > Regards > JB > > On 05/09/2018 10:34, Miroslav Beranič wrote: > > HI JB, > > this can be, I would have to check for each feature, but as said: when > porting from Karaf

Re: Karaf 4.2.1, 4.2.2 ( build from Git ) - Feature install blocked - condition race ( ? )

2018-09-05 Thread Miroslav Beranič
can achieve this using > prerequisite flag: > > > foo > mvn:my/my/xx > > > Do you think you are in this case ? > > Regards > JB > > On 05/09/2018 09:42, Miroslav Beranič wrote: > > Hi giys, > > I am tracking mailing list last few weeks, ca

Karaf 4.2.1, 4.2.2 ( build from Git ) - Feature install blocked - condition race ( ? )

2018-09-05 Thread Miroslav Beranič
did not know what is wrong ... so no need to judge it for its beauty please :D :D ) I am building ActiveMQ, Camel, Pax, Karaf, Hibernate ... SNAPSHOT versions daily and testing it. Kind Regards, Miroslav -- Miroslav Beranič MIBESIS +386(0)40/814-843 miroslav.bera...@mibesis.si http://www.mibesis.si

Re: ActiveMQ support

2018-08-14 Thread Miroslav Beranič
Hi all, an answer to myself and anyone that runs into same issue: It needs additional shell compatibility feature: $ feature:install shell-compat Works now. All solved. Kind Regards, Miroslav 2018-08-14 15:35 GMT+02:00 Miroslav Beranič : > Hi all, > > so I moved from ServiceMix

ActiveMQ support

2018-08-14 Thread Miroslav Beranič
missing package ). Karaf version 4.2.1-SNAPSHOT, ActiveMQ version 5.15.5, Java version 8. Kind Regards, Miroslav -- Miroslav Beranič MIBESIS +386(0)40/814-843 miroslav.bera...@mibesis.si http://www.mibesis.si

Re: Apache Karaf 4.x JPA - Working example

2018-07-24 Thread Miroslav Beranič
ersistence capabilities > > About feature xml and blueprint DSL, this not the same. The feature XML is > used to packaging bundles and bundles/feature dependencies, the blueprint > xml is used to manage your services instances and their services usage. > > Regards > > Fran

Re: Apache Karaf 4.x JPA - Working example

2018-07-24 Thread Miroslav Beranič
oslav 2018-07-24 20:51 GMT+02:00 Jean-Baptiste Onofré : > Hi, > > François just fixed the JPA example of the DEV_GUIDE branch. > > I will add the corresponding examples itests tomorrow. > > Regards > JB > > On 20/07/2018 16:17, Miroslav Beranič wrote: > &g

Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Miroslav Beranič
; > > François Papon > > fpa...@apache.org > > > > Le 24/07/2018 à 22:31, Oleg Cohen a écrit : > >> Hi Miroslav, > >> > >> I think I found the issue. You are right a JAR is missing. > >> > >> I built org.apache.karaf.specs.locator-4.2.

Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Miroslav Beranič
INFO [activator-1-thread-2] Registering commands for bundle org.apache.karaf.log.core/4.2.0 I hope this is of any help. Kind Regards, Miroslav 2018-07-24 17:34 GMT+02:00 Oleg Cohen : > Hi Miroslav, > > Java is version 1.8 > > ava version "1.8.0_172" > J

Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Miroslav Beranič
Hi Oleg, one more question - what version of Java do you use? Kind Regards, Miroslav 2018-07-24 17:28 GMT+02:00 Miroslav Beranič : > Hi Oleg, > > well, I've never installed from here ( I did not even looked before). > Will try it for my self also. In Git repository I use

Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Miroslav Beranič
you! > Oleg > > On Jul 24, 2018, at 11:17 AM, Miroslav Beranič < > miroslav.bera...@mibesis.si> wrote: > > Hi Oleg, > > where from did you deployed Karaf? You build it from the source or some > pre-compiled package/distribution? > > In general this is sayi

Re: java.lang.NoClassDefFoundError: org/apache/karaf/specs/locator/OsgiLocator when running as Service on RedHat 7.5

2018-07-24 Thread Miroslav Beranič
oncurrent.FutureTask.run(FutureTask.java:266) [?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [?:?] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [?:?] > at java.lang.Thread.run(Thread.java:748) [?:?] > &

Re: Apache Karaf 4.x JPA - Working example

2018-07-24 Thread Miroslav Beranič
RequirementError.toException(Candidates.java:1343) ~[?:?] ... 12 more And now -- I do not know what is wrong and do not know what is wrong. Kind Regards, Miroslav 2018-07-24 9:44 GMT+02:00 Jean-Baptiste Onofré : > Thanks for the report. > > Let me double check. > > Reg

Re: Apache Karaf 4.x JPA - Working example

2018-07-24 Thread Miroslav Beranič
d Regards, Miroslav 2018-07-20 18:08 GMT+02:00 Jean-Baptiste Onofré : > Hi, > > the examples are for 4.2.x only not 4.1.x. > > All versions are contained in the JPA example itself, using hibernate > provided by Karaf 4.2.1. > > Regards > JB > > On 20/07/2018 16:17,

Apache Karaf 4.x JPA - Working example

2018-07-20 Thread Miroslav Beranič
What example should I follow ( URL / Git and branch ) ? This are my top questions. Kind Regards, Miroslav -- Miroslav Beranič MIBESIS +386(0)40/814-843 miroslav.bera...@mibesis.si http://www.mibesis.si