Not seeing services being exported via blueprint

2014-05-16 Thread constv
I have a bundle that should export references to shared services (in Karaf 3.0.1) This used to work fine in my other applications. Everything seems fine: I have my blueprint XML file under /resources/OSGI-INF/blueprint. Here's the sample contents: blueprint default-activation=eager

Re: HSQLDB in karaf

2014-05-16 Thread Jean-Baptiste Onofré
Hi Bogdan, in new Karaf version, you can install the jdbc features and use jdbc:create to create a datasource using HSQLDB type. Regards JB On 05/13/2014 04:18 PM, bogdan wrote: Hello, I would like to know if it is possible to configure HSQLDB to run in server mode in karaf as bundle or

Re: copying karaf high level folder for testing purposes

2014-05-16 Thread Jean-Baptiste Onofré
You can do that, and it's basically what's instance:clone does. But some file should be filtered like data/karaf.log for instance. Regards JB On 05/08/2014 08:50 PM, asookazian2 wrote: I am copying an existing working karaf extraction with features/bundles installed, etc. I'm doing this to

Re: Spring 4.0.2 and spring-dm

2014-05-16 Thread constv
Why do I need Spring? Do you mean for the DI wiring, or in general? ;) Lots of our application code/services have been developed with Spring, Spring has been used not only for DI, but for many other things, of course. I, of course, understand that the traditional Spring framework (not Spring-DM)

Test email, please ignore

2014-05-16 Thread Jamie G.
Hi All, Testing user email list - my apologies for the noise. Cheers, Jamie

Re: Spring 4.0.2 and spring-dm

2014-05-16 Thread Achim Nierbeck
Hi, From your description I still can't see your issue. Maybe you should tell us more about what you are up to. Are you trying to run multiple spring versions with spring-dm? How is your setup? Do you only manually install the spring feature. Do you reference the desired spring feature in your

Re: [ANN] Apache Karaf 3.0.1 Released!

2014-05-16 Thread Achim Nierbeck
Hi, could you tell us which features are installed at each start? or does this vary? regards, Achim 2014-05-15 16:48 GMT+02:00 CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com: I have time to spend on this problem :) After investigation it seems that Karaf installs some

uninstall bundle id range is not working consistently in 3.0.1

2014-05-16 Thread asookazian2
Is anybody else seeing that if you exec 'uninstall 32-40' for example not all the corresponding bundleid folders in the data/cache dir are being deleted? seems like a bug... 3.0.1 -- View this message in context:

Re: karaf using 100% cpu

2014-05-16 Thread Jean-Baptiste Onofré
Good point Freeman. The workaround is to override the connector in etc/jetty.xml to use the NIO one. Regards JB On 05/07/2014 07:49 AM, Freeman Fang wrote: Hi, I remember that some old jetty version have bugs can cause 100% CPU usage when use SSL, are you use jetty with SSL(through

RE: [ANN] Apache Karaf 3.0.1 Released!

2014-05-16 Thread CLEMENT Jean-Philippe
I have time to spend on this problem :) After investigation it seems that Karaf installs some features at each start. If the feature cannot be found then it crashes and freezes. Is there a way to prevent this to happen? JP [@@ THALES GROUP INTERNAL @@] De : j...@nanthrax.net

Re: uninstall bundle id range is not working consistently in 3.0.1

2014-05-16 Thread Jean-Baptiste Onofré
Thanks for the report. Let me try to reproduce it. Regards JB On 05/08/2014 08:23 PM, asookazian2 wrote: Is anybody else seeing that if you exec 'uninstall 32-40' for example not all the corresponding bundleid folders in the data/cache dir are being deleted? seems like a bug... 3.0.1 --

Re: Spring 4.0.2 and spring-dm

2014-05-16 Thread Achim Nierbeck
Hi, I'm gonna try to give you a quick response and will get back to this mail later with a bit more time. First of all I'm not suggesting to drop spring, you've been referring to camel at one point that's where I've got the impression that you might only need blueprint. But it might help already

Re: Test email, please ignore

2014-05-16 Thread Achim Nierbeck
Yeah, I also have the impression the mailing lists are not really back to 100% functionality. sent from mobile device Am 16.05.2014 18:01 schrieb Jamie G. jamie.goody...@gmail.com: Hi All, Testing user email list - my apologies for the noise. Cheers, Jamie

Re: Spring 4.0.2 and spring-dm

2014-05-16 Thread constv
Achim, thanks so much for taking the time to look into this and help me out. My original architectural approach (that has worked for me before) has been the following. I have a set of well-defined bundles, where one bundle consolidates some common (reusable, to be shared with other bundles)

start levels for datasource files in deploy dir

2014-05-16 Thread asookazian2
we copy datasource-*.xml files into the karaf/deploy dir. How do we enable/set start levels for these bundles so that they are started prior to the bundles that use/depend on them? -- View this message in context:

Re: [ANN] Apache Karaf 3.0.1 Released!

2014-05-16 Thread Ryan Moquin
He mentioned it several emails ago, specifically he mentioned the region feature wasn't found, as well as some name space handlers, so something isn't resolving the path to the repo properly... he attached his log to an earlier email sounds like a platform path related issue.. Ryan On May 16,

Re: HSQLDB in karaf

2014-05-16 Thread bogdan
Hello JB, I was aware about this option to add jdbc feature but this helps me only for the client part. But my question was if I can run HSQLDB in Karaf as a database server. Thank you, Bogdan -- View this message in context:

Re: Karaf Custom Distribution with customizations to etc/xxx.cfg files

2014-05-16 Thread Achim Nierbeck
Hi you might need to exclude the duplicates while generating the artefact even though you only see it while building, the zip does contain two and does extract both, where one is replace with the other. regards, Achim 2014-05-09 12:37 GMT+02:00 sreeraaman sreeraa...@gmail.com: Hi Ryan,

Re: Spring 4.0.2 and spring-dm

2014-05-16 Thread constv
Achim Nierbeck wrote Hi, From your description I still can't see your issue. Maybe you should tell us more about what you are up to. Are you trying to run multiple spring versions with spring-dm? How is your setup? Do you only manually install the spring feature. Do you reference the

Re: start levels for datasource files in deploy dir

2014-05-16 Thread asookazian2
we are making JNDI lookups to get the data source, so how do we reference as a service? -- View this message in context: http://karaf.922171.n3.nabble.com/start-levels-for-datasource-files-in-deploy-dir-tp4033155p4033162.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: start levels for datasource files in deploy dir

2014-05-16 Thread Achim Nierbeck
The startlevel is defined in the org.apache.felix.fileinstall-deploy.cfg and per default it is configured to be in SL 80. As startlevel 80 is also defined to be the startlevel for custom bundles installed per command line. Regarding the dependency, I'd rather not depent on the startleve. If you

RE: [ANN] Apache Karaf 3.0.1 Released!

2014-05-16 Thread CLEMENT Jean-Philippe
I have time to spend on this problem :) After investigation it seems that Karaf installs some features at each start. If the feature cannot be found then it crashes and freezes. Is there a way to prevent this to happen? JP De : j...@nanthrax.netmailto:j...@nanthrax.net

Re: start levels for datasource files in deploy dir

2014-05-16 Thread asookazian2
Also, at least in some of our cases, we are doing the JNDI lookup from Spring context xml. thx. -- View this message in context: http://karaf.922171.n3.nabble.com/start-levels-for-datasource-files-in-deploy-dir-tp4033155p4033163.html Sent from the Karaf - User mailing list archive at

Creating instances on dedicated IP addresses rather than varying the ports

2014-05-16 Thread Jim Talbut
Continuing this: http://mail-archives.apache.org/mod_mbox/karaf-user/201402.mbox/browser Setting up an instance (olt) using karaf 3.0.1 and configuring a default.interface as follows: etc/org.apache.karaf.shell.cfg:sshHost = ${default.interface}

Creating instances on dedicated IP addresses rather than varying the ports

2014-05-16 Thread Jim Talbut
Hi, Continuing this from a few months ago: http://karaf.922171.n3.nabble.com/Creating-instances-on-dedicated-IP-addresses-rather-than-varying-the-ports-td4031528.html Setting up an instance (olt) using karaf 3.0.1 and configuring a default.interface as follows:

RE: [ANN] Apache Karaf 3.0.1 Released!

2014-05-16 Thread Kevin Carr
Make sure what version of Java is beyond used by Karaf. I had this issue when 1.8 was used instead of 1.7. I set Java home in Karaf.bat or sh. On Apr 18, 2014 2:50 AM, CLEMENT Jean-Philippe jean-philippe.clem...@fr.thalesgroup.com wrote: I’m still stuck. Karaf 3.0.1 refuses to start and