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 107801 - Impossible to add Web Service on Solaris
Summary: Impossible to add Web Service on Solaris
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P1 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords:
Depends on:
Blocks: 106402
  Show dependency tree
 
Reported: 2007-06-22 11:43 UTC by Roman Mostyka
Modified: 2007-06-26 09:05 UTC (History)
1 user (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 Roman Mostyka 2007-06-22 11:43:46 UTC
1. Rightclick "Web Services" node and select "Add Web Service...".
2. Type http://www.webservicex.net/usweather.asmx?WSDL in "WSDL URL" field and click "Add" button.

Result: Exception arises and Web Service is not added:
"java.lang.NoSuchMethodError:
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.<init>(Lcom/sun/tools/ws/wscompile/WsimportOptions;Lcom/sun/tools/ws/wscompile/ErrorReceiver;)V
	at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.generateWsdlModel(WsdlModeler.java:178)
	at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler.access$000(WsdlModeler.java:50)
	at org.netbeans.modules.websvc.api.jaxws.wsdlmodel.WsdlModeler$1.run(WsdlModeler.java:75)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)".
Comment 1 Quy Nguyen 2007-06-22 18:24:18 UTC
We use the NB JAX-WS modeler directly.  This exception appears to originate from there.
Comment 2 Roderico Cruz 2007-06-22 20:55:37 UTC
This looks like a conflict in jaxws class versions. ErrorReceiver is a class that is new in jaxws2.1. It turns out some
jaxw20 classes are also in the VWP classpath thru some EE jars. Quy will try to replace the EE jars with the one that
has the newer jaxws on Solaris and see if it solves the problem.
Comment 3 Roderico Cruz 2007-06-23 00:28:17 UTC
Waiting for result of Quy's test on Solaris. Meanwhile marking this as incomplete.
Comment 4 Quy Nguyen 2007-06-23 00:42:39 UTC
I tested on Solaris 10 SPARC with JDK 1.5.0_06 and JDK 1.6.0.  I could not reproduce the issue on either JDK version.
Comment 5 Quy Nguyen 2007-06-23 00:50:50 UTC
Also tested on JDK 1.6.0_01 with the same result.
Comment 6 Roderico Cruz 2007-06-25 17:44:44 UTC
Is this using the new EE jars that contain the new jaxws classes or did you mean that you were not able to reproduce
this at all?
Comment 7 Quy Nguyen 2007-06-25 18:35:01 UTC
I was not able to reproduce at all.  However, the issue submitter informed me that this issue only occurs on Solaris x86.
Comment 8 Roderico Cruz 2007-06-25 18:46:30 UTC
Thanks for the update Quy. Kindly ask the reporter to try the workaround, i.e., use updated EE jars that contain new
jaxws classes and see if it solves the problem.
Comment 9 Peter Pis 2007-06-25 19:27:52 UTC
This issue is showstopper for M10. Please integrate the fix into the trunk and "release60-m10" branch. 
Comment 10 Roderico Cruz 2007-06-26 00:07:56 UTC
This appears to be a vwp setup problem. Quy is looking into it. Reassigning this to VWP/Quy Nguyen.
Comment 11 Quy Nguyen 2007-06-26 03:34:54 UTC
I could not reproduce this on Solaris 10 x86 running on JDK 1.6.0_01.  Marking as incomplete until there is a
reproducible test case.
Comment 12 Peter Pis 2007-06-26 08:39:46 UTC
Does this issue still prevent M10 from being released? "rcruz" set the Target Milestone to "beta1". Can the dependency
on M10 umbrella issue be removed? 
Comment 13 Roman Mostyka 2007-06-26 09:04:41 UTC
I installed 1.6.0_01 and build 200706251444 and everything is fine now. Probably the problem was in jdk, before I tested
with 1.6.0-beta2.
Comment 14 Roman Mostyka 2007-06-26 09:05:30 UTC
Verified with build 200706251444.