-
1. Re: Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request ex
_guido Jul 21, 2009 5:57 AM (in response to konstt2000)Hello,
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,
guido -
2. Re: Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request ex
jlankfo Jul 22, 2009 3:01 PM (in response to konstt2000)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:
jaxb-api.jar
jbossws-native-saaj.jar
jbossws-native-jaxrpc.jar
jbossws-native-jaxws.jar
jbossws-native-jaxws-ext.jar
[/url] -
3. Re: Problem JBOSS-5.1.GA-jdk6 and WebService:SOAP request ex
_guido Jul 23, 2009 8:39 AM (in response to konstt2000)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:
-Djava.endorsed.dirs=.......jboss-5.1.0.GA/lib/endorsed
to the server vm arguments in eclipse and everything works perfect.
thanks for the push to the solution,
guido