Re: Orderly shutting down services

2013-02-28 Thread Dan Tran
I am able to produce the issue with a couple of simple bundles. However, setting org.apache.aries.blueprint.preemptiveShutdown=false at etc/config.properties does not help. For my case now, I currently swallow the exception. But I still think the blueprint service should not disappear when i

Apache Karaf - Default logging pattern in org.ops4j.pax.logging.cfg

2013-02-28 Thread Claus Ibsen
Apache Karaf 2.3.0 has the following default log4j configuration log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %-32.32C %4L | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n Notice that we use %4L to output the source code lines But accor

Re: Apache Karaf - Default logging pattern in org.ops4j.pax.logging.cfg

2013-02-28 Thread Jean-Baptiste Onofré
Hi Claus, nice catch, I gonna take a look in Pax Logging how we handle this (direct delegation to Log4j or wrapper on top). Thanks Regards JB On 02/28/2013 10:57 AM, Claus Ibsen wrote: Apache Karaf 2.3.0 has the following default log4j configuration log4j.appender.out.layout.ConversionPatte

Deploying Karaf in Tomcat

2013-02-28 Thread Raman
Hi,        Deploying Karaf in Tomcat is the right usecase? anybody has done? we want to try because thought of using openshift for load balancing. I appreciate any suggestions if you have for me? Regards Raman

Re: Deploying Karaf in Tomcat

2013-02-28 Thread Achim Nierbeck
Hi Raman, I don't think it's the right use-case :) Karaf isn't just a OSGi framework (which you might run with the http-bridge) but it's a container giving you everything you need for Enterprise Applications based on OSGi. To my knowledge this hasn't been done in the past and I wonder how you want

Re: Deploying Karaf in Tomcat

2013-02-28 Thread Raman
Thank you Achim. Your response solidify my understanding. We want to explore Openshift perticurarly to autoscale horizontally and vertically. Regards Raman From: Achim Nierbeck To: user@karaf.apache.org; Raman Sent: Thursday, 28 February 2013 7:09 PM Subj

Deploying Karaf in openshift

2013-02-28 Thread Raman
Thank you, that is one option. Did anyone try deploying Karaf into openshift? I see some people tried out but didn't seem successful. Regards Raman From: Achim Nierbeck To: Raman Sent: Thursday, 28 February 2013 7:59 PM Subject: Re: Deploying Karaf in Tom

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

2013-02-28 Thread Andreas Pieber
which version of karaf do you use? Does the same problem (double start for a short period) also happen to other bundles? Kind regards, Andreas On Thu, Feb 28, 2013 at 7:10 AM, ralfKaraf wrote: > Hi there, > > not entirely sure if this is the right forum to ask the question. > I was deploying t

Re: Karaf JPA and EclipseLink

2013-02-28 Thread fbalicchia
Hi Luca, Thaks, I will take a look in the coming days. Regards --Filippo 2013/2/27 lbu > > I've created a new project on GitHub > (http://github.com/lburgazzoli/lb-karaf-examples) which contains a karaf + > jpa + eclipselink example (not 100 completed). > > Please have a look at it and tell if

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

2013-02-28 Thread ralfKaraf
Thanks Andreas, I use Karaf 2.3 and it happens for the blueprint as well. -- View this message in context: http://karaf.922171.n3.nabble.com/Pax-Wicket-project-bundle-starts-stops-twice-if-dev-watch-set-tp4027937p4027972.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Pax Wicket project bundle starts/stops twice if dev:watch set

2013-02-28 Thread Andreas Pieber
My guts are saying: either we do something wrong in the way bundles are refreshed or there's kind of a different bug... What do you mean with "it happens for the blueprint as well"? Independently this definitely sounds like something we do wrong and if it likely could affect more parts than pax wic

Re: Karaf JPA and EclipseLink

2013-02-28 Thread lbu
Hi Filippo, as today the bundle that contains the JPA stuffs does require "DynamicImport-Package: *" to find EclipseLink's weaving packages, I'll try to fix it as soon as I have a little time. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-JPA-and-EclipseLink-tp402757