-
1. Re: Usersolved constraint org.apache.cxf.cxf-bundle on 4.1.0.2
ffang Jul 21, 2009 8:13 PM (in response to rcracel)Hi,
bundle 168 is your bundle, right?
If you ever put
<Require-Bundle>org.apache.cxf.cxf-bundle</Require-Bundle>
in the pom.xml(or bnd tool) of your bundle, could you change it to
<Require-Bundle>org.apache.cxf.bundle</Require-Bundle>, as the bundle-symbolic-name of cxf-bundle have changed(this is caused by maven-bundle-plugin 2.0).
Freeman
-
2. Re: Usersolved constraint org.apache.cxf.cxf-bundle on 4.1.0.2
rcracel Jul 22, 2009 8:59 AM (in response to ffang)Thank you, Freeman, that did solve the problem.
-
3. Re: Usersolved constraint org.apache.cxf.cxf-bundle on 4.1.0.2
fabiofabio Feb 25, 2010 7:29 AM (in response to ffang)i don't understand the procedure...i have the same problem, but with modification of <Require-Bundle>org.apache.cxf.cxf-bundle</Require-Bundle>
into
<Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
the problem remain...please, can you make clear the procedure?
-
4. Re: Usersolved constraint org.apache.cxf.cxf-bundle on 4.1.0.2
gertv Feb 26, 2010 8:12 AM (in response to fabiofabio)L.S.,
When the maven-bundle-plugin was upgraded in the CXF project, that introduced a change in the bundle's symbolic name: it used to be called org.apache.cxf.cxf-bundle and is now called org.apache.cxf.bundle.
If the POM for creating the bundle contains the Require-Bundle statement, that would require you to change the name in there and then rebuild and redeploy the bundle.
Since you're still seeing errors after this change, there might be another problem hiding here. Could you post the full stack trace, as well as the output for the {{osgi:headers <your bundle id>}}?
Regards,
Gert
-
5. Re: Usersolved constraint org.apache.cxf.cxf-bundle on 4.1.0.2
fabiofabio Mar 2, 2010 11:48 AM (in response to rcracel)javax.xml.transform.TransformerFactoryConfigurationError: Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
at org.apache.cxf.bus.spring.TunedDocumentLoader.(BusApplicationContext.java:91)
at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86)
at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)