This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Tomcat 6 requires additional setup by the user when running on JDK 6. To use JAX-WS web services, the user must create an endorsed directory and place the $installdir/java1/modules/ext/jaxws21/api/*.jar files into this location. It looks like this is already done for glassfish, so the same thing should be done for tomcat. Additionally, there appears to be another setup issue related to this. When attempting to deploy to tomcat without the jars in the endorsed directory, the tomcat log gives the following during deployment: **************************************WARNING*************************************** To use JAX-WS 2.1 with JDK 6, newer versions of API jars need to be in bootclasspath before rt.jar. To do this you can use Java endorsed mechanism to override what is in Java platform. The easiest way to do so is to copy all jars from the C:\Sun\netbeans6-test\java1\modules\ext\jaxws21\api folder to C:\Sun\nbuserdir\apache-tomcat-6.0.13_base\endorsed. ************************************************************************************ Placing the jars in the specified location (endorsed directory under the user directory) does not work. Currently, the jars need to be added to the Tomcat install directory, under /endorsed. This message is misleading.
Reassigning to serverplugins, as the issue lies in their area. After it's fixed, it can be an RFE for the installer.
Reassigning to web services, as it must be the websvc decision about how this should be done. Note however that we are bundling the exact version of Tomcat that can be downloaded from Apache, no modifications are allowed. We will not ship a modified Tomcat.
The "confusing" message comes from Tomcat Plugin. I suggest a more generic message like : Copy the jar files from ... into Tomcat endorsed directory.
Fixed the pointer to the correct endorsed folder. Checking in src/org/netbeans/modules/tomcat5/util/TomcatProperties.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatProperties.java,v <-- TomcatProperties.java new revision: 1.20; previous revision: 1.19 done
*** Issue 105760 has been marked as a duplicate of this issue. ***
Verified with build 20070716.