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 109890 - Setup required for JAX-WS webservices on Tomcat 6 w/ JDK 6
Summary: Setup required for JAX-WS webservices on Tomcat 6 w/ JDK 6
Status: RESOLVED INCOMPLETE
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks: 108523
  Show dependency tree
 
Reported: 2007-07-16 18:31 UTC by Quy Nguyen
Modified: 2007-08-21 09:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
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-16 18:31:52 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.
Comment 1 dlipin 2007-08-02 13:30:04 UTC
Quy,

where endorsed direcotry should be created? in <tomcat-install-dir>/lib or <javahome>/lib?
If it is <javahome>\lib\endorsed then what should be done if the user don`t have enought permissions to write to java 
directory?
What should we do if only tomcat is installed (and NetBeans is not)?
What should we do if we install several netbeans builds? should we place these files each time?
Is there any side effects that causes placement of these files to endorsed directory?

I can definitely say that now no such a logic is performed during glassfish installation.
Comment 2 Quy Nguyen 2007-08-21 01:05:34 UTC
Glassfish includes the jax-ws 2.1 API jars in its endorsed library folder, so this issue does not occur on that app
server.  We would expect that the jars would go into <tomcat-install-dir>/lib if tomcat is installed with NetBeans to
improve the out-of-the-box experience.

The only side effect of including these jars in the endorsed folder is that the JAX-WS 2.0 library will no longer be
available.  Considering that glassfish does the same thing, I don't believe that this would be a problem.