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 102218 - Build of StockQuoteClient sample project failed
Summary: Build of StockQuoteClient sample project failed
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on: 102424
Blocks:
  Show dependency tree
 
Reported: 2007-04-23 18:44 UTC by Andrey Yamkovoy
Modified: 2007-04-28 10:35 UTC (History)
0 users

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 Andrey Yamkovoy 2007-04-23 18:44:11 UTC
This bug reproduced with JDK 6 and not reproduced with JDK 1.5.

Steps to reproduce:
- Create project Samples > Identity Blueprints > Stock Client.
- Build created sample project.
- Notice that build failed with the following output message:
wsimport-client-StockService:
D:\Sun\Temp11\StockQuoteClient\StockQuoteClient\nbproject\build-impl.xml:308:
You are running on JDK6 which comes with JAX-WS 2.0 API, but this tool requires
JAX-WS 2.1 API. Use the endorsed standards override mechanism
(http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set
xendorsed="true" on <wsimport>. 
BUILD FAILED (total time: 1 second)
Comment 1 Srividhya Narayanan 2007-04-25 01:08:16 UTC
Peter, pls file a P1 on web services for your eval on this issue.
Comment 2 Peter Liu 2007-04-25 05:14:58 UTC
For J1, to work around this issue, I took out all dynamic changes to the
generated StockQuoteClient project to avoid regeneration of the build-impl.xml.
 This includes taking out appending a number to the project name which can
trigger the regeneration of the build-impl.xml.

I'll file a separate bug against websvc core on the issue of xendorsed flag but
at least this won't be a showstopper for us anymore.
Comment 3 Peter Liu 2007-04-26 19:43:20 UTC
I am reopening this bug because the workaround is not working.  
Comment 4 Peter Liu 2007-04-28 02:06:56 UTC
Just verified the fix for 102424 against our StockQuoteClient sample project.
Comment 5 Andrey Yamkovoy 2007-04-28 10:35:13 UTC
Fix verified on the NB M9 CB #25 because this fix not in the latest NBI build
20070428.