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.
Summary: | Fail to build a Web Service Client in a WebAppliation. | ||
---|---|---|---|
Product: | webservices | Reporter: | _ hong_lin <hong_lin> |
Component: | Code | Assignee: | Roderico Cruz <rcruz> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | awegscheider, barkodar, jpospisil, jungi |
Priority: | P1 | Keywords: | SPACE_IN_PATH |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 102436 | ||
Attachments: |
Sample Applications
Many Exceptions were found in Messages.log file The WebApplication1 project Log file (not able to add web service client) Detail Error message |
Description
_ hong_lin
2007-04-12 02:12:36 UTC
Created attachment 40782 [details]
Sample Applications
Created attachment 40783 [details]
Many Exceptions were found in Messages.log file
Created attachment 40784 [details]
The WebApplication1 project
This bug affects Enterprise Pack tutorial "Creating a Loan Processing Composite Application". Have to be fixed for J1 Preview release. Seems to be the same as issue 98934. What is version/build number of the GlassFish server you use, please? glassfish-v2-b41a Followed described steps with own fresh hula build on jdk6 and gf-v2-b41a, but I still cannot reproduce this :( Exceptions from the log are not related to this issue and they have been already reported AFAIK. Could you try to reproduce this if there are no spaces in path to any component (ie. have ide in c:\ide, glassfish in c:\glassfish and projects in c:\projects), please? Installed fresh build (from http://bits.nbextras.org/netbeans/6.0/nightly/20070412/installers/netbeans-6.0-full-20070412-windows.exe) with no spaces in any of the installation/project paths and could not reproduce. Build info: NetBeans IDE Dev (Build 070412) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 Will now restart installation with spaces in installation path and try to reproduce. Clean install into path with spaces: NetBeans IDE Dev (Build 070412) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_US (nb); Cp1252 IDE + Packs: C:\Program Files\netbeans-6.0-20070412 GlassFish: C:\Program Files\glassfish-v2-b41a Projects: C:\Documents and Settings\aw152234\My Documents\NetBeansProjects Attached log file (aw-log-20070412.txt) because the BUILD FAILED. Same result in Output window as Hong reported initially. Created attachment 40845 [details]
Log file (not able to add web service client)
This happens when Glassfish is installed in a directory that has embedded spaces in Windows. The classpath to the jaxws jars are in Glassfish and this seems to be the cause of this problem. Workaround is to deploy Glassfish in a directory that has no embedded spaces. Since there is a workaround, downgrading this to a P2. *** Issue 99751 has been marked as a duplicate of this issue. *** This is Glassfish issue http://www.netbeans.org/issues/show_bug.cgi?id=100718 . Sorry for mistake - i meant of course issue https://glassfish.dev.java.net/issues/show_bug.cgi?id=2866 Problem is now reproducible in latest NB6.0 daily build(200704231800) with Tomcat 5.5. When IDE is installed in path with spaces (default Program Files path in WinXP,for example), I'll get the same result as here,no matter if Tomcat has or hasn't spaces in its own installation path. Raising priority to P1. Why is the blocking glassfish issue marked as P2 and not a P1? It's now a P1. I think the problem with Tomcat is a different issue, the cause of which is an error in the build-impl.xsl script. Will fix this error. OK,I'll file Tomcat problem in separate issue and set the dependence. Glassfish issue is now raised to P1 and reopened,since I'm able to reproduce the problem even with new b41d build. Tomcat issue was filled as http://www.netbeans.org/issues/show_bug.cgi?id=102436 . For JDK 1.6, the workaround for now is: 1. Go to the Glassfish/lib/endorsed dir 2. copy webservices-api.jar to <jdk-1.6-dir>/jre/lib/endorsed directory. If there is no endorsed directory, create one. Note that this is temporary so that testing can proceed. we are still looking for a permanent solution. This has been identified by the jaxws team as a bug in the xendorsed option of wsimport. The jaxws group has a fix for this, however, it will not be available until jaxws 2.1.2. See Vivek's note in https://glassfish.dev.java.net/issues/show_bug.cgi?id=2866. As such, we recommend the workaround that was previously mentioned or install Glassfish in a path with no spaces. Since the fix is coming from the jaxws team, we are requesting for a waiver on this bug. The jaxws 2.1.2 is expected to be integrated in glasfish by mid May so we will be able to have this resolved without the workaround by M10. No objections to waive. Marking as waiver approved for M9. In build 0704261200, I got a different error message: Web Service Client can not be created by JAXWS:wsimport utility. Since I can't copy and paste the error messages, please check the screen shot ErrorDialog.PNG. Created attachment 41780 [details]
Detail Error message
Hong, That error has nothing to do with this issue. The problem is that you are trying to create a client from an abstract WSDL (no bindings, etc) which is not allowed in JAXWS. An issue with space in path is already fixed/verified in gf-v2-b47 => closing this as fixed. Jarda already verified this some time ago => v. |