Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Benson Margulies
This is only a problem for errors. On Wed, Mar 16, 2016 at 8:11 AM, Benson Margulies wrote: > > > > > /doc > >class="org.eclipse.jetty.server.handler.ResourceHandler"> > ../../doc >

Re: Blueprint or DS or what to use?

2016-03-19 Thread Guillaume Nodet
No, there aren't any docs at the moment, and it has not been much used yet. I haven't had any time to write a karaf feature for it yet ... The blueprint-spring bundle allows you to use the standard spring namespace along with spring custom namespaces from blueprint applications. The

Re: Karaf 4.0.3 + pax-cdi

2016-03-19 Thread conejo
Good afternoon. For if this can interest someone. The problem is in the assembly. If pom.xml is added to the appropriate libraries, everything works fine. The libraries to be added can be viewed at: http://karaf.922171.n3.nabble.com/Karaf-assembly-td4045816.html -- View this message in

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Achim Nierbeck
ahh it's a closed connection ... which version of Pax-Web are you using? And did you check if that bug is already been fixed with Pax-Web? regards, Achim 2016-03-18 11:54 GMT+01:00 Benson Margulies : > > On Fri, Mar 18, 2016 at 6:46 AM, Achim Nierbeck

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Benson Margulies
Karaf 4.0.4 brought me 4.2.4 of pax-web. Is it safe to stick 4.2.5 in there? I'm making assumptions about the meaning of the following, but, in general, it seems wrong to get this much traffic for a simple 404 on static content. jvm 1| 2016-03-16 08:08:39,183 | WARN | tp1085327538-940 |

Defining dispatcher types for filter mapping via pax web whiteboard extender

2016-03-19 Thread kuvalda
Is there a way to define dispatcher types for filter mapping via pax web whiteboard extender, like in web.xml? Filter /example/* REQUEST FORWARD - Pavel -- View this message in context:

Re: Substitutions in jetty.xml

2016-03-19 Thread Philipp Marx
You can do something like this: /keystore Cheers, Philipp Benson Margulies schrieb am Di., 15. März 2016 um 22:46 Uhr: > Can I use any ${...} in there to pass in the pathname of static content? > ${karaf.etc} etc would work fine. > >

Re: Substitutions in jetty.xml

2016-03-19 Thread Benson Margulies
Thanks. On Wed, Mar 16, 2016 at 8:48 AM, Philipp Marx wrote: > You can do something like this: > > /keystore > > Cheers, > > Philipp > > Benson Margulies schrieb am Di., 15. März 2016 um > 22:46 Uhr: > >> Can I use any ${...} in there to pass in the

Re: Blueprint or DS or what to use?

2016-03-19 Thread ellirael
I personally use Blueprint cause of: 1. common spring-like xml style of DI 2. prototype scopes 3. creating and describing internal skeleton of bundle in one file 4. CXF integration -- View this message in context:

Re: Consider adding GELF Log4J 2 appender in Karaf 4.1.x by default

2016-03-19 Thread Владимир Коньков
Hi there! Lukasz, Jean-Baptiste, thanx for reply. Actually your opinion is expected and reasonable. Lukasz, couple of comments: Proposed solution is not specific for any tool - GELF is very common format for app log streaming and it’s popularity is growing. About custom distribution:

Re: Spring 4 Bundle spring-data-neo4j Contains Wrong Import-Package version restrictions for neo4j

2016-03-19 Thread jacob.nort...@itiviti.com
Thanks JB. I'll take a look at the Jira first. Jake -- View this message in context: http://karaf.922171.n3.nabble.com/Spring-4-Bundle-spring-data-neo4j-Contains-Wrong-Import-Package-version-restrictions-for-neo4j-tp4045782p4045840.html Sent from the Karaf - User mailing list archive at

Re: Blueprint or DS or what to use?

2016-03-19 Thread Guillaume Nodet
Fwiw, you need to use the following bundles (blueprint-core, blueprint-spring, blueprint-spring-extender) which are being released: https://repository.apache.org/content/repositories/orgapachearies-1061 2016-03-18 17:08 GMT+01:00 akuhtz : > Hello, > > Thank you for

Karaf assembly

2016-03-19 Thread conejo
Hello When I use the maven archetype, distribution generated does not include the jar files that you can find in lib in a downloaded karaf (especially lib/endorsed jar files). Is there any way to include libraries of karaf.home/lib folder in a distribution that is built using maven? Thanx.

Re: Declarative service / serviceTracker

2016-03-19 Thread Christian Schneider
I am not sure what your code intends to do. What does the annotation @JPA mean? If you want to use a DataSource in DS then simply inject it. @Reference(osgi.jndi.service.name=jpatest) DataSource myDataSource; Btw. I just recently learned that you can use a config admin property to change the

Blueprint or DS or what to use?

2016-03-19 Thread akuhtz
Hello, I've an application running with spring-dm and because spring-dm is no longer developed I'm looking for a replacement. Now I'm confused because there was a shift in karaf (core) from blueprint to DS and today I saw a post on the dev list, saying that DS does not support as much as

Re: Defining dispatcher types for filter mapping via pax web whiteboard extender

2016-03-19 Thread Achim Nierbeck
Hi, yes should be possible, just add those params as properties to your filter servlet. Take also a look at the documentation: http://ops4j.github.io/pax/web/SNAPSHOT/User-Guide.html#WhiteboardExtender-Howdoesithelponfilterregistration regards, Achim 2016-03-18 9:35 GMT+01:00 kuvalda

Re: Consider adding GELF Log4J 2 appender in Karaf 4.1.x by default

2016-03-19 Thread Владимир Коньков
Hi Jean-Baptiste! We actively use GELF for streaming logs from Karaf based platforms for years. But we stop building custom distributions at beginning of adoption because of we use use different distrs from different vendors (FuseSource, Talend, stock Servicemix, plain Karaf etc). Not all

Re: Spring 4 Bundle spring-data-neo4j Contains Wrong Import-Package version restrictions for neo4j

2016-03-19 Thread Jean-Baptiste Onofré
Hi Jake, it should be addressed on the ServiceMix mailing list as the third-party bundles are done there. It's also the Jira to use to refer such issue. Thanks, Regards JB On 03/17/2016 06:16 PM, jacob.nort...@itiviti.com wrote: Is there a better mailing list for questions about the

ECF 3.13 released

2016-03-19 Thread Scott Lewis
ECF 3.13 has just been released [1]. ECF provides a modular and CT-tested implementation of OSGi R6 Remote Services and Remote Service Admin (1.1) specifications. The important additions in 3.13 [2] i) New API (and tutorial) to simplify the creation of custom remote services distribution

Declarative service / serviceTracker

2016-03-19 Thread Morgan
Hi guys, For karaf-boot I'm working on the JPA annotations and it's close to be done but atm I'm working on a example to show how it works but I'm stuck at the "service tracking" part using DS. The purpose is to start the bundle when a datasource "jdbc/test" is found. When I drop my

Re: Blueprint or DS or what to use?

2016-03-19 Thread Christian Schneider
I have a comparison in my DS tutorial. http://www.liquid-reality.de/display/liquid/2015/06/30/Apache+Karaf+Tutorial+part+10+-+Declarative+services The main two things missing in DS are the namespaces and the interceptors. In karaf internally we would not need those. In a typical user

Re: Blueprint or DS or what to use?

2016-03-19 Thread Christian Schneider
On 18.03.2016 13:07, Charlie Mordant wrote: Let introduce an other player: Pax-CDI! It is fully annotation based and a well known JavaEE standard with some additional annotations to deal with OSGi services. I really prefer this way for development. I'm used to deal with these 3 technologies

Re: Consider adding GELF Log4J 2 appender in Karaf 4.1.x by default

2016-03-19 Thread Łukasz Dywicki
Hey Vladimir, While I see reasoning to have this feature, I must say it is not a core requirement to all users. If we would decide to have such appender we easily can run into situation that everyone will want to have it’s own appender and it’s dependencies installed/available by default in

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Achim Nierbeck
Hi, maybe the service approach suits you better? http://ops4j.github.io/pax/web/4.2.x/index.html#_advanced_jetty_configuration go to section Using Handler and Connectors as Services regards, Achim 2016-03-16 13:26 GMT+01:00 Benson Margulies : > This is only a problem for

Re: Blueprint or DS or what to use?

2016-03-19 Thread Nick Baker
Can you point me to any documentation on this? I found a thread on the aries-dev but that's about it. When we abandoned Gemini we lost some of the functionality and would be interested in trying this out.

Re: Consider adding GELF Log4J 2 appender in Karaf 4.1.x by default

2016-03-19 Thread Jean-Baptiste Onofré
Hi Vladimir anyway, do you already have GELF in your custom distribution ? If so, I would love to document it for other potential users, or even propose an optional feature to add this. WDYT ? Regards JB On 03/17/2016 06:33 AM, Владимир Коньков wrote: Hi there! Lukasz, Jean-Baptiste,

Re: Blueprint or DS or what to use?

2016-03-19 Thread Jamie G.
Depends upon your application, and what you want to do. Each has their benefits, and detractions. Personally I tend to use Blueprint for small wiring setups (say an AMQ connection factory, and a Camel Context). On Fri, Mar 18, 2016 at 7:54 AM, akuhtz wrote: > Hello, >