[
https://jira.jboss.org/jira/browse/JBWS-2335?page=com.atlassian.jira.plug...
]
Silvano Maffeis updated JBWS-2335:
----------------------------------
Workaround Description:
I then copied jbossws-client.jar from the client directory of the original jboss-4.2.3.GA
distribution, and placed it into the server/default/lib directory (after applying
jbossws-metro-3.0.3). Then the
SAAJMetaFactoryImpl ClassNotFoundException went away but I was getting other exceptions at
runtime when issuing SOAP calls.
was:
I then copied jbossws-client.jar from the client directory of the original jboss-4.2.3.GA
distribution, and placed it into the server/default/lib directory (after applying
jbossws-metro-3.0.3). Then the
SAAJMetaFactoryImpl ClassNotFoundException went away. Not sure how safe this is, though.
Workaround: (was: [Workaround Exists])
ClassNotFoundException SAAJMetaFactoryImpl after installing metro
3.0.3 into jboss 4.2.3
----------------------------------------------------------------------------------------
Key: JBWS-2335
URL:
https://jira.jboss.org/jira/browse/JBWS-2335
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-metro
Affects Versions: jbossws-metro-3.0.3
Environment: JBoss 4.2.3 GA, JDK 6, WinXP SP3
Reporter: Silvano Maffeis
Assignee: Alessio Soldano
Fix For: jbossws-metro-3.0.5
I've installed metro 3.0.3 into JBoss 4.2.3 GA. On deploying a WAR file holding a
SOAP webservice, I'm getting the following exception.
(The web service was deploying and running fine using jbossws native on Jboss 4.2.2).
The cause seems to be that jbossws-client.jar is getting removed by the metro 3.0.3
installation.
Caused by: java.lang.IllegalStateException: Failed to load javax.xml.soap.MetaFactory:
org.jboss.ws.core.soap.SAAJMetaFactoryImpl
at javax.xml.soap.SAAJFactoryLoader.loadFactory(SAAJFactoryLoader.java:131)
at javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:60)
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:106)
at com.sun.xml.ws.api.SOAPVersion.<init>(SOAPVersion.java:178)
at com.sun.xml.ws.api.SOAPVersion.<clinit>(SOAPVersion.java:83)
... 37 more
Caused by: java.lang.ClassNotFoundException: org.jboss.ws.core.soap.SAAJMetaFactoryImpl
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at javax.xml.soap.SAAJFactoryLoader.loadFactory(SAAJFactoryLoader.java:125)
... 41 more
Also see:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174938#...
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira