[
https://issues.jboss.org/browse/JBWS-1439?page=com.atlassian.jira.plugin....
]
arulbalan s commented on JBWS-1439:
-----------------------------------
Hi IIIya,
Thanks for your post.
I didn't your below point
install updates default conf
so You need to manually transfer changes.
My application: SOAP web services and Restful web services.
I've upgraded JDK from java1.5 to Java1.6.
As you suggested I've upgraded jbossws2.0.3 andmoved few jars from client to
lib/endorsed
But I'm getting below error.
2011-12-22 12:59:00,736 ERROR (main:)(MainDeployer.java:start():1036) Could not start
deployment:
file:/opt/nbcu/snas/jboss-4.0.5/server/nbc/tmp/deploy/tmp5028snas.ear-contents/snas.war
java.lang.NoSuchMethodError:
com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map;Ljava/lang/String;ZLcom/sun/xml/bind/v2/model/annotation/RuntimeAnnotationReader;)Lcom/sun/xml/bind/api/JAXBRIContext;
But this class with expected method is available in jaxb-impl.jar
When finding his jar in my jboss, I got the below path has the the jar.
client/jaxb-impl.jar
server/default/deploy/jbossws.sar/jaxb-impl.jar
server/default/deploy/jaxb-impl.jar
Please help on this.
Jdk 1.6.0 Requests get the error "setProperty must be overridden
by all subclasses of SOAPMessage"
--------------------------------------------------------------------------------------------------
Key: JBWS-1439
URL:
https://issues.jboss.org/browse/JBWS-1439
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-1.0.4
Environment: Jboss 4.0.5.GA
Java 1.6.0
Reporter: Denis Angleton
Assignee: Heiko Braun
Fix For: jbossws-2.0.0
Requests get the error "setProperty must be overridden by all subclasses of
SOAPMessage"
In the abstract class javax.xml.soap.SOAPMessage which is now shipped with the jdk, the
implementation of setProperty is as follows:
public void setProperty(String property, Object value)
throws SOAPException {
throw new UnsupportedOperationException("setProperty must be overridden
by all subclasses of SOAPMessage");
}
in the constructor of org.jboss.ws.soap.SOAPMessageImpl it calls the super methods
setProperty(CHARACTER_SET_ENCODING, "UTF-8");
setProperty(WRITE_XML_DECLARATION, false);
This results in the exception being thrown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira