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.

Bug 109286 - bundled tomcat 6 should use endorsed mechanism for jax-ws jars
Summary: bundled tomcat 6 should use endorsed mechanism for jax-ws jars
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
: 105760 (view as bug list)
Depends on:
Blocks: 108523
  Show dependency tree
 
Reported: 2007-07-10 20:11 UTC by Quy Nguyen
Modified: 2007-07-16 18:28 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quy Nguyen 2007-07-10 20:11:22 UTC
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.
Comment 1 Kirill Sorokin 2007-07-11 11:40:17 UTC
Reassigning to serverplugins, as the issue lies in their area. After it's fixed, it can be an RFE for the installer.
Comment 2 Petr Jiricka 2007-07-13 14:30:50 UTC
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.
Comment 3 Milan Kuchtiak 2007-07-16 10:12:00 UTC
The "confusing" message comes from Tomcat Plugin.
I suggest a more generic message like :

Copy the jar files from ... into Tomcat endorsed directory.
Comment 4 Sherold Dev 2007-07-16 13:06:44 UTC
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
Comment 5 Sherold Dev 2007-07-16 13:11:16 UTC
*** Issue 105760 has been marked as a duplicate of this issue. ***
Comment 6 Roman Mostyka 2007-07-16 18:28:13 UTC
Verified with build 20070716.