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 84040 - Many exceptions when creating a WS client on JDK 6
Summary: Many exceptions when creating a WS client on JDK 6
Status: VERIFIED WORKSFORME
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
: 84184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-01 16:13 UTC by Petr Jiricka
Modified: 2006-09-28 15:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Excerpt from the log file (45.72 KB, text/plain)
2006-09-01 16:14 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2006-09-01 16:13:19 UTC
Continuous build from Sep 1, JDK 6 build 97, Appserver 9 UR1 build from Aug 25

1. Register Appserver
2. Create a Java EE 5 web project wp1
3. Create a web service, deploy
4. Create another Java EE 5 web project wp2
5. Create a WS client, calling the service from wp1
6. After clicking Finish, lot of exceptions are thrown, see attachment
Comment 1 Petr Jiricka 2006-09-01 16:14:21 UTC
Created attachment 33505 [details]
Excerpt from the log file
Comment 2 Petr Jiricka 2006-09-01 16:16:21 UTC
Looks like there is a version clash between the JAX-WS included with the JDK,
and JAX-WS we use in NetBeans. Which one is used from the code? Do we use the
one included in NetBeans, or the one from Mustang, or the one from GlassFish?
Comment 3 Milan Kuchtiak 2006-09-01 16:42:27 UTC
The one from GlassFish is used by NB Projects.
The IDE itself uses either Netbeans jaxws20 library or some jdk1.6 jar.
There should be a clash between them.

May by upgrading jaxws20 will help.
Comment 4 Petr Jiricka 2006-09-01 16:47:40 UTC
- Reproducible also without the appserver, when creating a JAX-WS client in Java
SE project.
- I tried to upgrade the bundled JAX-WS to the 2.0.1 M1 version from
https://jax-ws.dev.java.net/, but that did not help.
Comment 5 Milan Kuchtiak 2006-09-04 14:10:29 UTC
Yes, GlassFish has nothing to do with this.
Also the WsImport task is not running (the same exception).

I am consulting this issue with JAX-WS people.
Comment 6 Milan Kuchtiak 2006-09-04 14:43:00 UTC
Neither WsImport task taken from GlassFish is running under jdk1.6  
(from appserv-ws.jar).
Comment 7 Lukas Jungmann 2006-09-05 08:52:21 UTC
*** Issue 84184 has been marked as a duplicate of this issue. ***
Comment 8 Lukas Jungmann 2006-09-08 17:25:23 UTC
Probably will be fixed by using JDK6 build 99 and newer; see also:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1077
Comment 9 Milan Kuchtiak 2006-09-18 13:00:06 UTC
Wsimport task works correctly (as promised) in jdk16-b99 build .
Tested with GlassFish UR1 b10 build.
Comment 10 Lukas Jungmann 2006-09-28 15:20:24 UTC
v.