Xerces and Karaf 3.0.1

2014-04-22 Thread Minto van der Sluis
Hi folks, I ran into some issues with getting my stuff to work with a xerces dependency in a karaf 3.0.1 assembly. Initially it turned out that I had 2 different xerces libraries. One as part of karaf in lib/endorsed (KARAF-2446) and the other was one of my dependencies (using servicemix). Getti

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Guillaume Nodet
The xerces packages are already exported by the system bundle, so it should not be needed to have them boot delegated. It rather indicates that you are using this package without importing it I think. 2014-04-22 10:26 GMT+02:00 Minto van der Sluis : > Hi folks, > > I ran into some issues with ge

Karaf 2.3.5 starting child instance

2014-04-22 Thread maidiepe
Hi, In Karaf 2.3.4 i created and started child instances without a problem, however after updating to 2.3.5 my freshly created child instances won't start anymore. The procedure: ./client -a 8101 (root instance) -u admin -p (password) admin:create foo (new instance) admin:start foo (trying to st

Re: Karaf 2.3.5 starting child instance

2014-04-22 Thread Jean-Baptiste Onofré
Hi Maik, admin:list still display "Stopped" ? I gonna try to reproduce it. I keep you posted. Regards JB On 04/22/2014 11:55 AM, maidiepe wrote: Hi, In Karaf 2.3.4 i created and started child instances without a problem, however after updating to 2.3.5 my freshly created child instances won

Re: Karaf 2.3.5 starting child instance

2014-04-22 Thread maidiepe
Hi JB, Yes, the command still displays stopped. When i execute the ./start script of the child instance i get some output but the status is still stopped when i perform a admin:list Thanks for the quick response b.t.w. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Minto van der Sluis
Well, actually the xerces packages are imported, but they are optional. The following is a snippet from bundle:headers. Import-Package = javax.xml.namespace;resolution:=optional, javax.xml.stream;resolution:=optional, javax.xml.stream.events;resolution:=optional, ja

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Jean-Baptiste Onofré
Hi Minto, could you do a package:export|grep -i xerces to see the exported package ? Does it help to remove xercesImpl.jar from lib/endorsed folder ? Regards JB On 04/22/2014 01:40 PM, Minto van der Sluis wrote: Well, actually the xerces packages are imported, but they are optional. The follo

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Minto van der Sluis
Running exports gives the following: karaf@root>package:exports | grep -i xerces com.sun.xml.fastinfoset.org.apache.xerces.util| 1.2.13| 158 | org.apache.servicemix.bundles.fastinfoset Removing xercesImpl.jar for lib/endorsed will probably help. Since that

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Jean-Baptiste Onofré
Thanks for the update. I will take a deeper look. As reminder, we added xercesImpl in lib/endorsed for an issue with IBM JDK. I will double check. Regards JB On 04/22/2014 01:53 PM, Minto van der Sluis wrote: Running exports gives the following: karaf@root>package:exports | grep -i xerces co

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Minto van der Sluis
Hi JB, Seems like I am doing something wrong in my custom assembly. I tried the same export in a downloaded Karaf binary. This one results in a much longer list. I will compare my custom etc/ with the one from karaf itself. Regards, Minto Jean-Baptiste Onofré schreef op 22-4-2014 14:00: > Tha

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Jean-Baptiste Onofré
Hi Minto, the package:exports doesn't look complete for me. You should be able to see the xerces package and you don't. Could you check the etc/jre.properties ? Thanks, Regards JB On 04/22/2014 01:53 PM, Minto van der Sluis wrote: Running exports gives the following: karaf@root>package:expor

Re: Feature repositories in child instances

2014-04-22 Thread Tim Moloney
Perhaps I misunderstood the bottom of the Instances page of the User Guide (http://karaf.apache.org/manual/latest/users-guide/instances.html), but it listed a set of methods for controlling instances. The only method that controls features is createInstance(). Thanks, Tim On Mon, Apr 21, 2014 a

Re: Feature repositories in child instances

2014-04-22 Thread Jean-Baptiste Onofré
Hi Tim, completely at the bottom of the documentation page, you can see: cloneInstance(instanceName, cloneName, sshPort, rmiRegistryPort, rmiServerPort, location, javaOpts): clone an existing instance. You are right, the createInstance operation allows you to tune the features: actually, it

Re: Xerces and Karaf 3.0.1

2014-04-22 Thread Minto van der Sluis
I do not have a custom jre.properties. Comparing the other configuration changes does not reveal anything except for users.properties. I still had the old one. Replacing it with the new one (including groups) shows the exact same behaviour. Regards, Minto Jean-Baptiste Onofré schreef op 22-4-2

Re: Karaf 2.3.5 starting child instance

2014-04-22 Thread Jean-Baptiste Onofré
Hi Maik, I reproduced your issue on Karaf 2.3.5 (it works fine on 3.0.1). I create a Jira and fix that asap. Sorry about that. Regards JB On 04/22/2014 11:55 AM, maidiepe wrote: Hi, In Karaf 2.3.4 i created and started child instances without a problem, however after updating to 2.3.5 my fre

Re: Karaf 2.3.5 starting child instance

2014-04-22 Thread Jean-Baptiste Onofré
FYI: https://issues.apache.org/jira/browse/KARAF-2926 Regards JB On 04/22/2014 03:14 PM, Jean-Baptiste Onofré wrote: Hi Maik, I reproduced your issue on Karaf 2.3.5 (it works fine on 3.0.1). I create a Jira and fix that asap. Sorry about that. Regards JB On 04/22/2014 11:55 AM, maidiepe wr

Re: Karaf 2.3.5 starting child instance

2014-04-22 Thread maidiepe
Thanks for creating the issue. I will wait for bugfix! -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-2-3-5-starting-child-instance-tp4032902p4032916.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: services published and unpublished in karaf 3.0.0

2014-04-22 Thread Adrián Roselló Rey
Hi again! Bad news, seems like it did not work for all bundles, but for the most of them :( Debugging a bit more and analyzing deeper the logs, we identified when the services of my Bundle were stopped and starting. Just when the bundle change to CREATED state, a new thread starts to destroy all i

Is this supposed to work in Karaf? A command question.

2014-04-22 Thread Geoffry Roberts
All, First I apologize, I might be double posting this. I have a command, very simple, that works in the bndtools runtime with Felix. But in Karaf, the bundle shows as active but when run karaf@root()> cmd Command not found: cmd I've included the actual code, below. I simply want to know if t

Re: Is this supposed to work in Karaf? A command question.

2014-04-22 Thread Jean-Baptiste Onofré
Hi Geoffry, An user already reported that. Are you able to see the service with the ls command ? What's your Karaf version ? Thanks, Regards JB On 04/22/2014 05:29 PM, Geoffry Roberts wrote: All, First I apologize, I might be double posting this. I have a command, very simple, that works

removing cxf for web service endpoint address

2014-04-22 Thread asookazian2
We are using a blueprint.xml as follows: http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"; xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.o

Re: removing cxf for web service endpoint address

2014-04-22 Thread Jean-Baptiste Onofré
Hi, just put a file named etc/org.apache.cxf.osgi.cfg containing: org.apache.cxf.servlet.context=/soap/foo and you will have what you want. Regards JB On 04/22/2014 07:16 PM, asookazian2 wrote: We are using a blueprint.xml as follows: http://www.osgi.org/xmlns/blueprint/v1.0.0";

Re: removing cxf for web service endpoint address

2014-04-22 Thread asookazian2
Thanks for replying. Problem is we have multiple apps as follows: /soap/foo1 /soap/foo2 /rest/bar1 /rest/bar2 where 'foo1' is an application name. is this possible to achieve? -- View this message in context: http://karaf.922171.n3.nabble.com/removing-cxf-for-web-service-endpoint-address-tp

Re: Is this supposed to work in Karaf? A command question.

2014-04-22 Thread Geoffry Roberts
Karaf version is 3.0.0. My command bundle shows as active, On Tue, Apr 22, 2014 at 11:34 AM, Jean-Baptiste Onofré wrote: > Hi Geoffry, > > An user already reported that. Are you able to see the service with the ls > command ? > > What's your Karaf version ? > > Thanks, > Regards > JB > > > On 0

Re: Is this supposed to work in Karaf? A command question.

2014-04-22 Thread Jean-Baptiste Onofré
Hi Geoffry, I agree with the command bundle, but are you able to see the services exposed by this bundle ? Actually a command is a service. Regards JB On 04/22/2014 08:24 PM, Geoffry Roberts wrote: Karaf version is 3.0.0. My command bundle shows as active, On Tue, Apr 22, 2014 at 11:34 AM

Karaf zabix monitoring

2014-04-22 Thread Muhzin
Hi all, We are trying to monitor our karaf instance using zabix. Is there any way that we can configure karaf so that we can get the jmx connection service url of the form "hostname:port" ? I tried to set the following options to the karaf start script JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management

Re: Karaf zabix monitoring

2014-04-22 Thread Jean-Baptiste Onofré
Hi Muhsin, Karaf already embeds and provide the MBeanServer that you can configure in etc/org.apache.karaf.management.cfg file. The hostname:port format is not yet supported, we have a Jira about that: https://issues.apache.org/jira/browse/KARAF-1952 Regards JB On 04/23/2014 07:45 AM, Muhzin