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 77175 - Resource References without optional record in sun-web.xml are marked as error
Summary: Resource References without optional record in sun-web.xml are marked as error
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 18:07 UTC by Martin Schovanek
Modified: 2007-03-01 18:30 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 Martin Schovanek 2006-05-31 18:07:21 UTC
[#200605310200, jdk1.5.0, GlassFish v1 b48]

to reproduce:
-------------
1) use eg. 'Enterprise Resources > Send E-mail'
NOTE: it adds <resource-ref> item into web.xml dd
2) open sun-web.xml
3) slect the resource node under 'Sun Web Application' node
ERROR: Error message: '/web-app/resource-ref/jndi-name: jndi-name should not be
empty' appears. It is misleading because it is not a error. Next the path should
be: '/sun-web-app/resource-ref/jndi-name'.
Comment 1 _ pcw 2006-05-31 18:18:40 UTC
This is in SJSAS plugin.
Comment 2 _ pcw 2006-06-01 02:26:07 UTC
Eliminated unnecessary warning for resource-ref/jndi-name field in javaee5 modules.

Marking this bug fixed.

By the way, the "/web-app" misprint in the warning is a P4 that I already know
about and am already considering resolving for this release.  (it's been that
way since 3.6 btw).  If you want to track it, please file a separate issue.
Comment 3 Martin Schovanek 2007-03-01 18:30:32 UTC
v.