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 91346 - Error during ws client creation
Summary: Error during ws client creation
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Client (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on: 95741
Blocks:
  Show dependency tree
 
Reported: 2006-12-20 15:05 UTC by Jaroslav Pospisil
Modified: 2007-03-22 17:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
outputs (130.01 KB, text/plain)
2007-01-08 14:30 UTC, Jaroslav Pospisil
Details
screenshot (108.40 KB, patch)
2007-01-09 09:58 UTC, Jaroslav Pospisil
Details | Diff
messages.log (21.72 KB, text/plain)
2007-02-19 13:27 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2006-12-20 15:05:00 UTC
Build 200612171900,JDK1.6,Glassfish 9.1 b28

1)Start IDE with new userdir and add Glassfish in Runtime tab
2)Create web module and web service with operation and deploy it.
3)Create another web module and web service client on deployed ws.
ERROR: WS client is created, however there's error in Output tab and Server
log(attached). Also ws client's wsdl is badly formed,although Call Web Service
Operation works.

I think this issue could depend on issue 91269.
Comment 1 Jaroslav Pospisil 2007-01-08 14:30:06 UTC
Raising to P2, mentioned issue seems to have no effect on IDE's
functionality.Attaching outputs.
Comment 2 Jaroslav Pospisil 2007-01-08 14:30:51 UTC
Created attachment 37142 [details]
outputs
Comment 3 Jaroslav Pospisil 2007-01-09 09:56:35 UTC
The same problem is also on glassfish v1.Attaching screenshot.
Comment 4 Jaroslav Pospisil 2007-01-09 09:58:55 UTC
Created attachment 37161 [details]
screenshot
Comment 5 Milan Kuchtiak 2007-01-09 10:14:13 UTC
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap
classloader .....


This is a problem of system property: "java.endorsed.dirs" that should be set
for JVM.
See the very similar issue 91622.
Comment 6 Lukas Jungmann 2007-01-11 18:24:49 UTC
Clash between JAX-WS 2.0 vs. 2.1 in JDK 6, see issue 91622 for WA.

*** This issue has been marked as a duplicate of 91622 ***
Comment 7 Jaroslav Pospisil 2007-02-19 13:08:18 UTC
Issue 100% reproducible in M7 build 200702182300 on WindowsXP.
Endorsed dirs path seems to be set wrong (attaching excerpt from nb.exe):
-J-Djava.endorsed.dirs=" \ \modules\ext\jaxws21\api "
Real path is "C:\Program Files\NetBeans6.0m7\ide8\modules\ext\jaxws21\api"
After adding command line parameter
-J-Djava.endorsed.dirs="C:\Program
Files\NetBeans6.0m7\ide8\modules\ext\jaxws21\api" issue seems fixed. I've
experienced this on both Glassfish v2 and Tomcat servers.
Comment 8 Jaroslav Pospisil 2007-02-19 13:27:21 UTC
Created attachment 38670 [details]
messages.log
Comment 9 Jaroslav Pospisil 2007-02-19 13:46:28 UTC
In attached messages.log is clearly visible missing starting part of Boot & Ext
section, with jars from endorsed directory.
In NB5.5.1 path seems O.K., Boot & Ext section contains jars from endorsed
directory and everything works fine. 
Comment 10 Jaroslav Pospisil 2007-02-19 14:13:32 UTC
This issue seems to be result of spaces in NetBeans installation path - I
reinstalled NetBeans to location without spaces in path and it works fine now.

Notice:
Default NetBeans installation path on Windows contains three spaces by
default,if you don't change it manually.
NB5.5 or 14 days old builds have't problems with spaces - this could have the
same reason as issue 95197. 
Comment 11 Milan Kuchtiak 2007-03-02 13:39:19 UTC
See the issue 95741.
Comment 12 Jaroslav Pospisil 2007-03-22 17:23:23 UTC
VERIFIED