Using Maven SNAPSHOT

2014-08-14 Thread MICHEL Jerome
Dear Karaf Team, I would like to make a Custom Release of Karaf with the maven plugin. It works as expected with the Karaf 3.0.1 version, but we would like to use the 3.0.2-SNAPSHOT. We didn't find the snapshot repository, is it available to public ? which is the url ? Regards JM [@@ OPEN @@]

Re: Using Maven SNAPSHOT

2014-08-14 Thread Achim Nierbeck
Hi the repository is available here: http://repository.apache.org/snapshots/ Karaf 3.0.2 can be found at: http://repository.apache.org/content/groups/snapshots/org/apache/karaf/apache-karaf/3.0.2-SNAPSHOT/ regards, Achim 2014-08-14 14:09 GMT+02:00 MICHEL Jerome : > Dear Karaf Team, > > > >

Re: How to transfer Karaf installation and setup to offline server?

2014-08-14 Thread Andreas Gies
Hello, you can find a complete example in a project I have created on github at [1]. The interesting pieces are in the _blended-karaf-parent_ module where all the required plugins are configured. There is a sample container in the module_blended-karaf-demo_. In the sample container you wil

Re: Using Maven SNAPSHOT

2014-08-14 Thread Jean-Baptiste Onofré
Hi, the SNAPSHOTs repo is there: https://repository.apache.org/content/groups/snapshots/ I will deploy an updated SNAPSHOT soon. Regards JB On 08/14/2014 02:09 PM, MICHEL Jerome wrote: Dear Karaf Team, I would like to make a Custom Release of Karaf with the maven plugin. It works as expecte

RE: Using Maven SNAPSHOT

2014-08-14 Thread MICHEL Jerome
After using the Karaf custom release we are able to create a zip file with the right version of karaf in it. But after launching it, karaf is apparently not founding an artifact as you can see in the log below : " artifactorg.eclipse.equinox:region:jar:1.0.0.v20110506:Could not find arti

Re: Using Maven SNAPSHOT

2014-08-14 Thread Jean-Baptiste Onofré
Hi, the equinox region 1.0 jar is on SMX M2 repo, so you have to add: smx-m2 http://svn.apache.org/repos/asf/servicemix/m2-repo ... Regards JB On 08/14/2014 03:31 PM, MICHEL Jerome wrote: After using the Karaf custom release we are able to create a zip file with the right version of kar

Re: Using Maven SNAPSHOT

2014-08-14 Thread Jean-Baptiste Onofré
By the way Jerome, why do you create a custom distro ? The Karaf standard distro doesn't match your requirements ? Regards JB On 08/14/2014 03:31 PM, MICHEL Jerome wrote: After using the Karaf custom release we are able to create a zip file with the right version of karaf in it. But after l

RE: Using Maven SNAPSHOT

2014-08-14 Thread CLEMENT Jean-Philippe
Hi Jean-Baptiste, The "smx-m2" repository was added in the .m2/settings.xml, but unfortunately the log is still complaining about missing "region" bundle. Don't know whether Karaf uses the settings.xml or not. Is it possible to obtain your settings.xml? We are making a custom distribution in or

Re: Using Maven SNAPSHOT

2014-08-14 Thread Jean-Baptiste Onofré
Hi JP, the artifact is on the SMX m2-repo: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/eclipse/equinox/region/1.0.0.v20110506/ I don't use anything special (around that) in my settings.xml as the Karaf pom already refers to the smx-m2 repo. Can you check that you enabled release/s

RE: Using Maven SNAPSHOT

2014-08-14 Thread CLEMENT Jean-Philippe
Both "smx-m2" release and snapshot are set to true. Karaf assembly works fine but the unpacked result freezes on startup with the "region" error message in the log. The assembly and the execution are made on a special machine which has a direct access to the internet. This machine is running un

Re: Using Maven SNAPSHOT

2014-08-14 Thread Jean-Baptiste Onofré
Do you have the smx-m2 in etc/org.ops4j.pax.url.mvn.cfg ? Regards JB On 08/14/2014 04:32 PM, CLEMENT Jean-Philippe wrote: Both "smx-m2" release and snapshot are set to true. Karaf assembly works fine but the unpacked result freezes on startup with the "region" error message in the log. The as

Re: Scheduler status?

2014-08-14 Thread Tim Jones
I am not aware of any Karaf specific offerings or anything specific about scheduling jobs in the OSGI specs. I don't know what is the 'suggested way' but we use Quartz (v 2.1.6) to schedule jobs in our Felix/Karaf application (FYI - the Apache Sling project which is OSGI based also uses Quartz).

Re: Scheduler status?

2014-08-14 Thread Kevin Carr
I have a scheduler that I created that I am putting on github. I will see about doing that tonight. I am us central timezone On Aug 14, 2014 3:36 PM, "Tim Jones" wrote: > I am not aware of any Karaf specific offerings or anything specific about > scheduling jobs in the OSGI specs. > > I don't

Re: Scheduler status?

2014-08-14 Thread Achim Nierbeck
Actually with Karaf 3, there is a scheduler service available. To use it you need to register a service with the Runnable Interface and two properties: org.apache.karaf.scheduler.task.id org.apache.karaf.scheduler.task.period It's a simple scheduler, and somewhere in the past it has been decided

Re: karaf 3.0.1 start error

2014-08-14 Thread asookazian2
I believe the machine needs to be online so the maven repos can be hit... -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-3-0-1-start-error-tp4034645p4034781.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-14 Thread asookazian2
This is an issue. We have users who will not know this unless it is explicitly documented. You should be able to modify the datasource-xxx.xml file when karaf is not running and karaf should always check for any changes to the xml files in deploy dir vs. the already deployed xml bundles. Then

Re: Scheduler status?

2014-08-14 Thread Tim Jones
Brandon, before you go to far down the track it might be best to access what capabilities you need for your scheduler. For example Quartz offers the ability to - trigger jobs (via simple/cron triggers) at a certain time of day (to the millisecond) on certain days of the week on certa