You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Alexey Markevich (Updated) (JIRA)" <ji...@apache.org> on 2012/02/07 14:26:59 UTC
[jira] [Updated] (SMXCOMP-922) saaj-api couldn't load configured
javax.xml.soap.MetaFactory from saaj-impl
[ https://issues.apache.org/jira/browse/SMXCOMP-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Markevich updated SMXCOMP-922:
-------------------------------------
Attachment: testsaaj.zip
Sample project.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testsaaj.Bean#0' defined in URL [bundleentry://183.fwk279633047/META-INF/spring/beans.xml]: Invocation of init method failed; nested exception is com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create message factory
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[98:org.springframework.context:3.0.6.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[102:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[102:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[102:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[102:org.springframework.osgi.core:1.2.1]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[103:org.springframework.osgi.extender:1.2.1]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_30]
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create message factory
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.<init>(HttpSOAPConnection.java:92)[121:org.apache.servicemix.bundles.saaj-impl:1.3.9.2]
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory.createConnection(HttpSOAPConnectionFactory.java:55)[121:org.apache.servicemix.bundles.saaj-impl:1.3.9.2]
at testsaaj.Bean.afterPropertiesSet(Bean.java:13)[183:testsaaj:1.0.0]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)[96:org.springframework.beans:3.0.6.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)[96:org.springframework.beans:3.0.6.RELEASE]
... 14 more
Caused by: javax.xml.soap.SOAPException: Provider org.apache.axis2.saaj.SAAJMetaFactoryImpl not found
at javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:31)[84:org.apache.servicemix.specs.saaj-api-1.3:1.9.0]
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:130)[84:org.apache.servicemix.specs.saaj-api-1.3:1.9.0]
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.<init>(HttpSOAPConnection.java:86)[121:org.apache.servicemix.bundles.saaj-impl:1.3.9.2]
... 18 more
> saaj-api couldn't load configured javax.xml.soap.MetaFactory from saaj-impl
> ---------------------------------------------------------------------------
>
> Key: SMXCOMP-922
> URL: https://issues.apache.org/jira/browse/SMXCOMP-922
> Project: ServiceMix Components
> Issue Type: Bug
> Environment: org.apache.servicemix.specs.saaj-api-1.3-1.9.0.jar
> org.apache.servicemix.bundles.saaj-impl-1.3.9_2.jar
> Reporter: Alexey Markevich
> Assignee: Freeman Fang
> Attachments: testsaaj.zip
>
>
> Error message: Provider org.apache.axis2.saaj.SAAJMetaFactoryImpl not found
> saaj-api 1.8.0 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira