Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Eclisep 3.3 runtime options for STP.SC
This wiki is used to document all runtim options for STP service creation.
[Johnson Ma, Apr 16, 2007]
Contents
bootdelegation configuration
property
-Dorg.osgi.framework.bootdelegation=*
Why need to config bootdelegation property
Problem with try to upgrade to Eclipse 3.3
When i was trying to upgrade my dev env to Eclipse 3.3, i always got java.lang.LinkError for javax.xml.namespace.QName during run java2wsdl tool.
After tracking the class loading process, i found that QName was defined in two places: jre/lib/rt.jar and stax-api-1.0.1.jar (comes from Apache CXF plugin) And there are different versions. Both of them have been loaded to jvm during run j2w, which cased the QName link error. But why it loaded twice in Eclipse 3.3?
The reason
QName has been defined in several jars. Some are loaded from jre/lib/rt.jar
Eclipse 3.3 has changed the bootdelegation
test options
To run the unit tests for STP.SC, please set following two properties:
- -Djaxws_kit_location
Points to the Apache CXF runtime installation directory
- -Dsca_kit_location
Points to the Apache Tuscany runtime installation directory