-
1. Re: SOAPMessage error: setProperty must be overridden by all
oskar.carlstedt Sep 28, 2007 3:48 PM (in response to viniciuscarvalho)Hi!
This is probably because you are running JBoss with Java SE 1.6. The SOAP implementation is bundled in the std Java 1.6 distribution. That is probably why you can't find the specified jar on your harddrive.
Cheers,
Oskar -
2. Re: SOAPMessage error: setProperty must be overridden by all
viniciuscarvalho Sep 28, 2007 4:47 PM (in response to viniciuscarvalho)Yeah, that's correct! But, shouldn't I be able to use the endorsed dirs? my jboss-endorsed has the jboss-saaj.jar and also my JAVA_HOME/jre/lib/endorsed
Should I downgrade my JVM?
Best regards -
3. Re: SOAPMessage error: setProperty must be overridden by all
oskar.carlstedt Sep 28, 2007 5:07 PM (in response to viniciuscarvalho)Hi!
Everything I know is that the javax.xml.soap... implementations are found in the $JRE_HOME/lib/rt.jar ($JDK_HOME/jre/lib/rt.jar). If you want to override these implementation then you must place the correct jar files in the endorsed folder. You can read more about the Java Endorsed Override Mechanism here http://java.sun.com/javase/6/docs/technotes/guides/standards/.
Make sure the system property java.endorsed.dirs property is set. I think JBoss does this by default by adding the folder $JBOSS_HOME/lib/endorsed. So adding the correct jar files to this folder may fix your problem. If that doesn't work, I really don't know.
Best
Oskar -
4. Re: SOAPMessage error: setProperty must be overridden by all
richard_opalka Oct 1, 2007 4:32 AM (in response to viniciuscarvalho)"viniciuscarvalho" wrote:
Should I downgrade my JVM?
Hi,
JBossWS 2.0.1 isn't officially supported on JDK 1.6 yet. So to answer your question:
If you are working on production environment then you should downgrade your JDK.
If not and you love to live on the leading edge, then answer to your question is you need not to downgrade the JVM.
Richard -
5. Re: SOAPMessage error: setProperty must be overridden by all
viniciuscarvalho Oct 1, 2007 9:39 AM (in response to viniciuscarvalho)Thanks Richard, Oskar.
What is really tricking me is the fact that both my endorsed dirs (default from VM and JBoss) have the jboss-saaj.jar. And still, it complains about the error described. Does this qualifies as a Bug?
Regards