-
1. Re: Deploying JBOSS CXF-WS with JBOSS AS 4.2.3G.A. on jdk 1.
ropalka Nov 2, 2009 5:07 AM (in response to sawan1424)Hi,
your IDE is not properly configured. You need to endorse JBossWS jaxws.
IOW you need to specify -Djava.endorsed.dirs= that points to directory where are JBossWS JAXWS libs. In most cases it's JBOSS_HOME/lib/endorsed
Richard -
2. Re: Deploying JBOSS CXF-WS with JBOSS AS 4.2.3G.A. on jdk 1.6
izgur Dec 1, 2010 5:39 AM (in response to ropalka)How to specify -Djava.endorsed.dirs= in eclipse ?
On the project, run configuration, parameters ?
Shouldn't it work if i add all jars from /lib/endorsed/ to the build path ?
Thanks in advance!
-
3. Re: Deploying JBOSS CXF-WS with JBOSS AS 4.2.3G.A. on jdk 1.6
asoldano Dec 1, 2010 8:57 AM (in response to izgur)Shouldn't it work if i add all jars from /lib/endorsed/ to the build path ?
Not necessarily. Depends on the jdk version being used and the jaxws/jaxb api you need/want to use. Basically, for instance whenever you want/need to use a jaxws api different from the one included in JDK (if any, jaxws 2.1 is included in JDK 1.6 u4 or greater), you need to have that in the bootstrap classloader, in order to override the default one. And that can be done properly tuning the java.endorsed.dirs configuration.