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: | No sun-jaxws.xml or web.xml files are generated | ||
---|---|---|---|
Product: | webservices | Reporter: | phansson |
Component: | JAX-WS | Assignee: | Denis Anisimov <ads> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | phansson, pjiricka |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Screenshots |
I'm able to reproduce it with JEE6 as described. All works fine with JEE5. JEE6 profile is available for Tomcat 7. Project created with Tomcat 7 as a target J2EE server doesn't contain WEB-INF folder and web.xml descriptor file. It differs from Tomcat 6 as a target server. This is the reason of the issue. web-main#b1393d655209 Integrated into 'main-golden', will be available in build *201209190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b1393d655209 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#217892 - No sun-jaxws.xml or web.xml files are generated |
Created attachment 123952 [details] Screenshots I see this problem on NB 7.2. I happens when I add a web service to a Maven "Java EE 6 Web" based project on Tomcat. I first get the "Non JSR-109 compliant web server detected" window followed by the "Cannot deployment descriptor folder (WEB-INF)" error dialog. (see attachment). No sun-jaxws.xml file nor web.xml file is generated. I don't seem to get this error if the Maven project is based on "Java EE 5" and same Tomcat as above. Then everything works as expected: I *do* get the warning about the "Non JSR-109 compliant web server detected" but when I click "Yes" to that no error dialog comes up and the two XML files are actually being generated. I don't think this is a duplicate of #168289 but you may want to have a look at it.