Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.6.2
-
None
-
None
Description
After integrating woodstox core asl 4.2.0 and Axis2 OSGi component into my OSGi-Runtime I got that error:
ERROR [org.osgi.service.cm.ManagedService, id=42, bundle=36/file:/C:/Users/ans
chmidt/Desktop/amigw-webserver/osgiBundles/org.apache.axis2.osgi-1.6.2-KISTERS-1
-SNAPSHOT.jar]: Unexpected problem updating configuration org.apache.axis2.osgi
javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.
WstxInputFactory cannot be located. Classloader =org.apache.ws.commons.axiom.ax
iom-api [2]
at javax.xml.stream.FactoryLocator.newInstance(FactoryLocator.java:115)
at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:107)
at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:56)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:41)
at org.apache.axiom.om.util.StAXUtils$1.run(StAXUtils.java:437)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axiom.om.util.StAXUtils.newXMLInputFactory(StAXUtils.java:
427)
at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory_singleton(StAXU
tils.java:541)
at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:
171)
at org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:
134)
at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.ja
va:209)
at org.apache.axiom.om.impl.common.factory.AbstractOMMetaFactory.createX
MLStreamReader(AbstractOMMetaFactory.java:59)
at org.apache.axiom.om.impl.common.factory.AbstractOMMetaFactory.createO
MBuilder(AbstractOMMetaFactory.java:94)
at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderF
actory.java:154)
at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderF
actory.java:134)
at org.apache.axiom.om.OMXMLBuilderFactory.createOMBuilder(OMXMLBuilderF
actory.java:105)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:590)
at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:575)
at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBui
lder.java:97)
at org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConf
igBuilder.java:90)
at org.apache.axis2.osgi.deployment.OSGiServerConfigurator.populateAxisC
onfiguration(OSGiServerConfigurator.java:79)
at org.apache.axis2.osgi.deployment.OSGiServerConfigurator.getAxisConfig
uration(OSGiServerConfigurator.java:61)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurat
ionContext(ConfigurationContextFactory.java:64)
at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory.star
tConfigurationContext(OSGiConfigurationContextFactory.java:93)
at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory.upda
ted(OSGiConfigurationContextFactory.java:101)
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(M
anagedServiceTracker.java:148)
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfigur
ation(ManagedServiceTracker.java:81)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.pr
ovide(ConfigurationManager.java:1436)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.ru
n(ConfigurationManager.java:1392)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
at java.lang.Thread.run(Unknown Source)
That are all the bundles which are running in my OSGi-Runtime:
ID|State |Level|Name
0|Active | 0|System Bundle (4.2.1)
1|Active | 1|Apache JAMES Mime4j (Core) (0.7.2)
2|Active | 1|Axiom API (1.2.15.SNAPSHOT)
3|Active | 1|Axiom DOM (1.2.15.SNAPSHOT)
4|Active | 1|Axiom Impl (1.2.15.SNAPSHOT)
5|Active | 1|Apache Commons Codec (1.9.0)
6|Active | 1|Commons Collections (3.2.1)
7|Active | 1|Commons FileUpload (1.3.0)
8|Active | 1|file:/C:/Users/anschmidt/Desktop/amigw-webserver/osgiBundles/commons-httpclient-3.1.jar (0.0.0)
9|Active | 1|Apache Geronimo Bundles: commons-httpclient-3.1 (3.1.0.2)
10|Active | 1|Apache Commons IO Bundle (1.4.0)
11|Active | 1|Commons Lang (2.6.0)
12|Active | 1|Commons Logging (1.1.3)
13|Active | 1|de.kisters.bundle.amigw.model (5.80.0.SNAPSHOT)
14|Active | 1|de.kisters.bundle.amigw.properties (5.80.0.SNAPSHOT)
15|Active | 1|de.kisters.bundle.amigw.web.lifecycle.standalone (5.80.0.SNAPSHOT)
16|Active | 1|de.kisters.bundle.amigw.zrxp (5.80.0.SNAPSHOT)
17|Active | 1|KISTERS BelVisGroup common bundle (1.100.0.SNAPSHOT)
18|Active | 1|de.kisters.bundle.sodashared.constants (1.20.0.SNAPSHOT)
19|Active | 1|de.kisters.bundle.sodashared.exception (1.20.0.SNAPSHOT)
20|Active | 1|de.kisters.bundle.sodashared.helper (1.20.0.SNAPSHOT)
21|Active | 1|de.kisters.bundle.sodashared.log (1.20.0.SNAPSHOT)
22|Active | 1|KISTERS KisRpc common interfaces (3.80.0)
23|Active | 1|de.kisters.wab.amigw.amis (5.80.0.SNAPSHOT)
24|Active | 1|de.kisters.wab.amigw.mds (5.80.0.SNAPSHOT)
25|Active | 1|Activation 1.1 (1.1.0)
26|Active | 1|JavaMail 1.4 (1.7.1)
27|Active | 1|Apache JAXB 2.1 Spec (1.0.0)
28|Active | 1|geronimo-jms_1.1_spec (1.1.1)
29|Active | 1|geronimo-stax-api_1.0_spec (1.0.1)
30|Active | 1|Apache Geronimo STAX Spec 1.2 (1.1.0)
31|Active | 1|Web Services Metadata 2.0 (1.1.3)
32|Active | 1|Apache HttpClient OSGi bundle (4.2.4)
33|Active | 1|Apache HttpCore OSGi bundle (4.2.4)
34|Active | 1|jsr311-api (1.1.1)
35|Active | 1|Apache Neethi (3.0.2)
36|Active | 1|org.apache.axis2.osgi (1.0.0.2)
37|Active | 1|Apache Felix Bundle Repository (1.6.6)
38|Active | 1|Apache Felix Configuration Admin Service (1.6.0)
39|Active | 1|Apache Felix EventAdmin (1.3.2)
40|Active | 1|Apache Felix File Install (3.2.6)
41|Active | 1|Apache Felix Gogo Command (0.12.0)
42|Active | 1|Apache Felix Gogo Runtime (0.10.0)
43|Active | 1|Apache Felix Gogo Shell (0.10.0)
44|Active | 1|Apache Felix Http Jetty (2.2.2)
45|Active | 1|Apache Felix (4.2.1)
46|Active | 1|Apache Felix Metatype Service (1.0.6)
47|Active | 1|Apache Felix Declarative Services (1.6.2)
48|Active | 1|Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.6)
49|Active | 1|Stax2 API (3.1.1)
50|Active | 1|Woden - API (1.0.0)
51|Active | 1|Woden - Commons (1.0.0)
52|Active | 1|Woden - DOM (1.0.0)
53|Active | 1|Woodstox XML-processor (4.2.0)
54|Active | 1|XmlSchema (1.4.7)