Well, this was hard to discover but this is really a problem but not in DOSGi not even in karaf. It's a problem in the karaf-maven-plugin I was using the karaf-maven-plugin namely the "run" goal to launch my karaf and unfortunately it does not configure the endorsed folders :S
Launching karaf via maven plugin I have this in system properties (my computer folders): java.endorsed.dirs = /app/epm/bin/jdk18/jre/lib/endorsed java.ext.dirs = /app/epm/bin/jdk18/jre/lib/ext:/usr/java/packages/lib/ext Launching via karaf scripts (my computer folders): java.endorsed.dirs = /app/epm/bin/jdk18/jre/lib/endorsed:/app/epm/bin/jdk18/lib/endorsed:/home/ivoleitao/Downloads/karaf41/apache-karaf-4.1.0/lib/endorsed java.ext.dirs = /app/epm/bin/jdk18/jre/lib/ext:/app/epm/bin/jdk18/lib/ext:/home/ivoleitao/Downloads/karaf41/apache-karaf-4.1.0/lib/ext As seen above it adds the endorsed folders of the local karaf. I've changed manually and it works. I'm going to create a new topic about this and an issue. Thanks a lot Christian for your input. Best Regards, On 8 March 2017 at 12:01, ivoleitao [via Karaf] < [email protected]> wrote: > Hello, > > I've tested in 4.1.0 vanilla distribution and it works. I have issued the > following commands: > > feature:install scr > feature:install http > feature:install http-whiteboard > feature:install webconsole > feature:repo-add cxf-dosgi 2.1.0 > feature:install cxf-dosgi-provider-rs > feature:install cxf-dosgi-provider-ws > > and my bundles and it works :-S something is strange in my distribution... > I'm going to investigate the causes and report it later. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://karaf.922171.n3.nabble.com/DOSGI-2-1-0-calling-soap- > service-results-in-javax-xml-stream-XMLOutputFactory-cannot-be-created- > tp4049778p4049790.html > To start a new topic under Karaf - User, email > [email protected] > To unsubscribe from DOSGI 2.1.0 calling soap service results in > "javax.xml.stream.XMLOutputFactory cannot be created", click here > <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4049778&code=SXZvLmxlaXRhb0BnbWFpbC5jb218NDA0OTc3OHw1NzA4MDc1MzM=> > . > 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/DOSGI-2-1-0-calling-soap-service-results-in-javax-xml-stream-XMLOutputFactory-cannot-be-created-tp4049778p4049793.html Sent from the Karaf - User mailing list archive at Nabble.com.
