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 179266 - Wrong dtd version for sun-resources.xml file
Summary: Wrong dtd version for sun-resources.xml file
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 13:04 UTC by mkwapisz
Modified: 2011-01-28 20:14 UTC (History)
0 users

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 mkwapisz 2010-01-06 13:04:54 UTC
There is a little problem with newly created sun-ejb-jar.xml and sun-resources.xml for ejb 3.1 maven project.
There is: 
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD 
Application Server 9.0 EJB 3.0//EN" 
"http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd"> 

in sun-ejb-jar, but (according to glassfish docs) should be:

<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD GlassFish 
Application Server 3.0 EJB 3.1//EN" 
"http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_1-0.dtd">

The same is with sun-resources (and propably with others sun-*.xml files).
Comment 1 Vince Kraemer 2010-03-26 19:46:07 UTC
this is resolved for deployment descriptors.  It has not been resolved for the resources file (sun-resources.xml)
Comment 2 Vince Kraemer 2010-04-05 20:54:44 UTC
this is trickier to solve for the resource file.
Comment 3 Vince Kraemer 2011-01-28 20:14:49 UTC
this appears to be resolved. closing as works for me.

I may just not understand the issue being reported, though.

reopen with step-by-step instructions on how to replicate the issue if it still seems broken