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 217892 - No sun-jaxws.xml or web.xml files are generated
Summary: No sun-jaxws.xml or web.xml files are generated
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-05 13:02 UTC by phansson
Modified: 2012-09-19 03:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshots (70.14 KB, image/jpeg)
2012-09-05 13:02 UTC, phansson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phansson 2012-09-05 13:02:12 UTC
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.
Comment 1 Denis Anisimov 2012-09-17 13:06:20 UTC
I'm able to reproduce it with JEE6 as described.
All works fine with JEE5.
Comment 2 Denis Anisimov 2012-09-17 13:59:34 UTC
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.
Comment 3 Denis Anisimov 2012-09-18 07:39:47 UTC
web-main#b1393d655209
Comment 4 Quality Engineering 2012-09-19 03:00:27 UTC
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