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 198029 - glassfish-web.xml will not validate
Summary: glassfish-web.xml will not validate
Status: RESOLVED DUPLICATE of bug 197971
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 23:25 UTC by emiddio
Modified: 2012-05-25 03:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
two projects with bad validation of xml (34.33 KB, application/octet-stream)
2011-04-23 20:32 UTC, emiddio
Details
screen shot of netbeans with validation error (286.55 KB, image/jpeg)
2011-04-23 20:33 UTC, emiddio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emiddio 2011-04-22 23:25:03 UTC
create a default new web project from scratch using netbeans 7 wizard.

do not choose any frameworks.

choose javaee6 style/type of project.

after project created examine the configuration xml files in editor.

if sun-web.xml created it will check and validate properly;

if glassfish-web.xml created --it will fail to check or validate.
Comment 1 Vince Kraemer 2011-04-23 01:04:50 UTC
I have tried to reproduce this on Windows 7 and haven't been able to do it.

Can you attach the glassfish-web.xml file and and the content of the 'XML Check' output window to provide a bit more details?
Comment 2 Vince Kraemer 2011-04-23 01:05:44 UTC
the messages.log file would be a good attachment, too.
Comment 3 emiddio 2011-04-23 20:32:55 UTC
Created attachment 107920 [details]
two projects with bad validation of xml
Comment 4 emiddio 2011-04-23 20:33:43 UTC
Created attachment 107921 [details]
screen shot of netbeans with validation error
Comment 5 emiddio 2011-04-23 20:35:24 UTC
the ide log file does not generate any error messages -- view ide log,
then cntl-L to clear screen of log, then validate xml --nothing added.


Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Userdir: C:\Users\emiddio\.netbeans\7.0
Comment 6 Vince Kraemer 2011-04-24 00:22:37 UTC
Thanks.  I think I know what the problem is now.

The error that you ran into would be very difficult for me to replicate without the additional info.

The IDE is looking for a 3.1 file in a 3.0.1 install...
Comment 7 Vince Kraemer 2012-05-25 03:56:06 UTC
this is a variation of anotherissue

*** This bug has been marked as a duplicate of bug 197971 ***