You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by PJR69 <pe...@insta.fi> on 2012/11/27 07:27:07 UTC
Newbie question: Useradmin service dependency, from where?
Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting a
missing dependency:
org.osgi.service.useradmin, version [1.1 - 2)
During the development, it seems that the dependency to this package comes
from org.osgi.compendium-4.1.0.jar.
I tried to copy this file to the deploy folder, but to me looks like Karaf
sorta jams/restarts then, is that what is supposed to happen?
What exactly should I copy to the deploy folder to get the proper
org.osgi.service.useradmin dependency satisfied?
This is prolly trivial to you guys, but creating my first OSGi app, it's not
for me... ;)
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
Sent from the Karaf - User mailing list archive at Nabble.com.
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Hi,
Ok, thanks for the tip! Googled a bit and found: http://www.dankulp.com/blog/2011/11/apache-cxf-in-osgi/ and following its instructions I managed to install the CXF-feature and dependencies into Karaf!
- Petri
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026913h41@n3.nabble.com]
Sent: 27. marraskuuta 2012 10:59
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
You should avoid to use the deploy folder when a feature is available.
For instance, you have a feature camel-cxf describing a lot of bundles
and other features in dependencies: it's not just a bundle.
If you don't have access to Internet on your server, my advice is:
1/ to use a distribution (based on Karaf) already shipping all that you
need (like Talend ESB or Fuse ESB for instance)
2/ create your own distribution, populating the system repo (using
features:add-features-to-repo for instance)
More over, CXF requires a "special" jre.properties (that you can find in
etc folder when installing CXF feature).
Regards
JB
On 11/27/2012 09:52 AM, PJR69 wrote:
> Hi,
>
> Excellent, this worked!
>
> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>
> Ok, when doing osgi:headers, I get the following red entries:
> org.apache.aries.blueprint
> org.apache.aries.blueprint.mutable
> org.apache.aries.blueprint.reflect
>
> All version 0.3 - 1
>
> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
> Sent: 27. marraskuuta 2012 10:32
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> copy eventadmin in system repo respecting the Maven structure:
>
> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>
> Once done,
>
> features:install eventadmin
>
> Regards
> JB
>
> On 11/27/2012 09:05 AM, PJR69 wrote:
>
>> Hey,
>>
>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>
>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>
>>
>> - Petri
>>
>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>> Sent: 27. marraskuuta 2012 9:57
>> To: Riipinen Petri
>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>
>> Hello Petri,
>>
>> yes, installing the event admin feature should do the job:
>> feature:install eventadmin
>>
>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>
>> Regards,
>> Benjamin
>>
>> -------- Original-Nachricht --------
>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>
>>> Hi,
>>>
>>> Excellent, this did it!!!
>>>
>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>> enabled the same way or is this in the eventadmin feature or…?
>>>
>>>
>>> - Petri
>>>
>>> From: jbonofre [via Karaf]
>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>> Sent: 27. marraskuuta 2012 8:59
>>> To: Riipinen Petri
>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hi,
>>>
>>> This package is provided by AdminPackage, part of compendium specs.
>>>
>>> Compendium is already shipped into Karaf, but we don't export all
>>> package by default (as some bundles, like the one provided by Felix, may
>>> provide the same packages).
>>>
>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>
>>> Instead, edit etc/config.properties and update the
>>> org.osgi.framework.system.packages property to add useradmin package:
>>>
>>> For Karaf 2.2.x:
>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>> org.osgi.framework.launch; version=1.0.0, \
>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>> org.osgi.service.packageadmin; version=1.2.0, \
>>> org.osgi.service.useradmin; version=1.1.0, \
>>> org.osgi.service.startlevel; version=1.1.0, \
>>> org.osgi.service.url; version=1.0.0, \
>>> org.osgi.util.tracker; version=1.4.0, \
>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>> org.apache.karaf.version; version=2.2.9, \
>>> ${jre-${java.specification.version}}
>>>
>>> For Karaf 2.3.x:
>>> org.osgi.framework.system.packages= \
>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>> \
>>>
>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>> \
>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>> org.osgi.framework;version="1.7",\
>>>
>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.service.url;version="1.0", \
>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>> org.apache.karaf.version;version="2.3.0", \
>>> ${jre-${java.specification.version}}
>>>
>>> Like this, you should be able to see org.osgi.service.useradmin package
>>> with package:exports.
>>>
>>> Regards
>>> JB
>>>
>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>
>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>> a
>>>> missing dependency:
>>>>
>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>
>>>> During the development, it seems that the dependency to this package
>>> comes
>>>> from org.osgi.compendium-4.1.0.jar.
>>>>
>>>> I tried to copy this file to the deploy folder, but to me looks like
>>> Karaf
>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>
>>>> What exactly should I copy to the deploy folder to get the proper
>>>> org.osgi.service.useradmin dependency satisfied?
>>>>
>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>> not
>>>> for me... ;)
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>> To start a new topic under Karaf - User, email
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>
>>> To unsubscribe from Karaf - User, click
>>> here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2>>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026914.html
Sent from the Karaf - User mailing list archive at Nabble.com.
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
That appears in the log when starting up the instance. Maybe has something to do with the CXF-feature that I installed earlier? That explains why the featureservice isn’t running, but why such an error…?!?
2012-11-27 14:21:56,258 | ERROR | rint Extender: 2 | BlueprintContainerImpl | container.BlueprintContainerImpl 375 | 7 - org.apache.aries.blueprint.core - 1.0.1 | Unable to start blueprint container for bundle org.apache.karaf.features.core
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean featuresService
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.0.1]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_29]
at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_29]
at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:646)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:353)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:252)[7:org.apache.aries.blueprint.core:1.0.1]
at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[7:org.apache.aries.blueprint.core:1.0.1]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_29]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_29]
at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_29]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_29]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_29]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_29]
Caused by: java.lang.ClassFormatError: Illegal UTF8 string in constant pool in class file org/apache/xerces/impl/xpath/regex/ParserForXMLSchema
at java.lang.ClassLoader.defineClass1(Native Method)[:1.6.0_29]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)[:1.6.0_29]
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)[:1.6.0_29]
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2128)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1432)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)[:1.6.0_29]
at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.applyFacets(Unknown Source)
at org.apache.xerces.impl.dv.xs.XSSimpleTypeDecl.applyFacets1(Unknown Source)
at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.createBuiltInTypes(Unknown Source)
at org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.6.0_29]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_29]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_29]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_29]
at java.lang.Class.newInstance0(Class.java:355)[:1.6.0_29]
at java.lang.Class.newInstance(Class.java:308)[:1.6.0_29]
at org.apache.xerces.impl.dv.ObjectFactory.newInstance(Unknown Source)
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.dv.SchemaDVFactory.getInstance(Unknown Source)
at org.apache.xerces.impl.xs.SchemaGrammar$BuiltinSchemaGrammar.<init>(Unknown Source)
at org.apache.xerces.impl.xs.SchemaGrammar.<clinit>(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSAttributeChecker.<clinit>(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.createTraversers(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.prepareForTraverse(Unknown Source)
at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)[:2.1.0]
at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:62)
at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:204)
at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:245)
at org.apache.karaf.features.internal.FeaturesServiceImpl.loadState(FeaturesServiceImpl.java:1247)
at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1087)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_29]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_29]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)
... 20 more
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026913h41@n3.nabble.com]
Sent: 27. marraskuuta 2012 10:59
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
You should avoid to use the deploy folder when a feature is available.
For instance, you have a feature camel-cxf describing a lot of bundles
and other features in dependencies: it's not just a bundle.
If you don't have access to Internet on your server, my advice is:
1/ to use a distribution (based on Karaf) already shipping all that you
need (like Talend ESB or Fuse ESB for instance)
2/ create your own distribution, populating the system repo (using
features:add-features-to-repo for instance)
More over, CXF requires a "special" jre.properties (that you can find in
etc folder when installing CXF feature).
Regards
JB
On 11/27/2012 09:52 AM, PJR69 wrote:
> Hi,
>
> Excellent, this worked!
>
> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>
> Ok, when doing osgi:headers, I get the following red entries:
> org.apache.aries.blueprint
> org.apache.aries.blueprint.mutable
> org.apache.aries.blueprint.reflect
>
> All version 0.3 - 1
>
> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
> Sent: 27. marraskuuta 2012 10:32
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> copy eventadmin in system repo respecting the Maven structure:
>
> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>
> Once done,
>
> features:install eventadmin
>
> Regards
> JB
>
> On 11/27/2012 09:05 AM, PJR69 wrote:
>
>> Hey,
>>
>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>
>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>
>>
>> - Petri
>>
>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>> Sent: 27. marraskuuta 2012 9:57
>> To: Riipinen Petri
>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>
>> Hello Petri,
>>
>> yes, installing the event admin feature should do the job:
>> feature:install eventadmin
>>
>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>
>> Regards,
>> Benjamin
>>
>> -------- Original-Nachricht --------
>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>
>>> Hi,
>>>
>>> Excellent, this did it!!!
>>>
>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>> enabled the same way or is this in the eventadmin feature or…?
>>>
>>>
>>> - Petri
>>>
>>> From: jbonofre [via Karaf]
>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>> Sent: 27. marraskuuta 2012 8:59
>>> To: Riipinen Petri
>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hi,
>>>
>>> This package is provided by AdminPackage, part of compendium specs.
>>>
>>> Compendium is already shipped into Karaf, but we don't export all
>>> package by default (as some bundles, like the one provided by Felix, may
>>> provide the same packages).
>>>
>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>
>>> Instead, edit etc/config.properties and update the
>>> org.osgi.framework.system.packages property to add useradmin package:
>>>
>>> For Karaf 2.2.x:
>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>> org.osgi.framework.launch; version=1.0.0, \
>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>> org.osgi.service.packageadmin; version=1.2.0, \
>>> org.osgi.service.useradmin; version=1.1.0, \
>>> org.osgi.service.startlevel; version=1.1.0, \
>>> org.osgi.service.url; version=1.0.0, \
>>> org.osgi.util.tracker; version=1.4.0, \
>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>> org.apache.karaf.version; version=2.2.9, \
>>> ${jre-${java.specification.version}}
>>>
>>> For Karaf 2.3.x:
>>> org.osgi.framework.system.packages= \
>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>> \
>>>
>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>> \
>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>> org.osgi.framework;version="1.7",\
>>>
>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.service.url;version="1.0", \
>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>> org.apache.karaf.version;version="2.3.0", \
>>> ${jre-${java.specification.version}}
>>>
>>> Like this, you should be able to see org.osgi.service.useradmin package
>>> with package:exports.
>>>
>>> Regards
>>> JB
>>>
>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>
>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>> a
>>>> missing dependency:
>>>>
>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>
>>>> During the development, it seems that the dependency to this package
>>> comes
>>>> from org.osgi.compendium-4.1.0.jar.
>>>>
>>>> I tried to copy this file to the deploy folder, but to me looks like
>>> Karaf
>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>
>>>> What exactly should I copy to the deploy folder to get the proper
>>>> org.osgi.service.useradmin dependency satisfied?
>>>>
>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>> not
>>>> for me... ;)
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>> To start a new topic under Karaf - User, email
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>>
>>> To unsubscribe from Karaf - User, click
>>> here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2>>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026918.html
Sent from the Karaf - User mailing list archive at Nabble.com.
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Well, it works now after I applied the fix from here https://issues.apache.org/jira/browse/KARAF-1905 , excluded the weaving on the etc/system.properties.
- Petri
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026922h20@n3.nabble.com]
Sent: 27. marraskuuta 2012 14:36
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
It seems that you broke the features module in Karaf.
What la said ?
Regards
JB
On 11/27/2012 01:17 PM, PJR69 wrote:
> Hi,
>
> Ok, I managed to install CXF-feature and now I’m trying to install the apache-camel feature, however, I keep getting this sort of error on my instance:
>
> karaf@template> features:list
> FeaturesService service is unavailable.
>
> Any idea where that comes from? I have created a child-instances called “template” and I installed the CXF-feature there as well as Spring31 and others, but that problem just started appearing when I was trying to add the url for the apache-camel feature and now even the features:list won’t work…?!?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026922&i=0>]
> Sent: 27. marraskuuta 2012 10:59
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> You should avoid to use the deploy folder when a feature is available.
>
> For instance, you have a feature camel-cxf describing a lot of bundles
> and other features in dependencies: it's not just a bundle.
>
> If you don't have access to Internet on your server, my advice is:
> 1/ to use a distribution (based on Karaf) already shipping all that you
> need (like Talend ESB or Fuse ESB for instance)
> 2/ create your own distribution, populating the system repo (using
> features:add-features-to-repo for instance)
>
> More over, CXF requires a "special" jre.properties (that you can find in
> etc folder when installing CXF feature).
>
> Regards
> JB
>
> On 11/27/2012 09:52 AM, PJR69 wrote:
>
>> Hi,
>>
>> Excellent, this worked!
>>
>> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
>> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>>
>> Ok, when doing osgi:headers, I get the following red entries:
>> org.apache.aries.blueprint
>> org.apache.aries.blueprint.mutable
>> org.apache.aries.blueprint.reflect
>>
>> All version 0.3 - 1
>>
>> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>>
>>
>> - Petri
>>
>> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
>> Sent: 27. marraskuuta 2012 10:32
>> To: Riipinen Petri
>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>
>> Hi,
>>
>> copy eventadmin in system repo respecting the Maven structure:
>>
>> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>>
>> Once done,
>>
>> features:install eventadmin
>>
>> Regards
>> JB
>>
>> On 11/27/2012 09:05 AM, PJR69 wrote:
>>
>>> Hey,
>>>
>>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>>
>>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>>
>>>
>>> - Petri
>>>
>>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>>> Sent: 27. marraskuuta 2012 9:57
>>> To: Riipinen Petri
>>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hello Petri,
>>>
>>> yes, installing the event admin feature should do the job:
>>> feature:install eventadmin
>>>
>>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>>
>>> Regards,
>>> Benjamin
>>>
>>> -------- Original-Nachricht --------
>>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>>
>>>> Hi,
>>>>
>>>> Excellent, this did it!!!
>>>>
>>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>>> enabled the same way or is this in the eventadmin feature or…?
>>>>
>>>>
>>>> - Petri
>>>>
>>>> From: jbonofre [via Karaf]
>>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>>> Sent: 27. marraskuuta 2012 8:59
>>>> To: Riipinen Petri
>>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>>
>>>> Hi,
>>>>
>>>> This package is provided by AdminPackage, part of compendium specs.
>>>>
>>>> Compendium is already shipped into Karaf, but we don't export all
>>>> package by default (as some bundles, like the one provided by Felix, may
>>>> provide the same packages).
>>>>
>>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>>
>>>> Instead, edit etc/config.properties and update the
>>>> org.osgi.framework.system.packages property to add useradmin package:
>>>>
>>>> For Karaf 2.2.x:
>>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>>> org.osgi.framework.launch; version=1.0.0, \
>>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>>> org.osgi.service.packageadmin; version=1.2.0, \
>>>> org.osgi.service.useradmin; version=1.1.0, \
>>>> org.osgi.service.startlevel; version=1.1.0, \
>>>> org.osgi.service.url; version=1.0.0, \
>>>> org.osgi.util.tracker; version=1.4.0, \
>>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>>> org.apache.karaf.version; version=2.2.9, \
>>>> ${jre-${java.specification.version}}
>>>>
>>>> For Karaf 2.3.x:
>>>> org.osgi.framework.system.packages= \
>>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>>> \
>>>>
>>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>>> \
>>>>
>>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>>> \
>>>>
>>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>>> \
>>>>
>>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>>> \
>>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>>> org.osgi.framework;version="1.7",\
>>>>
>>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>>> org.osgi.service.url;version="1.0", \
>>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>>> org.apache.karaf.version;version="2.3.0", \
>>>> ${jre-${java.specification.version}}
>>>>
>>>> Like this, you should be able to see org.osgi.service.useradmin package
>>>> with package:exports.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>>
>>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>>> a
>>>>> missing dependency:
>>>>>
>>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>>
>>>>> During the development, it seems that the dependency to this package
>>>> comes
>>>>> from org.osgi.compendium-4.1.0.jar.
>>>>>
>>>>> I tried to copy this file to the deploy folder, but to me looks like
>>>> Karaf
>>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>>
>>>>> What exactly should I copy to the deploy folder to get the proper
>>>>> org.osgi.service.useradmin dependency satisfied?
>>>>>
>>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>>> not
>>>>> for me... ;)
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>>
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>> ________________________________
>>>> If you reply to this email, your message will be added to the discussion
>>>> below:
>>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>>> To start a new topic under Karaf - User, email
>>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>>>
>>>> To unsubscribe from Karaf - User, click
>>>> here<
>>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>>> To unsubscribe from Karaf - User, click here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026913&i=2>>>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026922&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026922&i=2>>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026916.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026922&i=3>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026922.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026924.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Newbie question: Useradmin service dependency, from where?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
It seems that you broke the features module in Karaf.
What la said ?
Regards
JB
On 11/27/2012 01:17 PM, PJR69 wrote:
> Hi,
>
> Ok, I managed to install CXF-feature and now I’m trying to install the apache-camel feature, however, I keep getting this sort of error on my instance:
>
> karaf@template> features:list
> FeaturesService service is unavailable.
>
> Any idea where that comes from? I have created a child-instances called “template” and I installed the CXF-feature there as well as Spring31 and others, but that problem just started appearing when I was trying to add the url for the apache-camel feature and now even the features:list won’t work…?!?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026913h41@n3.nabble.com]
> Sent: 27. marraskuuta 2012 10:59
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> You should avoid to use the deploy folder when a feature is available.
>
> For instance, you have a feature camel-cxf describing a lot of bundles
> and other features in dependencies: it's not just a bundle.
>
> If you don't have access to Internet on your server, my advice is:
> 1/ to use a distribution (based on Karaf) already shipping all that you
> need (like Talend ESB or Fuse ESB for instance)
> 2/ create your own distribution, populating the system repo (using
> features:add-features-to-repo for instance)
>
> More over, CXF requires a "special" jre.properties (that you can find in
> etc folder when installing CXF feature).
>
> Regards
> JB
>
> On 11/27/2012 09:52 AM, PJR69 wrote:
>
>> Hi,
>>
>> Excellent, this worked!
>>
>> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
>> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>>
>> Ok, when doing osgi:headers, I get the following red entries:
>> org.apache.aries.blueprint
>> org.apache.aries.blueprint.mutable
>> org.apache.aries.blueprint.reflect
>>
>> All version 0.3 - 1
>>
>> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>>
>>
>> - Petri
>>
>> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
>> Sent: 27. marraskuuta 2012 10:32
>> To: Riipinen Petri
>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>
>> Hi,
>>
>> copy eventadmin in system repo respecting the Maven structure:
>>
>> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>>
>> Once done,
>>
>> features:install eventadmin
>>
>> Regards
>> JB
>>
>> On 11/27/2012 09:05 AM, PJR69 wrote:
>>
>>> Hey,
>>>
>>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>>
>>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>>
>>>
>>> - Petri
>>>
>>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>>> Sent: 27. marraskuuta 2012 9:57
>>> To: Riipinen Petri
>>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hello Petri,
>>>
>>> yes, installing the event admin feature should do the job:
>>> feature:install eventadmin
>>>
>>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>>
>>> Regards,
>>> Benjamin
>>>
>>> -------- Original-Nachricht --------
>>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>>
>>>> Hi,
>>>>
>>>> Excellent, this did it!!!
>>>>
>>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>>> enabled the same way or is this in the eventadmin feature or…?
>>>>
>>>>
>>>> - Petri
>>>>
>>>> From: jbonofre [via Karaf]
>>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>>> Sent: 27. marraskuuta 2012 8:59
>>>> To: Riipinen Petri
>>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>>
>>>> Hi,
>>>>
>>>> This package is provided by AdminPackage, part of compendium specs.
>>>>
>>>> Compendium is already shipped into Karaf, but we don't export all
>>>> package by default (as some bundles, like the one provided by Felix, may
>>>> provide the same packages).
>>>>
>>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>>
>>>> Instead, edit etc/config.properties and update the
>>>> org.osgi.framework.system.packages property to add useradmin package:
>>>>
>>>> For Karaf 2.2.x:
>>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>>> org.osgi.framework.launch; version=1.0.0, \
>>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>>> org.osgi.service.packageadmin; version=1.2.0, \
>>>> org.osgi.service.useradmin; version=1.1.0, \
>>>> org.osgi.service.startlevel; version=1.1.0, \
>>>> org.osgi.service.url; version=1.0.0, \
>>>> org.osgi.util.tracker; version=1.4.0, \
>>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>>> org.apache.karaf.version; version=2.2.9, \
>>>> ${jre-${java.specification.version}}
>>>>
>>>> For Karaf 2.3.x:
>>>> org.osgi.framework.system.packages= \
>>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>>> \
>>>>
>>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>>> \
>>>>
>>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>>> \
>>>>
>>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>>> \
>>>>
>>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>>> \
>>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>>> org.osgi.framework;version="1.7",\
>>>>
>>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>>> org.osgi.service.url;version="1.0", \
>>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>>> org.apache.karaf.version;version="2.3.0", \
>>>> ${jre-${java.specification.version}}
>>>>
>>>> Like this, you should be able to see org.osgi.service.useradmin package
>>>> with package:exports.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>>
>>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>>> a
>>>>> missing dependency:
>>>>>
>>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>>
>>>>> During the development, it seems that the dependency to this package
>>>> comes
>>>>> from org.osgi.compendium-4.1.0.jar.
>>>>>
>>>>> I tried to copy this file to the deploy folder, but to me looks like
>>>> Karaf
>>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>>
>>>>> What exactly should I copy to the deploy folder to get the proper
>>>>> org.osgi.service.useradmin dependency satisfied?
>>>>>
>>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>>> not
>>>>> for me... ;)
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>>
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>>>
>>>> ________________________________
>>>> If you reply to this email, your message will be added to the discussion
>>>> below:
>>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>>> To start a new topic under Karaf - User, email
>>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>>
>>>> To unsubscribe from Karaf - User, click
>>>> here<
>>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>>> To unsubscribe from Karaf - User, click here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2>>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
> To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
> To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026916.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Hi,
Ok, I managed to install CXF-feature and now I’m trying to install the apache-camel feature, however, I keep getting this sort of error on my instance:
karaf@template> features:list
FeaturesService service is unavailable.
Any idea where that comes from? I have created a child-instances called “template” and I installed the CXF-feature there as well as Spring31 and others, but that problem just started appearing when I was trying to add the url for the apache-camel feature and now even the features:list won’t work…?!?
- Petri
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026913h41@n3.nabble.com]
Sent: 27. marraskuuta 2012 10:59
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
You should avoid to use the deploy folder when a feature is available.
For instance, you have a feature camel-cxf describing a lot of bundles
and other features in dependencies: it's not just a bundle.
If you don't have access to Internet on your server, my advice is:
1/ to use a distribution (based on Karaf) already shipping all that you
need (like Talend ESB or Fuse ESB for instance)
2/ create your own distribution, populating the system repo (using
features:add-features-to-repo for instance)
More over, CXF requires a "special" jre.properties (that you can find in
etc folder when installing CXF feature).
Regards
JB
On 11/27/2012 09:52 AM, PJR69 wrote:
> Hi,
>
> Excellent, this worked!
>
> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>
> Ok, when doing osgi:headers, I get the following red entries:
> org.apache.aries.blueprint
> org.apache.aries.blueprint.mutable
> org.apache.aries.blueprint.reflect
>
> All version 0.3 - 1
>
> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
> Sent: 27. marraskuuta 2012 10:32
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> copy eventadmin in system repo respecting the Maven structure:
>
> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>
> Once done,
>
> features:install eventadmin
>
> Regards
> JB
>
> On 11/27/2012 09:05 AM, PJR69 wrote:
>
>> Hey,
>>
>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>
>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>
>>
>> - Petri
>>
>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>> Sent: 27. marraskuuta 2012 9:57
>> To: Riipinen Petri
>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>
>> Hello Petri,
>>
>> yes, installing the event admin feature should do the job:
>> feature:install eventadmin
>>
>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>
>> Regards,
>> Benjamin
>>
>> -------- Original-Nachricht --------
>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>
>>> Hi,
>>>
>>> Excellent, this did it!!!
>>>
>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>> enabled the same way or is this in the eventadmin feature or…?
>>>
>>>
>>> - Petri
>>>
>>> From: jbonofre [via Karaf]
>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>> Sent: 27. marraskuuta 2012 8:59
>>> To: Riipinen Petri
>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hi,
>>>
>>> This package is provided by AdminPackage, part of compendium specs.
>>>
>>> Compendium is already shipped into Karaf, but we don't export all
>>> package by default (as some bundles, like the one provided by Felix, may
>>> provide the same packages).
>>>
>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>
>>> Instead, edit etc/config.properties and update the
>>> org.osgi.framework.system.packages property to add useradmin package:
>>>
>>> For Karaf 2.2.x:
>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>> org.osgi.framework.launch; version=1.0.0, \
>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>> org.osgi.service.packageadmin; version=1.2.0, \
>>> org.osgi.service.useradmin; version=1.1.0, \
>>> org.osgi.service.startlevel; version=1.1.0, \
>>> org.osgi.service.url; version=1.0.0, \
>>> org.osgi.util.tracker; version=1.4.0, \
>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>> org.apache.karaf.version; version=2.2.9, \
>>> ${jre-${java.specification.version}}
>>>
>>> For Karaf 2.3.x:
>>> org.osgi.framework.system.packages= \
>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>> \
>>>
>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>> \
>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>> org.osgi.framework;version="1.7",\
>>>
>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.service.url;version="1.0", \
>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>> org.apache.karaf.version;version="2.3.0", \
>>> ${jre-${java.specification.version}}
>>>
>>> Like this, you should be able to see org.osgi.service.useradmin package
>>> with package:exports.
>>>
>>> Regards
>>> JB
>>>
>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>
>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>> a
>>>> missing dependency:
>>>>
>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>
>>>> During the development, it seems that the dependency to this package
>>> comes
>>>> from org.osgi.compendium-4.1.0.jar.
>>>>
>>>> I tried to copy this file to the deploy folder, but to me looks like
>>> Karaf
>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>
>>>> What exactly should I copy to the deploy folder to get the proper
>>>> org.osgi.service.useradmin dependency satisfied?
>>>>
>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>> not
>>>> for me... ;)
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>> To start a new topic under Karaf - User, email
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>>
>>> To unsubscribe from Karaf - User, click
>>> here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2>>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026916.html
Sent from the Karaf - User mailing list archive at Nabble.com.
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Ok, looks like this issue: https://issues.apache.org/jira/browse/KARAF-1905
But AFAIU, that should be fixed on 2.3.0 which I’m using… ?!?
- Petri
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026913h41@n3.nabble.com]
Sent: 27. marraskuuta 2012 10:59
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
You should avoid to use the deploy folder when a feature is available.
For instance, you have a feature camel-cxf describing a lot of bundles
and other features in dependencies: it's not just a bundle.
If you don't have access to Internet on your server, my advice is:
1/ to use a distribution (based on Karaf) already shipping all that you
need (like Talend ESB or Fuse ESB for instance)
2/ create your own distribution, populating the system repo (using
features:add-features-to-repo for instance)
More over, CXF requires a "special" jre.properties (that you can find in
etc folder when installing CXF feature).
Regards
JB
On 11/27/2012 09:52 AM, PJR69 wrote:
> Hi,
>
> Excellent, this worked!
>
> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>
> Ok, when doing osgi:headers, I get the following red entries:
> org.apache.aries.blueprint
> org.apache.aries.blueprint.mutable
> org.apache.aries.blueprint.reflect
>
> All version 0.3 - 1
>
> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
> Sent: 27. marraskuuta 2012 10:32
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> copy eventadmin in system repo respecting the Maven structure:
>
> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>
> Once done,
>
> features:install eventadmin
>
> Regards
> JB
>
> On 11/27/2012 09:05 AM, PJR69 wrote:
>
>> Hey,
>>
>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>
>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>
>>
>> - Petri
>>
>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>> Sent: 27. marraskuuta 2012 9:57
>> To: Riipinen Petri
>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>
>> Hello Petri,
>>
>> yes, installing the event admin feature should do the job:
>> feature:install eventadmin
>>
>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>
>> Regards,
>> Benjamin
>>
>> -------- Original-Nachricht --------
>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>
>>> Hi,
>>>
>>> Excellent, this did it!!!
>>>
>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>> enabled the same way or is this in the eventadmin feature or…?
>>>
>>>
>>> - Petri
>>>
>>> From: jbonofre [via Karaf]
>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>> Sent: 27. marraskuuta 2012 8:59
>>> To: Riipinen Petri
>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hi,
>>>
>>> This package is provided by AdminPackage, part of compendium specs.
>>>
>>> Compendium is already shipped into Karaf, but we don't export all
>>> package by default (as some bundles, like the one provided by Felix, may
>>> provide the same packages).
>>>
>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>
>>> Instead, edit etc/config.properties and update the
>>> org.osgi.framework.system.packages property to add useradmin package:
>>>
>>> For Karaf 2.2.x:
>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>> org.osgi.framework.launch; version=1.0.0, \
>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>> org.osgi.service.packageadmin; version=1.2.0, \
>>> org.osgi.service.useradmin; version=1.1.0, \
>>> org.osgi.service.startlevel; version=1.1.0, \
>>> org.osgi.service.url; version=1.0.0, \
>>> org.osgi.util.tracker; version=1.4.0, \
>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>> org.apache.karaf.version; version=2.2.9, \
>>> ${jre-${java.specification.version}}
>>>
>>> For Karaf 2.3.x:
>>> org.osgi.framework.system.packages= \
>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>> \
>>>
>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>> \
>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>> org.osgi.framework;version="1.7",\
>>>
>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.service.url;version="1.0", \
>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>> org.apache.karaf.version;version="2.3.0", \
>>> ${jre-${java.specification.version}}
>>>
>>> Like this, you should be able to see org.osgi.service.useradmin package
>>> with package:exports.
>>>
>>> Regards
>>> JB
>>>
>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>
>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>> a
>>>> missing dependency:
>>>>
>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>
>>>> During the development, it seems that the dependency to this package
>>> comes
>>>> from org.osgi.compendium-4.1.0.jar.
>>>>
>>>> I tried to copy this file to the deploy folder, but to me looks like
>>> Karaf
>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>
>>>> What exactly should I copy to the deploy folder to get the proper
>>>> org.osgi.service.useradmin dependency satisfied?
>>>>
>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>> not
>>>> for me... ;)
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>> To start a new topic under Karaf - User, email
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4%3cmailto:%5bhidden%20email%5d%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>>
>>> To unsubscribe from Karaf - User, click
>>> here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2>>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026920.html
Sent from the Karaf - User mailing list archive at Nabble.com.
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
One note to clarify my use of Karaf: My intention was originally to use ServiceMix but I need Java 7 support and the current version doesn't have it so that's why I'm using pure Karaf for now. Once ServiceMix has Java 7 support, I'll most likely migrate to it and that should resolve all CXF/Camel/ActiveMQ-dependencies that I have..
- Petri
________________________________
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026913h41@n3.nabble.com]
Sent: 27. marraskuuta 2012 10:59
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
You should avoid to use the deploy folder when a feature is available.
For instance, you have a feature camel-cxf describing a lot of bundles
and other features in dependencies: it's not just a bundle.
If you don't have access to Internet on your server, my advice is:
1/ to use a distribution (based on Karaf) already shipping all that you
need (like Talend ESB or Fuse ESB for instance)
2/ create your own distribution, populating the system repo (using
features:add-features-to-repo for instance)
More over, CXF requires a "special" jre.properties (that you can find in
etc folder when installing CXF feature).
Regards
JB
On 11/27/2012 09:52 AM, PJR69 wrote:
> Hi,
>
> Excellent, this worked!
>
> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>
> Ok, when doing osgi:headers, I get the following red entries:
> org.apache.aries.blueprint
> org.apache.aries.blueprint.mutable
> org.apache.aries.blueprint.reflect
>
> All version 0.3 - 1
>
> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn't quite feel right again, or... ?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=0>]
> Sent: 27. marraskuuta 2012 10:32
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> copy eventadmin in system repo respecting the Maven structure:
>
> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>
> Once done,
>
> features:install eventadmin
>
> Regards
> JB
>
> On 11/27/2012 09:05 AM, PJR69 wrote:
>
>> Hey,
>>
>> Ok, I'm building the deployment in an internal network without internet access so I can't run the feature:install as it can't connect to any maven repository.
>>
>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>
>>
>> - Petri
>>
>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>> Sent: 27. marraskuuta 2012 9:57
>> To: Riipinen Petri
>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>
>> Hello Petri,
>>
>> yes, installing the event admin feature should do the job:
>> feature:install eventadmin
>>
>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>
>> Regards,
>> Benjamin
>>
>> -------- Original-Nachricht --------
>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>
>>> Hi,
>>>
>>> Excellent, this did it!!!
>>>
>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>> enabled the same way or is this in the eventadmin feature or...?
>>>
>>>
>>> - Petri
>>>
>>> From: jbonofre [via Karaf]
>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>> Sent: 27. marraskuuta 2012 8:59
>>> To: Riipinen Petri
>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hi,
>>>
>>> This package is provided by AdminPackage, part of compendium specs.
>>>
>>> Compendium is already shipped into Karaf, but we don't export all
>>> package by default (as some bundles, like the one provided by Felix, may
>>> provide the same packages).
>>>
>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>
>>> Instead, edit etc/config.properties and update the
>>> org.osgi.framework.system.packages property to add useradmin package:
>>>
>>> For Karaf 2.2.x:
>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>> org.osgi.framework.launch; version=1.0.0, \
>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>> org.osgi.service.packageadmin; version=1.2.0, \
>>> org.osgi.service.useradmin; version=1.1.0, \
>>> org.osgi.service.startlevel; version=1.1.0, \
>>> org.osgi.service.url; version=1.0.0, \
>>> org.osgi.util.tracker; version=1.4.0, \
>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>> org.apache.karaf.version; version=2.2.9, \
>>> ${jre-${java.specification.version}}
>>>
>>> For Karaf 2.3.x:
>>> org.osgi.framework.system.packages= \
>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>> \
>>>
>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>> \
>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>> org.osgi.framework;version="1.7",\
>>>
>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.service.url;version="1.0", \
>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>> org.apache.karaf.version;version="2.3.0", \
>>> ${jre-${java.specification.version}}
>>>
>>> Like this, you should be able to see org.osgi.service.useradmin package
>>> with package:exports.
>>>
>>> Regards
>>> JB
>>>
>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>
>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>> a
>>>> missing dependency:
>>>>
>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>
>>>> During the development, it seems that the dependency to this package
>>> comes
>>>> from org.osgi.compendium-4.1.0.jar.
>>>>
>>>> I tried to copy this file to the deploy folder, but to me looks like
>>> Karaf
>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>
>>>> What exactly should I copy to the deploy folder to get the proper
>>>> org.osgi.service.useradmin dependency satisfied?
>>>>
>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>> not
>>>> for me... ;)
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>> To start a new topic under Karaf - User, email
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>
>>> To unsubscribe from Karaf - User, click
>>> here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=1><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=2>>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026913&i=3>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026913.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026915.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Newbie question: Useradmin service dependency, from where?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
You should avoid to use the deploy folder when a feature is available.
For instance, you have a feature camel-cxf describing a lot of bundles
and other features in dependencies: it's not just a bundle.
If you don't have access to Internet on your server, my advice is:
1/ to use a distribution (based on Karaf) already shipping all that you
need (like Talend ESB or Fuse ESB for instance)
2/ create your own distribution, populating the system repo (using
features:add-features-to-repo for instance)
More over, CXF requires a "special" jre.properties (that you can find in
etc folder when installing CXF feature).
Regards
JB
On 11/27/2012 09:52 AM, PJR69 wrote:
> Hi,
>
> Excellent, this worked!
>
> Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
> NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
>
> Ok, when doing osgi:headers, I get the following red entries:
> org.apache.aries.blueprint
> org.apache.aries.blueprint.mutable
> org.apache.aries.blueprint.reflect
>
> All version 0.3 - 1
>
> How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
>
>
> - Petri
>
> From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026909h17@n3.nabble.com]
> Sent: 27. marraskuuta 2012 10:32
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> copy eventadmin in system repo respecting the Maven structure:
>
> org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
>
> Once done,
>
> features:install eventadmin
>
> Regards
> JB
>
> On 11/27/2012 09:05 AM, PJR69 wrote:
>
>> Hey,
>>
>> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>>
>> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>>
>>
>> - Petri
>>
>> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
>> Sent: 27. marraskuuta 2012 9:57
>> To: Riipinen Petri
>> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>>
>> Hello Petri,
>>
>> yes, installing the event admin feature should do the job:
>> feature:install eventadmin
>>
>> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>>
>> Regards,
>> Benjamin
>>
>> -------- Original-Nachricht --------
>>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>>
>>> Hi,
>>>
>>> Excellent, this did it!!!
>>>
>>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>>> enabled the same way or is this in the eventadmin feature or…?
>>>
>>>
>>> - Petri
>>>
>>> From: jbonofre [via Karaf]
>>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>>> Sent: 27. marraskuuta 2012 8:59
>>> To: Riipinen Petri
>>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>>
>>> Hi,
>>>
>>> This package is provided by AdminPackage, part of compendium specs.
>>>
>>> Compendium is already shipped into Karaf, but we don't export all
>>> package by default (as some bundles, like the one provided by Felix, may
>>> provide the same packages).
>>>
>>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>>
>>> Instead, edit etc/config.properties and update the
>>> org.osgi.framework.system.packages property to add useradmin package:
>>>
>>> For Karaf 2.2.x:
>>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>>> org.osgi.framework.launch; version=1.0.0, \
>>> org.osgi.framework.hooks.service; version=1.0.0, \
>>> org.osgi.service.packageadmin; version=1.2.0, \
>>> org.osgi.service.useradmin; version=1.1.0, \
>>> org.osgi.service.startlevel; version=1.1.0, \
>>> org.osgi.service.url; version=1.0.0, \
>>> org.osgi.util.tracker; version=1.4.0, \
>>> org.apache.karaf.jaas.boot; version=2.2.9, \
>>> org.apache.karaf.version; version=2.2.9, \
>>> ${jre-${java.specification.version}}
>>>
>>> For Karaf 2.3.x:
>>> org.osgi.framework.system.packages= \
>>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>>> \
>>>
>>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>>> \
>>>
>>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>>> \
>>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>>> org.osgi.framework;version="1.7",\
>>>
>>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>>> org.osgi.service.url;version="1.0", \
>>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>>> org.apache.karaf.jaas.boot;version="2.3.0", \
>>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>>> org.apache.karaf.version;version="2.3.0", \
>>> ${jre-${java.specification.version}}
>>>
>>> Like this, you should be able to see org.osgi.service.useradmin package
>>> with package:exports.
>>>
>>> Regards
>>> JB
>>>
>>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>>
>>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>>> a
>>>> missing dependency:
>>>>
>>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>>
>>>> During the development, it seems that the dependency to this package
>>> comes
>>>> from org.osgi.compendium-4.1.0.jar.
>>>>
>>>> I tried to copy this file to the deploy folder, but to me looks like
>>> Karaf
>>>> sorta jams/restarts then, is that what is supposed to happen?
>>>>
>>>> What exactly should I copy to the deploy folder to get the proper
>>>> org.osgi.service.useradmin dependency satisfied?
>>>>
>>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>>> not
>>>> for me... ;)
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>>
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>>>
>>> ________________________________
>>> If you reply to this email, your message will be added to the discussion
>>> below:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>>> To start a new topic under Karaf - User, email
>>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>
>>> To unsubscribe from Karaf - User, click
>>> here<
>>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
>> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
>> To unsubscribe from Karaf - User, click here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
> To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
> To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Hi,
Excellent, this worked!
Now on to to next problem: While trying to activate camel-cxf (2.10.1, just dropped the jar into the deploy-folder) it fails to create the Blueprint configuration and then I get this kind of exception on the log:
NoClassDefFoundError: /org/apache/aries/blueprint/NamespaceHandler.
Ok, when doing osgi:headers, I get the following red entries:
org.apache.aries.blueprint
org.apache.aries.blueprint.mutable
org.apache.aries.blueprint.reflect
All version 0.3 - 1
How to resolve this? Dropping the correct versioned Aries bundles into deploy-folder doesn’t quite feel right again, or… ?
- Petri
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026909h17@n3.nabble.com]
Sent: 27. marraskuuta 2012 10:32
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
Hi,
copy eventadmin in system repo respecting the Maven structure:
org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
Once done,
features:install eventadmin
Regards
JB
On 11/27/2012 09:05 AM, PJR69 wrote:
> Hey,
>
> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>
> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>
>
> - Petri
>
> From: Benjamin Debeerst-2 [via Karaf] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=0>]
> Sent: 27. marraskuuta 2012 9:57
> To: Riipinen Petri
> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>
> Hello Petri,
>
> yes, installing the event admin feature should do the job:
> feature:install eventadmin
>
> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>
> Regards,
> Benjamin
>
> -------- Original-Nachricht --------
>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>
>> Hi,
>>
>> Excellent, this did it!!!
>>
>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>> enabled the same way or is this in the eventadmin feature or…?
>>
>>
>> - Petri
>>
>> From: jbonofre [via Karaf]
>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>> Sent: 27. marraskuuta 2012 8:59
>> To: Riipinen Petri
>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>
>> Hi,
>>
>> This package is provided by AdminPackage, part of compendium specs.
>>
>> Compendium is already shipped into Karaf, but we don't export all
>> package by default (as some bundles, like the one provided by Felix, may
>> provide the same packages).
>>
>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>
>> Instead, edit etc/config.properties and update the
>> org.osgi.framework.system.packages property to add useradmin package:
>>
>> For Karaf 2.2.x:
>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>> org.osgi.framework.launch; version=1.0.0, \
>> org.osgi.framework.hooks.service; version=1.0.0, \
>> org.osgi.service.packageadmin; version=1.2.0, \
>> org.osgi.service.useradmin; version=1.1.0, \
>> org.osgi.service.startlevel; version=1.1.0, \
>> org.osgi.service.url; version=1.0.0, \
>> org.osgi.util.tracker; version=1.4.0, \
>> org.apache.karaf.jaas.boot; version=2.2.9, \
>> org.apache.karaf.version; version=2.2.9, \
>> ${jre-${java.specification.version}}
>>
>> For Karaf 2.3.x:
>> org.osgi.framework.system.packages= \
>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>> \
>>
>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>> \
>>
>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>> \
>>
>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>> \
>>
>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>> \
>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>> org.osgi.framework;version="1.7",\
>>
>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>> org.osgi.service.url;version="1.0", \
>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>> org.apache.karaf.jaas.boot;version="2.3.0", \
>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>> org.apache.karaf.version;version="2.3.0", \
>> ${jre-${java.specification.version}}
>>
>> Like this, you should be able to see org.osgi.service.useradmin package
>> with package:exports.
>>
>> Regards
>> JB
>>
>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>
>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>> a
>>> missing dependency:
>>>
>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>
>>> During the development, it seems that the dependency to this package
>> comes
>>> from org.osgi.compendium-4.1.0.jar.
>>>
>>> I tried to copy this file to the deploy folder, but to me looks like
>> Karaf
>>> sorta jams/restarts then, is that what is supposed to happen?
>>>
>>> What exactly should I copy to the deploy folder to get the proper
>>> org.osgi.service.useradmin dependency satisfied?
>>>
>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>> not
>>> for me... ;)
>>>
>>>
>>>
>>> --
>>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>> To start a new topic under Karaf - User, email
>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4<mailto:[hidden%20email]%3c/user/SendEmail.jtp?type=node&node=4026907&i=4>>>
>> To unsubscribe from Karaf - User, click
>> here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
> To start a new topic under Karaf - User, email [hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=1>
> To unsubscribe from Karaf - User, click here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026909&i=2>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026909.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026912.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Newbie question: Useradmin service dependency, from where?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
copy eventadmin in system repo respecting the Maven structure:
org/apache/felix/org.apache.felix.eventadmin/1.3.0/org.apache.felix.eventadmin-1.3.0.jar
Once done,
features:install eventadmin
Regards
JB
On 11/27/2012 09:05 AM, PJR69 wrote:
> Hey,
>
> Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
>
> So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
>
>
> - Petri
>
> From: Benjamin Debeerst-2 [via Karaf] [mailto:ml-node+s922171n4026907h55@n3.nabble.com]
> Sent: 27. marraskuuta 2012 9:57
> To: Riipinen Petri
> Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
>
> Hello Petri,
>
> yes, installing the event admin feature should do the job:
> feature:install eventadmin
>
> Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
>
> Regards,
> Benjamin
>
> -------- Original-Nachricht --------
>> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
>> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
>> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
>> Betreff: RE: Newbie question: Useradmin service dependency, from where?
>
>> Hi,
>>
>> Excellent, this did it!!!
>>
>> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
>> enabled the same way or is this in the eventadmin feature or…?
>>
>>
>> - Petri
>>
>> From: jbonofre [via Karaf]
>> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
>> Sent: 27. marraskuuta 2012 8:59
>> To: Riipinen Petri
>> Subject: Re: Newbie question: Useradmin service dependency, from where?
>>
>> Hi,
>>
>> This package is provided by AdminPackage, part of compendium specs.
>>
>> Compendium is already shipped into Karaf, but we don't export all
>> package by default (as some bundles, like the one provided by Felix, may
>> provide the same packages).
>>
>> You don't have (and must not ;)) put compendium jar in the deploy folder.
>>
>> Instead, edit etc/config.properties and update the
>> org.osgi.framework.system.packages property to add useradmin package:
>>
>> For Karaf 2.2.x:
>> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
>> org.osgi.framework.launch; version=1.0.0, \
>> org.osgi.framework.hooks.service; version=1.0.0, \
>> org.osgi.service.packageadmin; version=1.2.0, \
>> org.osgi.service.useradmin; version=1.1.0, \
>> org.osgi.service.startlevel; version=1.1.0, \
>> org.osgi.service.url; version=1.0.0, \
>> org.osgi.util.tracker; version=1.4.0, \
>> org.apache.karaf.jaas.boot; version=2.2.9, \
>> org.apache.karaf.version; version=2.2.9, \
>> ${jre-${java.specification.version}}
>>
>> For Karaf 2.3.x:
>> org.osgi.framework.system.packages= \
>> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
>> \
>>
>> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
>> \
>>
>> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
>> \
>>
>> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
>> \
>>
>> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
>> \
>> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
>> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
>> org.osgi.framework;version="1.7",\
>>
>> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
>> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
>> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
>> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
>> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
>> org.osgi.service.url;version="1.0", \
>> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
>> org.apache.karaf.jaas.boot;version="2.3.0", \
>> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
>> org.apache.karaf.version;version="2.3.0", \
>> ${jre-${java.specification.version}}
>>
>> Like this, you should be able to see org.osgi.service.useradmin package
>> with package:exports.
>>
>> Regards
>> JB
>>
>> On 11/27/2012 07:27 AM, PJR69 wrote:
>>
>>> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
>> a
>>> missing dependency:
>>>
>>> org.osgi.service.useradmin, version [1.1 - 2)
>>>
>>> During the development, it seems that the dependency to this package
>> comes
>>> from org.osgi.compendium-4.1.0.jar.
>>>
>>> I tried to copy this file to the deploy folder, but to me looks like
>> Karaf
>>> sorta jams/restarts then, is that what is supposed to happen?
>>>
>>> What exactly should I copy to the deploy folder to get the proper
>>> org.osgi.service.useradmin dependency satisfied?
>>>
>>> This is prolly trivial to you guys, but creating my first OSGi app, it's
>> not
>>> for me... ;)
>>>
>>>
>>>
>>> --
>>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
>> To start a new topic under Karaf - User, email
>> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4>>
>> To unsubscribe from Karaf - User, click
>> here<
>> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
> To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com
> To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Hey,
Ok, I’m building the deployment in an internal network without internet access so I can’t run the feature:install as it can’t connect to any maven repository.
So, I downloaded the org.apache.felix.eventadmin-1.3.0 jar so is there a way that I can deploy this manually on my Karaf 2.3.0 instance without using the feature-installation? I tried to copy it to deploy-folder but again Karaf seemed to jam/hang.
- Petri
From: Benjamin Debeerst-2 [via Karaf] [mailto:ml-node+s922171n4026907h55@n3.nabble.com]
Sent: 27. marraskuuta 2012 9:57
To: Riipinen Petri
Subject: Re: RE: Newbie question: Useradmin service dependency, from where?
Hello Petri,
yes, installing the event admin feature should do the job:
feature:install eventadmin
Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
Regards,
Benjamin
-------- Original-Nachricht --------
> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
> Von: PJR69 <[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=0>>
> An: [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=1>
> Betreff: RE: Newbie question: Useradmin service dependency, from where?
> Hi,
>
> Excellent, this did it!!!
>
> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
> enabled the same way or is this in the eventadmin feature or…?
>
>
> - Petri
>
> From: jbonofre [via Karaf]
> [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=2>]
> Sent: 27. marraskuuta 2012 8:59
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> This package is provided by AdminPackage, part of compendium specs.
>
> Compendium is already shipped into Karaf, but we don't export all
> package by default (as some bundles, like the one provided by Felix, may
> provide the same packages).
>
> You don't have (and must not ;)) put compendium jar in the deploy folder.
>
> Instead, edit etc/config.properties and update the
> org.osgi.framework.system.packages property to add useradmin package:
>
> For Karaf 2.2.x:
> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
> org.osgi.framework.launch; version=1.0.0, \
> org.osgi.framework.hooks.service; version=1.0.0, \
> org.osgi.service.packageadmin; version=1.2.0, \
> org.osgi.service.useradmin; version=1.1.0, \
> org.osgi.service.startlevel; version=1.1.0, \
> org.osgi.service.url; version=1.0.0, \
> org.osgi.util.tracker; version=1.4.0, \
> org.apache.karaf.jaas.boot; version=2.2.9, \
> org.apache.karaf.version; version=2.2.9, \
> ${jre-${java.specification.version}}
>
> For Karaf 2.3.x:
> org.osgi.framework.system.packages= \
> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
> \
>
> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
> \
>
> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
> \
>
> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
> \
>
> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
> \
> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
> org.osgi.framework;version="1.7",\
>
> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
> org.osgi.service.url;version="1.0", \
> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
> org.apache.karaf.jaas.boot;version="2.3.0", \
> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
> org.apache.karaf.version;version="2.3.0", \
> ${jre-${java.specification.version}}
>
> Like this, you should be able to see org.osgi.service.useradmin package
> with package:exports.
>
> Regards
> JB
>
> On 11/27/2012 07:27 AM, PJR69 wrote:
>
> > Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
> a
> > missing dependency:
> >
> > org.osgi.service.useradmin, version [1.1 - 2)
> >
> > During the development, it seems that the dependency to this package
> comes
> > from org.osgi.compendium-4.1.0.jar.
> >
> > I tried to copy this file to the deploy folder, but to me looks like
> Karaf
> > sorta jams/restarts then, is that what is supposed to happen?
> >
> > What exactly should I copy to the deploy folder to get the proper
> > org.osgi.service.useradmin dependency satisfied?
> >
> > This is prolly trivial to you guys, but creating my first OSGi app, it's
> not
> > for me... ;)
> >
> >
> >
> > --
> > View this message in context:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
> > Sent from the Karaf - User mailing list archive at Nabble.com.
> >
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
> To start a new topic under Karaf - User, email
> [hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=3><mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4026907&i=4>>
> To unsubscribe from Karaf - User, click
> here<
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026907.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026908.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: RE: Newbie question: Useradmin service dependency, from where?
Posted by Benjamin Debeerst <Be...@gmx.de>.
Hello Petri,
yes, installing the event admin feature should do the job:
feature:install eventadmin
Alternatively, you may configure this feature to be installed per default on startup. Edit etc/org.apache.karaf.features.cfg and add eventadmin to the featuresBoot property. This is karaf 2.2.9 though, not sure if this property changed it's place in 2.3.x.
Regards,
Benjamin
-------- Original-Nachricht --------
> Datum: Mon, 26 Nov 2012 23:43:35 -0800 (PST)
> Von: PJR69 <pe...@insta.fi>
> An: user@karaf.apache.org
> Betreff: RE: Newbie question: Useradmin service dependency, from where?
> Hi,
>
> Excellent, this did it!!!
>
> Ok, now I bumbed into org.osgi.service.event dependency missing. Is this
> enabled the same way or is this in the eventadmin feature or…?
>
>
> - Petri
>
> From: jbonofre [via Karaf]
> [mailto:ml-node+s922171n4026905h93@n3.nabble.com]
> Sent: 27. marraskuuta 2012 8:59
> To: Riipinen Petri
> Subject: Re: Newbie question: Useradmin service dependency, from where?
>
> Hi,
>
> This package is provided by AdminPackage, part of compendium specs.
>
> Compendium is already shipped into Karaf, but we don't export all
> package by default (as some bundles, like the one provided by Felix, may
> provide the same packages).
>
> You don't have (and must not ;)) put compendium jar in the deploy folder.
>
> Instead, edit etc/config.properties and update the
> org.osgi.framework.system.packages property to add useradmin package:
>
> For Karaf 2.2.x:
> org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
> org.osgi.framework.launch; version=1.0.0, \
> org.osgi.framework.hooks.service; version=1.0.0, \
> org.osgi.service.packageadmin; version=1.2.0, \
> org.osgi.service.useradmin; version=1.1.0, \
> org.osgi.service.startlevel; version=1.1.0, \
> org.osgi.service.url; version=1.0.0, \
> org.osgi.util.tracker; version=1.4.0, \
> org.apache.karaf.jaas.boot; version=2.2.9, \
> org.apache.karaf.version; version=2.2.9, \
> ${jre-${java.specification.version}}
>
> For Karaf 2.3.x:
> org.osgi.framework.system.packages= \
> org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0",
> \
>
> org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
> \
>
> org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1",
> \
>
> org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1",
> \
>
> org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
> \
> org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
> org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
> org.osgi.framework;version="1.7",\
>
> org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
> org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
> org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
> org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
> org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
> org.osgi.service.url;version="1.0", \
> org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
> org.apache.karaf.jaas.boot;version="2.3.0", \
> org.apache.karaf.jaas.boot.principal;version="2.3.0", \
> org.apache.karaf.version;version="2.3.0", \
> ${jre-${java.specification.version}}
>
> Like this, you should be able to see org.osgi.service.useradmin package
> with package:exports.
>
> Regards
> JB
>
> On 11/27/2012 07:27 AM, PJR69 wrote:
>
> > Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting
> a
> > missing dependency:
> >
> > org.osgi.service.useradmin, version [1.1 - 2)
> >
> > During the development, it seems that the dependency to this package
> comes
> > from org.osgi.compendium-4.1.0.jar.
> >
> > I tried to copy this file to the deploy folder, but to me looks like
> Karaf
> > sorta jams/restarts then, is that what is supposed to happen?
> >
> > What exactly should I copy to the deploy folder to get the proper
> > org.osgi.service.useradmin dependency satisfied?
> >
> > This is prolly trivial to you guys, but creating my first OSGi app, it's
> not
> > for me... ;)
> >
> >
> >
> > --
> > View this message in context:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
> > Sent from the Karaf - User mailing list archive at Nabble.com.
> >
>
> --
> Jean-Baptiste Onofré
> [hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
> To start a new topic under Karaf - User, email
> ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
> To unsubscribe from Karaf - User, click
> here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
> NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
RE: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
Hi,
Excellent, this did it!!!
Ok, now I bumbed into org.osgi.service.event dependency missing. Is this enabled the same way or is this in the eventadmin feature or…?
- Petri
From: jbonofre [via Karaf] [mailto:ml-node+s922171n4026905h93@n3.nabble.com]
Sent: 27. marraskuuta 2012 8:59
To: Riipinen Petri
Subject: Re: Newbie question: Useradmin service dependency, from where?
Hi,
This package is provided by AdminPackage, part of compendium specs.
Compendium is already shipped into Karaf, but we don't export all
package by default (as some bundles, like the one provided by Felix, may
provide the same packages).
You don't have (and must not ;)) put compendium jar in the deploy folder.
Instead, edit etc/config.properties and update the
org.osgi.framework.system.packages property to add useradmin package:
For Karaf 2.2.x:
org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
org.osgi.framework.launch; version=1.0.0, \
org.osgi.framework.hooks.service; version=1.0.0, \
org.osgi.service.packageadmin; version=1.2.0, \
org.osgi.service.useradmin; version=1.1.0, \
org.osgi.service.startlevel; version=1.1.0, \
org.osgi.service.url; version=1.0.0, \
org.osgi.util.tracker; version=1.4.0, \
org.apache.karaf.jaas.boot; version=2.2.9, \
org.apache.karaf.version; version=2.2.9, \
${jre-${java.specification.version}}
For Karaf 2.3.x:
org.osgi.framework.system.packages= \
org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0", \
org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
\
org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1", \
org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1", \
org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
\
org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
org.osgi.framework;version="1.7",\
org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
org.osgi.service.url;version="1.0", \
org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
org.apache.karaf.jaas.boot;version="2.3.0", \
org.apache.karaf.jaas.boot.principal;version="2.3.0", \
org.apache.karaf.version;version="2.3.0", \
${jre-${java.specification.version}}
Like this, you should be able to see org.osgi.service.useradmin package
with package:exports.
Regards
JB
On 11/27/2012 07:27 AM, PJR69 wrote:
> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting a
> missing dependency:
>
> org.osgi.service.useradmin, version [1.1 - 2)
>
> During the development, it seems that the dependency to this package comes
> from org.osgi.compendium-4.1.0.jar.
>
> I tried to copy this file to the deploy folder, but to me looks like Karaf
> sorta jams/restarts then, is that what is supposed to happen?
>
> What exactly should I copy to the deploy folder to get the proper
> org.osgi.service.useradmin dependency satisfied?
>
> This is prolly trivial to you guys, but creating my first OSGi app, it's not
> for me... ;)
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
[hidden email]</user/SendEmail.jtp?type=node&node=4026905&i=0>
http://blog.nanthrax.net
Talend - http://www.talend.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026905.html
To start a new topic under Karaf - User, email ml-node+s922171n930749h57@n3.nabble.com<ma...@n3.nabble.com>
To unsubscribe from Karaf - User, click here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=cGV0cmkucmlpcGluZW5AaW5zdGEuZml8OTMwNzQ5fDU5NTY5OTMzOA==>.
NAML<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026906.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: Newbie question: Useradmin service dependency, from where?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
This package is provided by AdminPackage, part of compendium specs.
Compendium is already shipped into Karaf, but we don't export all
package by default (as some bundles, like the one provided by Felix, may
provide the same packages).
You don't have (and must not ;)) put compendium jar in the deploy folder.
Instead, edit etc/config.properties and update the
org.osgi.framework.system.packages property to add useradmin package:
For Karaf 2.2.x:
org.osgi.framework.system.packages=org.osgi.framework; version=1.5.0, \
org.osgi.framework.launch; version=1.0.0, \
org.osgi.framework.hooks.service; version=1.0.0, \
org.osgi.service.packageadmin; version=1.2.0, \
org.osgi.service.useradmin; version=1.1.0, \
org.osgi.service.startlevel; version=1.1.0, \
org.osgi.service.url; version=1.0.0, \
org.osgi.util.tracker; version=1.4.0, \
org.apache.karaf.jaas.boot; version=2.2.9, \
org.apache.karaf.version; version=2.2.9, \
${jre-${java.specification.version}}
For Karaf 2.3.x:
org.osgi.framework.system.packages= \
org.osgi.framework.startlevel;uses:="org.osgi.framework";version="1.0", \
org.osgi.framework.wiring;uses:="org.osgi.resource,org.osgi.framework";version="1.1",
\
org.osgi.framework.hooks.bundle;uses:="org.osgi.framework";version="1.1", \
org.osgi.framework.hooks.service;uses:="org.osgi.framework";version="1.1", \
org.osgi.framework.hooks.resolver;uses:="org.osgi.framework.wiring";version="1.0",
\
org.osgi.framework.launch;uses:="org.osgi.framework";version="1.1", \
org.osgi.framework.namespace;uses:="org.osgi.resource";version="1.0", \
org.osgi.framework;version="1.7",\
org.osgi.framework.hooks.weaving;uses:="org.osgi.framework.wiring";version="1.0",\
org.osgi.resource;version="1.0",org.osgi.service.url;version="1.0",\
org.osgi.service.startlevel;uses:="org.osgi.framework";version="1.1",\
org.osgi.service.packageadmin;uses:="org.osgi.framework";version="1.2",\
org.osgi.service.useradmin;uses:="org.osgi.framework";version="1.1", \
org.osgi.service.url;version="1.0", \
org.osgi.util.tracker;uses:="org.osgi.framework";version="1.5.1", \
org.apache.karaf.jaas.boot;version="2.3.0", \
org.apache.karaf.jaas.boot.principal;version="2.3.0", \
org.apache.karaf.version;version="2.3.0", \
${jre-${java.specification.version}}
Like this, you should be able to see org.osgi.service.useradmin package
with package:exports.
Regards
JB
On 11/27/2012 07:27 AM, PJR69 wrote:
> Trying to deploy my app on the Karaf 2.3.0 deploy folder and I'm getting a
> missing dependency:
>
> org.osgi.service.useradmin, version [1.1 - 2)
>
> During the development, it seems that the dependency to this package comes
> from org.osgi.compendium-4.1.0.jar.
>
> I tried to copy this file to the deploy folder, but to me looks like Karaf
> sorta jams/restarts then, is that what is supposed to happen?
>
> What exactly should I copy to the deploy folder to get the proper
> org.osgi.service.useradmin dependency satisfied?
>
> This is prolly trivial to you guys, but creating my first OSGi app, it's not
> for me... ;)
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Newbie question: Useradmin service dependency, from where?
Posted by PJR69 <pe...@insta.fi>.
And furthermore: Is there a difference wrt needed jar if I use Felix or
Equinox?
--
View this message in context: http://karaf.922171.n3.nabble.com/Newbie-question-Useradmin-service-dependency-from-where-tp4026903p4026904.html
Sent from the Karaf - User mailing list archive at Nabble.com.