Missed the feature.xml. On Fri, Jun 24, 2016 at 4:47 PM, Debraj Manna <subharaj.ma...@gmail.com> wrote:
> We are having only one of our custom bundle deployed on Karaf. > > My pom.xml, feature.xml are attached for that bundle. > > We also made some changes in org.apache.features.cfg & system.properties > which are also attached. > > We are just placing the bundle in deploy folder while karaf is running and > org.apache.features.cfg and a bundle config file in deploy folder whenever > we are installing our bundle. > > Is there any improvement on this regard on Karaf 4? > > On Fri, Jun 24, 2016 at 4:36 PM, Jean-Baptiste Onofré <j...@nanthrax.net> > wrote: > >> That's probably the origin of the problem, depending of the dependencies >> (in term of service especially) and your bundles. >> >> I would have to take a look on your bundles and usage of the deploy >> folder to clearly identify the source of the problem. >> >> Regards >> JB >> >> On 06/24/2016 01:04 PM, Debraj Manna wrote: >> >>> Yeah we use the deploy folder. >>> >>> On Fri, Jun 24, 2016 at 4:33 PM, Jean-Baptiste Onofré <j...@nanthrax.net >>> <mailto:j...@nanthrax.net>> wrote: >>> >>> Resolved state can be enough as a bundle already exports package at >>> resolved state. Activate means the activator of the bundle has been >>> called. >>> >>> So, resolved state doesn't necessary mean "it's wrong". >>> >>> It's the case with the features resolve on Karaf 4. >>> >>> However, as you are using Karaf 3, I'm more suspecting something in >>> the start order. >>> >>> Do you use the deploy folder to deploy your artifacts ? >>> >>> Regards >>> JB >>> >>> On 06/24/2016 01:01 PM, Debraj Manna wrote: >>> >>> No did not see anything special in log. >>> >>> Installed or Resolved. I have to manually login to karaf and >>> then do >>> bundle:start to make the bundles Active >>> >>> On Fri, Jun 24, 2016 at 4:19 PM, Jean-Baptiste Onofré >>> <j...@nanthrax.net <mailto:j...@nanthrax.net> >>> <mailto:j...@nanthrax.net <mailto:j...@nanthrax.net>>> wrote: >>> >>> Hi, >>> >>> anything special in the log ? >>> >>> What's the status of the bundles ? Resolved ? >>> >>> Regards >>> JB >>> >>> >>> On 06/22/2016 12:10 PM, Debraj Manna wrote: >>> >>> Hi, >>> >>> Sometimes on restarting Karaf some of our system >>> bundles (e.g. - >>> camel-jetty) are not starting. This is not happening >>> always. Can you >>> please let me know what could be the reason? >>> >>> I am using Karaf 3.0.5 running under Servicemix 6.1.0. >>> >>> >>> >>> -- >>> Jean-Baptiste Onofré >>> jbono...@apache.org <mailto:jbono...@apache.org> >>> <mailto:jbono...@apache.org <mailto:jbono...@apache.org>> >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >>> >>> -- >>> Jean-Baptiste Onofré >>> jbono...@apache.org <mailto:jbono...@apache.org> >>> http://blog.nanthrax.net >>> Talend - http://www.talend.com >>> >>> >>> >> -- >> Jean-Baptiste Onofré >> jbono...@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> > >
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- <repository>mvn:org.apache.camel.karaf/apache-camel/${project.version}/xml/features</repository> --> <!-- <feature name='camel-example-cafe' version='${project.version}'> <feature version="${project.version}">camel</feature> <bundle>mvn:org.apache.camel/camel-example-cafe/${project.version}</bundle> </feature> --> <features xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" name="OrchestratorDependencies"> <feature name="${project.artifactId}" version="${project.version}" description="Apollo-Orchestration"> <feature version="${camel.version}">camel-jetty</feature> <feature version="${camel.version}">camel-http4</feature> <feature version="${camel.version}">camel-aws</feature> <feature version="${camel.version}">camel-jdbc</feature> <feature version="${camel.version}">camel-core</feature> <feature version="${camel.version}">camel-test</feature> <bundle start-level="10">mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson.version}</bundle> <bundle start-level="10">mvn:com.fasterxml.jackson.core/jackson-core/${jackson.version}</bundle> <bundle start-level="10">mvn:com.fasterxml.jackson.core/jackson-databind/${jackson.version}</bundle> <bundle start-level="10">mvn:com.fasterxml.jackson.module/jackson-module-afterburner/${jackson.afterburner.version}</bundle> <!-- This is to pull in the bundle you built. --> <bundle start-level="91">mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle> </feature> </features>