RE: Maven assembly plugin option?

2014-10-22 Thread CLEMENT Jean-Philippe
Hi Jean-Baptiste, I’m not too sure what activates the dev mode. Is it by setting this org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false? PS: Maybe it could be also useful to force “regular” (dev) update from the command line JP [@@ OPEN @@] De : Jean-Baptiste Onofré [mailto:j...@nanthrax.

RE: Maven assembly plugin option?

2014-10-22 Thread Jean-Baptiste Onofré
Good idea for a command alias updating the configuration using configuration commands. Again I'm on the road today. I will get back to you later today. Regards JB Sent from my Samsung Galaxy smartphone. Original message From: CLEMENT Jean-Philippe Date:22/10/2014 13:23

Re: Maven assembly plugin option?

2014-10-22 Thread Oliver Pajonk
Let me reply again (because I just did that myself): 1) You set (or rather comment in) org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false 2) You go to the setting org.ops4j.pax.url.mvn.repositories= \ and append to it these two lines after all the other lines: file:${karaf.home}/${kar

RE: Maven assembly plugin option?

2014-10-22 Thread CLEMENT Jean-Philippe
Ok, clear enough for me :) Thank you! JP [@@ OPEN @@] De : Oliver Pajonk [mailto:oli...@pjnk.de] Envoyé : mercredi 22 octobre 2014 13:44 À : user@karaf.apache.org Objet : Re: Maven assembly plugin option? Let me reply again (because I just did that myself): 1) You set (or rather comment in) o

OPS4J Pax Web & OSGI HTTP Service : 2 HTTP Servers ???

2014-10-22 Thread Charles Moulliard
Hi, When we deploy OPS4J Pax Web features on Karaf 2.3.x, do we run 2 HTTP servers (jetty instance, another) ? Why such a question: If I change the port number of jetty.xml --> 2 and deploy my war application, I can access it using localhost:8181 or localhost:2 java 22940 chmou

Re: OPS4J Pax Web & OSGI HTTP Service : 2 HTTP Servers ???

2014-10-22 Thread Achim Nierbeck
Hi, no. what you are actually doing is adding another connector which by default serves all the content that the first one also got. If you want to switch from 8181 to 2 you'll need to define it in the org.ops4j.pax.web.cfg file. There is a "hirarchy" in it. First the connector defined throug

Re: OPS4J Pax Web & OSGI HTTP Service : 2 HTTP Servers ???

2014-10-22 Thread Charles Moulliard
Good to know this hierarchy. Should be great to document it somewhere. On Wed, Oct 22, 2014 at 4:37 PM, Achim Nierbeck wrote: > Hi, > > no. what you are actually doing is adding another connector which by > default serves all the content that the first one also got. > If you want to switch from

Re: OPS4J Pax Web & OSGI HTTP Service : 2 HTTP Servers ???

2014-10-22 Thread Achim Nierbeck
it actually is already 2014-10-22 17:05 GMT+02:00 Charles Moulliard : > Good to know this hierarchy. Should be great to document it somewhere. > > On Wed, Oct 22, 2014 at 4:37 PM, Achim Nierbeck > wrote: > >> Hi, >> >> no. what you are actually doing is adding another connector which by >> defau

pax-logback-service not working in karaf distribution

2014-10-22 Thread syedbahm
Hi, After attempting to have a flume log4j appender but couldn't make it work as discussed as part of this thread.. http://karaf.922171.n3.nabble.com/Enabling-Flume-log4j-appender-logging-in-Karaf-td4036033.html#a4036041 and not knowing how to further debug the same.. thought of trying the pax-logb

Re: pax-logback-service not working in karaf distribution

2014-10-22 Thread Stuart McCulloch
Don’t install both pax-logging-logback and pax-logging-service pax-logging-service is the default service implementation that uses Log4J, pax-logging-logback is an alternative service implementation that uses logback - by installing both you’ll have two competing service implementations I’d a

Re: pax-logback-service not working in karaf distribution

2014-10-22 Thread syedbahm
Thx -- I have removed the pax-logging-service configuration from startup.properties. Even now I don't see the karaf.log getting populated. Any other pointer to debug this issue. [Please note the first post has all details of how I have done the configuration] --- INFO: Trying to lock /root/opt

Re: pax-logback-service not working in karaf distribution

2014-10-22 Thread Stuart McCulloch
Hi Syed, I see you’re using pax-logging 1.7.2 … I’d recommend using at least 1.7.3 because it has critical fixes for the logback backend: https://ops4j1.jira.com/browse/PAXLOGGING-178 and if you want to use logback’s support for dynamic configuration then use 1.8.0: https://ops4j1.jira.com/

Re: Creating Karaf custom distribution with JDBC data source

2014-10-22 Thread Achim Nierbeck
Hi, I'd go for solution 1. But this is just my 2 cents ;) regards, Achim 2014-10-21 23:07 GMT+02:00 boodoopl : > Hello, > > I wonder how to create custom Karaf 3.0.x distribution with Derby > datasource > installed on startup - I mean without need of calling jdbc:create command > manually. > >

Re: pax-logback-service not working in karaf distribution

2014-10-22 Thread syedbahm
Thx that seems to work ! -syed On 10/22/2014 12:15 PM, Stuart McCulloch wrote: Hi Syed, I see you’re using pax-logging 1.7.2 … I’d recommend using at least 1.7.3 because it has critical fixes for the logback backend: https://ops4j1.jira.com/browse/PAXLOGGING-178 and if you want to use logba