3 Replies Latest reply on Jul 23, 2009 8:39 AM by guido lampard

    Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request except

    Guillermo Ortiz Newbie

      I'm work with jboss-5.1.0.GA-jdk6.

      I can see the WSDL but if I try to do a call to the WS:

      11:43:08,396 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
      java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
      at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441)
      at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:87)

      I've inside $JBOSS_HOME/lib/ensored:

        • 1. Re: Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request ex
          guido lampard Newbie


          i have the same problem (jboss-5.1.0.GA-jdk6 & jdk6 (& debian linux)).

          i got the "setProperty must be overwritten...."-Exception when i access my simple stateless session bean webservice. this service is working without problems under jboss-5.1.0.GA & jdk5.

          this is a part of classes loaded at a jboss start (perhaps this helps):

          [Loaded javax.xml.soap.SOAPMessage from /home/guido/appz/jboss-5.1.0.GA/lib/endorsed/jbossws-native-saaj.jar]
          [Loaded org.jboss.ws.core.soap.SOAPMessageImpl from jar:file:/home/guido/appz/jboss-5.1.0.GA/server/default/deployers/jbossws.deployer/jbossws-native-core.jar!/]

          thx for your help,

          • 2. Re: Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request ex
            Jerrod Lankford Newbie

            According to the release notes no confiugration changes should be needed if the jdk6 version was downloaded but it also suggests one other thing.

            The other option is to download the jdk6 distribution (jboss-5.0.0.GA-jdk6.zip) in which case no configuration changes are required. If you still have problems using JBoss with a Sun Java 6 runtime, you may want to set -Dsun.lang.ClassLoader.allowArraySyntax=true, as described in http://jira.jboss.com/jira/browse/JBAS-4491.

            Also make sure jaxb-api.jar is in the endorsed folder as well.

            Might I suggest temporarily deleting the other copies of the jar files, which are usually in the jboss/client folder and jboss/lib, just to see if this is the problem.

            jar files:


            • 3. Re: Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request ex
              guido lampard Newbie

              thank you jlankfo,

              this helps me a lot because i started the server with the run.sh script (usually i used the eclipse ide) and the webservice works fine (finally: without any changes at the script:)).

              eclipse uses the run.jar to start jboss.
              i added:


              to the server vm arguments in eclipse and everything works perfect.

              thanks for the push to the solution,