Problem installing cxf WebService

2014-02-12 Thread Laci Gaspar
Hi I'm having a problem installing a CXF WebService. I'm getting an unresolved constraint error: starting bundle: file:/C:/Users/kit/apache-karaf-2.3.3/deploy/cxf-code-first-bundle-1.0-SNAPSHOT.jar org.osgi.framework.BundleException: Unresolved constraint in bundle cxf-code-first-bundle

Re: Running command script on startup

2014-02-12 Thread Richard Kettelerij
Hi Henryk, Check the etc/shell.init.script file as described on http://karaf.apache.org/manual/latest/developers-guide/scripting.html under 'startup'. Kind regards, Richard On Wed, Feb 12, 2014 at 10:37 AM, Henryk Konsek hekon...@gmail.com wrote: Hi, Is there a way to create a script with

Re: Running command script on startup

2014-02-12 Thread Daniel McGreal
Hi Henryk, With the right OS: echo list | bin/karaf works, though might not be what you’re looking for. Dan. On 12 Feb 2014, at 09:37, Henryk Konsek hekon...@gmail.com wrote: Hi, Is there a way to create a script with some Karaf shell commands that will be executed during the container

question about feature xml file

2014-02-12 Thread simafengyun1984
Hi JB, I want to write my project's feature xml files in order to install bundles easily. Do you have any website resource introducing how to write customized feature xml files? Thank you! -- View this message in context:

Re: Problem installing cxf WebService

2014-02-12 Thread Freeman Fang
Hi, Could you please edit $KARAF_HOME/etc/jre.properties change javax.jws, \ javax.jws.soap, \ to javax.jws;version=2.0, \ javax.jws.soap;version=2.0, \ and cleanly restart karaf? - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On 2014-2-12, at 下午5:41,

Re: Problem installing cxf WebService

2014-02-12 Thread Freeman Fang
Sorry, actually you should install mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.3 bundle which can export javax.jws 2.0 Btw, I think you should install features.xml from cxf and features:install cxf which will offer you all necessary bundles when you work on cxf related

Re: question about feature xml file

2014-02-12 Thread Achim Nierbeck
Hi, I'm not JB ;) but you'll find a sample at [1]. regards, Achim [1] - https://github.com/ANierbeck/Camel-Pax-Exam-Demo/tree/master/feature 2014-02-12 11:30 GMT+01:00 simafengyun1984 yifeng@citi.com: Hi JB, I want to write my project's feature xml files in order to install bundles

Re: Karaf Jenkins

2014-02-12 Thread rocket
I also saw this warning/error: 10:58:35,291 WARN [Start Level Event Dispatcher] Error when installing feature test-dependencies: java.io.IOException: Error resolving artifact org.apache.curator:curator-client:jar:LATEST when provisioning the bundles I changed

Re: Karaf Jenkins

2014-02-12 Thread Achim Nierbeck
Hi, see my comments inline. regards, Achim 2014-02-12 12:27 GMT+01:00 rocket nicholas.martens...@gmail.com: I also saw this warning/error: 10:58:35,291 WARN [Start Level Event Dispatcher] Error when installing feature test-dependencies: java.io.IOException: Error resolving artifact

Re: Karaf Jenkins

2014-02-12 Thread rocket
if you didn't define this dependency in your POM and if you didn't run the needed maven plugin depends-maven-plugin it won't work. depends-maven-plugin and curator-client was in the POM all the time the only thing i added was the .version(2.3.0) i dont know if its a bug or a feature but it did

Re: Problem installing cxf WebService

2014-02-12 Thread Laci Gaspar
Thanks for your answer. The problem was in my pom file, which had a dependency to geronimo. I removed that and now it works. Thanks, Laci On 12.02.2014 12:04, Freeman Fang wrote: Sorry, actually you should install mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.3 bundle which

Re: Karaf Jenkins

2014-02-12 Thread Achim Nierbeck
hmm, this is rather strange then. Might be a bug, could you open an issue for it at the Pax Exam Jira with a working sample for reproduction? regards, Achim 2014-02-12 12:45 GMT+01:00 rocket nicholas.martens...@gmail.com: if you didn't define this dependency in your POM and if you didn't run

Re: Running command script on startup

2014-02-12 Thread Henryk Konsek
Check the etc/shell.init.script file Almost there, Richard :) . I was wondering if I can execute script on container startup, not on shell startup. Thank you. -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Running command script on startup

2014-02-12 Thread Henryk Konsek
Hi Dan, echo list | bin/karaf works, though might not be what you're looking for. I'm thinking more about etc/shell.init.script, but for container startup (not shell startup). Cheers. --- Henryk Konsek http://henryk-konsek.blogspot.com

Strange behavior of the org.apache.karaf.features.FeaturesService in Apache Karaf 2.3.0

2014-02-12 Thread Steve
Karaf users, I'm experiencing strange behavior of the concrete implementation of the org.apache.karaf.features.FeaturesService interface in Apache Karaf 2.3.0 (as part of JBoss Fuse 6) – please take a look at my use case and see if you might be able to shed some light on what I’m experiencing:

Re: Strange behavior of the org.apache.karaf.features.FeaturesService in Apache Karaf 2.3.0

2014-02-12 Thread Steve
Karaf users, I realized the scenario I described in my original message might be a bit complex, possibly obfuscating the issue a bit. This one takes the “agent” updating itself out of the picture and presents a simpler scenario that demonstrates the issue. You can think of the agent as a

Re: Strange behavior of the org.apache.karaf.features.FeaturesService in Apache Karaf 2.3.0

2014-02-12 Thread Guillaume Nodet
Not sure if that's what you see, but the state of the FeaturesService is saved in the bundle associated data directory. So if you install a new bundle and remove the old one, the state would be lost. A workaround would be to *update* the bundle instead of install new / uninstall old. 2014-02-12

Frequent Listener timed out, will be ignored exception in log

2014-02-12 Thread Vinu Raj
I am getting following exception in log file quite frequently. Also noticed that sometimes some services are waiting for other services which are shown to be active when i do a list in the console. Are these issues related ? 2014-02-13 11:52:36,895 | WARN | FelixStartLevel |