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 148962 - Can't deploy web service on GF v3
Summary: Can't deploy web service on GF v3
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2008-10-02 14:17 UTC by Jaroslav Pospisil
Modified: 2008-10-08 06:02 UTC (History)
3 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 Jaroslav Pospisil 2008-10-02 14:17:55 UTC
Build 200810011401,JDK1.6.0_10,Win Vista

When I deploy web service in web application on latest GF v3(tested also on latest nightly build of GFv3 with same
results),web application is normally deployed,however I'm unable to display web service's wsdl in browser or open Tester.
This definitely worked in Beta,so this must be caused by some recent change in Netbeans and it's REGRESSION.
Comment 1 Lukas Jungmann 2008-10-02 15:42:47 UTC
Martin, you were playing ping-pong with jsr-109 support for gf-v3...
Comment 2 Martin Grebac 2008-10-02 16:01:35 UTC
I did. JSR109 is supposed to be supported from now on (even though Tester is still broken AFAIK). However, it's only
included in recent builds of GFv3 + Metro. Please contact Bhakti Mehta and/or Fabian Ritzmann for more information on
where to get the *right* latest bits from.
Comment 3 Milan Kuchtiak 2008-10-03 15:50:14 UTC
What does it mean GFv3 + Metro?

Is Metro supposed to be integral part of GFv3 or does it need to be installed using GlassFish Update Center.
In that case we need to consider 2 options :

1. GFv3 without Metro
2. GFv3 with Metro

Is that right ?
If yes JSR109 must be set on conditionally.
Comment 4 Vince Kraemer 2008-10-03 16:06:39 UTC
at v3 prelude FCS, the correct place to get the metro bits is going to be through the default GF Update Center, right?
Comment 5 Milan Kuchtiak 2008-10-03 17:21:34 UTC
Right, Vince, in case Metro is installed, we need webservices.jar, jaxb.jar and jsr109-impl.jar on project's classpath.

Also I noticed "j2ee.patform.wsimport.classpath", and, "j2ee.platform.wsgen.classpath" properties are missing.

Comment 6 Milan Kuchtiak 2008-10-06 16:05:26 UTC
Fixed.
GlassFish V3 JaxWs WS Stack checks availability of webservices.jar, and accordingly supports JSR109 deployment or not :
http://hg.netbeans.org/main?cmd=changeset;node=62415f36858c
http://hg.netbeans.org/main?cmd=changeset;node=eaea6203c1c6
Comment 7 Milan Kuchtiak 2008-10-06 17:26:59 UTC
One another commit.
User is prompt to install Metro Web Services Stack if not installed yet:
http://hg.netbeans.org/main?cmd=changeset;node=d1efe41d9711
Comment 8 Quality Engineering 2008-10-07 06:03:09 UTC
Integrated into 'main-golden', will be available in build *200810070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/62415f36858c
User: mkuchtiak@netbeans.org
Log: #148962: WS Stack for GlassFish V3 implemented incorrectly
Comment 9 Jaroslav Pospisil 2008-10-07 14:43:44 UTC
V.
Comment 10 Milan Kuchtiak 2008-10-07 16:44:36 UTC
Added another jar to GlassFish jars - jaxb.jar (needed for WS Client, WS from WSDL):
http://hg.netbeans.org/main?cmd=changeset;node=fd3b3352cb11
Comment 11 Quality Engineering 2008-10-08 06:02:26 UTC
Integrated into 'main-golden', will be available in build *200810080201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fd3b3352cb11
User: mkuchtiak@netbeans.org
Log: #148962: add jaxb.jar to project classpath - needed for JAX-RPC Client