FaqEndorsedDirTomcat
How do I set up endorsed directory for Tomcat
In case of running the Netbeans IDE and/or Tomcat on JDK 6 prior to update 3(including), one have to move JAX-WS 2.1 APIs to Tomcat's endorsed directory and how to do this differs between Tomcat's versions:
bundled/external Tomcat 5.5.17 in NetBeans 5.5.1
set up JAVA_ENDORSED_DIRS environment property to point to $NETBEANS_HOME/ide7/modules/ext/jaxws21/api/ and restart the IDE and the server
WinXP
set JAVA_ENDORSED_DIRS=c:\Program Files\netbeans-5.5.1\ide7\modules\ext\jaxws21\api\
Linux
export JAVA_ENDORSED_DIRS=/home/user/netbeans-5.5.1/ide7/modules/ext/jaxws21/api/
external Tomcat 5.5.23 in NetBeans 6.0
Copy jars from $NETBEANS_HOME/ide8/modules/ext/jaxws21/api/ to $TOMCAT_INSTALL_DIR/common/endorsed
bundled/external Tomcat 6.0.13 in NetBeans 6.0/6.1/6.5/6.7
Copy jars from $NETBEANS_HOME/ide8/modules/ext/jaxws21/api/ to $TOMCAT_INSTALL_DIR/endorsed
Note: If you use JDK version 1.6.0_04 and later, no additional endorsed dir related actions are needed!

