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 130997 - jboss-web.xml security-domain defined incorrectly
Summary: jboss-web.xml security-domain defined incorrectly
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 11:55 UTC by colinwsbc
Modified: 2009-09-19 10:53 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 colinwsbc 2008-03-25 11:55:01 UTC
When creating a new project to be deployed to JBoss, the generated jboss-web.xml includes a line

<security-domain flushOnSessionInvalidation="false"/>

This is incorrect - there should be some content in the tag to define a name:

<security-domain flushOnSessionInvalidation="false">java:/jaas/other</security-domain>

Or perhaps the line should be removed.

This problem was noticed because the integration code for an alternative servlet engine throws NPEs if this line is not
correctly formed.
Comment 1 Thuy.d Nguyen 2009-01-08 00:53:40 UTC
Need to investigate...
Comment 2 Petr Hejl 2009-09-18 10:47:10 UTC
Fixed in web-main 04025ba3b8ca.
Comment 3 Quality Engineering 2009-09-19 10:53:51 UTC
Integrated into 'main-golden', will be available in build *200909190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/04025ba3b8ca
User: phejl@netbeans.org
Log: #130997 jboss-web.xml security-domain defined incorrectly