camel-spring fails to install on Karaf 2.2.4

2011-10-19 Thread Raman Gupta
Installing camel-spring fails on Karaf 2.2.4. Following the documentation Quick Start, Deploy a Sample Application but using Camel 2.8.1 instead of 2.7.0 (note that 2.7.0 fails with the same error): features:addurl mvn:org.apache.camel/camel-example-osgi/2.8.1/xml/features features:install

Re: camel-spring fails to install on Karaf 2.2.4

2011-10-19 Thread Raman Gupta
). For previous Camel versions you have to use Karaf 2.2.2. Regards JB -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://wwx.talend.com - Reply message - From: Raman Gupta rocketra...@gmail.com To: user@karaf.apache.org Subject: camel-spring fails

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Raman Gupta
surprised the Blueprint spec developers didn't consider interop with existing DI frameworks as a first class spec item. I suppose such functionality could still be implemented as a Blueprint extension for each DI framework. Regards, Raman Gupta VIVO Systems http://vivosys.com

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Raman Gupta
). -- Raman Gupta VIVO Systems http://vivosys.com On 11/01/2011 09:01 AM, Guillaume Nodet wrote: You can use OSGi services for that. OSGi services can be exported and imported irrespective of the underlying technology used. On Tue, Nov 1, 2011 at 13:35, Raman Gupta rocketra...@gmail.com

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Raman Gupta
Spring and Blueprint namespaces. There is an example shown here: http://static.springsource.org/osgi/docs/2.0.0.M1/reference/html-single/#blueprint:differences:xml However, Karaf doesn't support DM 2 / Gemini at this time AFAIK. -- Raman Gupta VIVO Systems http://vivosys.com

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Raman Gupta
beans, util, p, Spring Expression Language (SpEL) and the task namespace introduced in Spring 3.x, and Spring DM [ed: this should say Blueprint] namespace. -- Raman Gupta VIVO Systems http://vivosys.com

Re: Aries and Spring Co-Existance in Karaf

2011-11-01 Thread Raman Gupta
decided to move to Karaf for my current project. But I'd definitely like to see Gemini on Karaf. I believe your other scenario (camel, blueprint, spring contexts in the same bundle) is not possible with Aries Blueprint, but is possible with Gemini Blueprint. -- Raman Gupta VIVO Systems http

Karaf and aspectj load-time-weaving

2011-11-29 Thread Raman Gupta
AspectJ LTW solution for Felix? 2) Does anyone have any experience with Equinox Aspects on top of Karaf with Equinox? Regards, Raman Gupta Principal VIVO Systems

dev:watch and refresh

2012-01-12 Thread Raman Gupta
I see that Karaf has a dev:watch command, but I also note that this does not refresh the bundles. Is there a way to tell Karaf to automatically refresh the changed bundle as well? Thanks, Raman

Re: dev:watch and refresh

2012-01-12 Thread Raman Gupta
updates bundle if source location has been changed. You don't need to execute a refresh. It should back to Active state right after update without need to do refresh. Łukasz Dywicki -- Code-House http://code-house.org Wiadomość napisana przez Raman Gupta w dniu 2012-01-12, o godz. 21:48

Re: Custom error-page in web.xml not working

2012-03-07 Thread Raman Gupta
Actually, as per the bug report, this applies even to the first WAB when using the error-code element rather than exception-type. Is there a work-around for this short of generating the error page from directly within the app? Regards, Raman On 03/07/2012 02:59 PM, Achim Nierbeck wrote: Hi

Re: Scala protocol for Slang

2012-03-12 Thread Raman Gupta
On 03/12/2012 08:48 AM, Guillaume Yziquel wrote: Le Monday 12 Mar 2012 à 12:51:17 (+0100), Gert Vanthienen a écrit : L.S., Hi. The Slang project is something I started quite a while ago, but that hasn't been developed any further. The goal was not only to support Slang, but

Re: Bundles built with JDK 7?

2012-03-28 Thread Raman Gupta
Just one more data point... we are using Karaf 2.2.4 on top of JDK7, with sources compiled using JDK7 without any problem so far. Regards, Raman Principal VIVO Systems On 03/28/2012 03:58 PM, Andreas Pieber wrote: In detail this depends on the details of your setup. Nevertheless, in general

Re: Install refresh issue

2012-06-12 Thread Raman Gupta
Another interested party re. Gemini-Blueprint here... Gemini-blueprint offers integration with Spring application contexts whereas Aries Blueprint does not. Without integration with Spring and/or Guice, I'm not sure how useful Aries can really be... The DI capabilities of raw Blueprint are ok for

Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-24 Thread Raman Gupta
I just upgraded to Karaf 2.2.7 from Karaf 2.2.4 and noticed that now the Spring DM web extender and pax web extender's no longer run in the correct order. The Spring-DM extender needs to process the bundle *before* the PaxWeb extender, since until the app context is created by Spring-DM it is a

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-25 Thread Raman Gupta
, but iirc that's not the case here. On Mon, Jun 25, 2012 at 6:21 AM, Raman Gupta rocketra...@gmail.com wrote: I just upgraded to Karaf 2.2.7 from Karaf 2.2.4 and noticed that now the Spring DM web extender and pax web extender's no longer run in the correct order. The Spring-DM extender needs

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-25 Thread Raman Gupta
one to achieve obviously, but will be really tied to the extenders your using and how they behave, as if both are started synchronously, you won't really have any way to do some synchronization here, but iirc that's not the case here. On Mon, Jun 25, 2012 at 6:21 AM, Raman Gupta rocketra

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-26 Thread Raman Gupta
am I supposed to do that without using Spring-DM or Gemini Blueprint, or doing it manually using the OSGi api's? On Tue, Jun 26, 2012 at 1:23 AM, Raman Gupta rocketra...@gmail.com wrote: On 06/25/2012 03:21 AM, Guillaume Nodet wrote: That's a quite big problem and I'm not really aware of any way

Re: Spring-DM web and pax web extender bundle processing order in 2.2.7

2012-06-26 Thread Raman Gupta
: org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext That's exactly what I'm doing... and it is what works perfectly with 2.2.4 but doesn't work with Karaf 2.2.7. On Tue, Jun 26, 2012 at 4:42 PM, Raman Gupta rocketra...@gmail.com wrote: On 06/26/2012 07:17 AM, Guillaume Nodet wrote: If you use

Hook into Karaf shutdown process

2012-11-26 Thread Raman Gupta
I have an application in which, when it's given the stop command, I'd like to finish some work in progress before shutting down bundle 0. This is because the bundle shutdown starts prematurely shutting down services and such that are necessary for the work to complete. For now, I've implemented

Re: Hook into Karaf shutdown process

2012-11-26 Thread Raman Gupta
On 11/26/2012 02:33 PM, Raman Gupta wrote: Ideally, Karaf would have a ShutdownHook interface/service I could implement in my bundles -- for each one of these registered, Karaf would execute them before stopping the framework bundles. If someone could give me some starting pointers, I could

dev:restart and permanent generation leak?

2013-01-30 Thread Raman Gupta
: $ jmap -heap 27384 [...] PS Perm Generation used = 88594176 (84.489990234375MB) I haven't tried this with Felix, but is this a perm gen leak, or an unavoidable consequence of the mechanism dev:restart uses? Regards, Raman Gupta http://vivosys.com -- View this message in context: http

Re: dev:restart and permanent generation leak?

2013-06-27 Thread Raman Gupta
we can do something in Karaf, I will take a look. Regards JB On 01/31/2013 01:42 AM, Raman Gupta wrote: If using dev:restart with Karaf 2.2.9 with Equinox, the size of the permanent generation increases drastically: Permanent generation on initial start: $ jmap -heap 27384 [...] PS

Re: [ANN] New Karaf website online

2016-02-04 Thread Raman Gupta
Congrats! Now, if someone could only explain to me what a "dual polymorphic container" is! :-) Regards, Raman On 02/04/2016 10:31 AM, Jean-Baptiste Onofré wrote: > Hi all, > > as you may have seen that the new Karaf website is now online. > > Don't hesitate to create Jira (with website

Re: Features validation: cannot find wrap

2016-01-28 Thread Raman Gupta
t; Regards > JB > > On 01/28/2016 04:27 PM, Raman Gupta wrote: >> JB, no problem, thanks for your help. Nope that does not work. All my >> features that use wrap already have wrap declared. >> >> I think I have this narrowed down a bit more. I eliminated any &g

Re: Features validation: cannot find wrap

2016-01-28 Thread Raman Gupta
Was the pom below helpful in any way to understanding this issue? Thanks, Raman On 01/26/2016 01:00 PM, Raman Gupta wrote: > Here you go: > > http://pastebin.com/4F13xSp9 > > Regards, > Raman > > On 01/26/2016 12:40 PM, Jean-Baptiste Onofré wrote: >> Can you sha

[SOLVED] Re: Features validation: cannot find wrap

2016-02-03 Thread Raman Gupta
is in the dependencies with compile scope. A good working demo: https://github.com/rocketraman/test-karaf-verify/blob/master/test-verify/pom.xml Regards, Raman On 01/28/2016 11:33 AM, Raman Gupta wrote: > Thanks JB, here is a simple test case: > > https://github.com/rocketraman/t

Karaf insisting on loading older version of feature?

2016-01-30 Thread Raman Gupta
I'm loading the feature spring-dm-web into a vanilla karaf 4.0.4 instance. Karaf insists on loading the Spring 3.1.4 bundles even though the spring-dm-web feature references a Spring range that allows a 3.2 version: Feature depends on: spring-dm 0.0.0 spring-web [2.5.6,4) http 0.0.0 Why is

Re: Karaf insisting on loading older version of feature?

2016-02-01 Thread Raman Gupta
alled) > that limit the range to Spring 3.1.x. > > What features do you have installed ? > > Regards > JB > > On 01/31/2016 12:48 PM, Christian Schneider wrote: >> From the error message I would say that the karaf feature core bundle >> limits th

Re: Karaf insisting on loading older version of feature?

2016-02-01 Thread Raman Gupta
features. So, let me check the resolver messages. > > Regards > JB > > > On 02/01/2016 04:26 PM, Raman Gupta wrote: >> >> I just tried it again on a totally vanilla karaf instance, newly >> decompressed from the tar.gz: >> >> feature:install spr

Re: Features validation: cannot find wrap

2016-01-28 Thread Raman Gupta
an-Baptiste Onofré wrote: > Hi Raman, > > sorry I missed your message. > > As your com.myorg* feature needs wrap, and you validate transitive, > wrap feature should be part of the verify list/definition. > > Your features should define the wrap feature as dependenc

Re: Issue building with karaf-maven-plugin

2016-02-29 Thread Raman Gupta
You don't need to add the verify execution if you don't want it (though I would recommend it). I find the karaf-maven-plugin is poorly documented, and out of date to some extent. My final (working) assembly pom looks like this (remove the verify execution if you don't want it, and you probably

Features validation: cannot find wrap

2016-01-26 Thread Raman Gupta
config.properties, so the default is being used, which should load the wrap feature. Any ideas? Regards, Raman Gupta

Re: Features validation: cannot find wrap

2016-01-26 Thread Raman Gupta
4.0.4 > kar > > > org.apache.karaf.features > standard > 4.0.4 > features > xml > > > in your pom.xml. > > Is it the case ? > > Thanks, > Regards > JB > > On 01/26/2016 06:18 PM, Ram

Re: Features validation: cannot find wrap

2016-01-26 Thread Raman Gupta
rap)(type=karaf.feature)(version>=0.0.0))" Regards, Raman On 01/26/2016 12:39 PM, Raman Gupta wrote: > I didn't, but adding those does not help. I also tried adding > slf4j-api >= 1.6.0 as suggested by the error message. Still fails with > the same error. I tried both the pom se

Re: Features validation: cannot find wrap

2016-01-26 Thread Raman Gupta
Here you go: http://pastebin.com/4F13xSp9 Regards, Raman On 01/26/2016 12:40 PM, Jean-Baptiste Onofré wrote: > Can you share your pom.xml ? > > Thanks, > Regards > JB > > On 01/26/2016 06:39 PM, Raman Gupta wrote: >> I didn't, but adding those does not help. I als

Re: Features validation: cannot find wrap

2016-01-26 Thread Raman Gupta
does use the wrap url-handler, > make sure you have a dependency on the wrap feature in your feature > and mark it as prerequisite=true > > regards, Achim > > > 2016-01-26 19:00 GMT+01:00 Raman Gupta <rocketra...@gmail.com > <mailto:rocketra...@gmail.com>>: >

Karaf maven plugin package vs install

2016-03-11 Thread Raman Gupta
My project builds assembly modules and then in another module runs the karaf-maven-plugin. This works fine when using the "install" goal. However, when using the "package" goal it does not: package does not install the assemblies into the local maven repo, and karaf-maven-plugin fails with a

Re: Limit Spring Jars Brought In by Spring Feature In Custom Distribution

2016-03-05 Thread Raman Gupta
I was having this (or a similar) issue too: https://issues.apache.org/jira/browse/KARAF-4306 has a reproducible test case. My workaround was to copy the correct version of the Spring features from the Karaf source into my own feature file. Regards, Raman -- View this message in context: