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:[email protected]]
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 
[email protected]<mailto:[email protected]>
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.

Reply via email to