Friday, November 25, 2011

Webservice deploy error in jboss 5

If during deployment of webservice jars into jboss 5 it is unable to deploy and the error is something as below

ERROR [[WorkflowServiceImpl]] Servlet.service() for servlet Workflo
wServiceImpl threw exception
java.lang.UnsupportedOperationException: setProperty must be overridden by all s
ubclasses of SOAPMessage
        at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:445)
        at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:87
)

Means there are jars missing in the server that is essential to deploying the service. Make sure in the jboss server path
<jboss>\lib\endorsed
the following jars existed
jbossws-native-jaxrpc, 
jbossws-native-jaxws,
jbossws-native-jaxws-ext 
jbossws-native-saaj

The jars can be found in the latest jboss 6 version. Jboss version 6 and 7 , no such issue with the deployment of  web service.

No comments:

Post a Comment