Bug 984434
Summary: | Welcome-file defined in web subsystem is used only if there is no index.{htm,html,jsp} | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Radim Hatlapatka <rhatlapa> |
Component: | Web | Assignee: | Rémy Maucherat <rmaucher> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Cada <mcada> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.1 | CC: | myarboro |
Target Milestone: | DR4 | ||
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Radim Hatlapatka
2013-07-15 08:45:02 UTC
SharedWebMetaDataBuilder.init could clear the list before adding the welcome files if some have been defined in the container config. Issue is still valid in EAP 6.3.0.ER10 Now it is possible to define the welcome-file correctly but using undefine doesn't properly reset the values to default and uses the previously set list of welcome files instead. 1. use the same steps as shown in description 2. undefine the welcome-file (/subsystem=web/configuration=container:undefine-attribute(name=welcome-file) 3. reload the server 4. use the step 4 in description and see that still the content welcome.html is shown instead of the one in index.html I will not make any further changes to this. The problem with this new scenario is the shared metadata is created at boottime from the config (in WebSubsystemAdd.performBoottime and duplicates BZ 1115443), and also the shared metadata builder class uses static fields for welcome files and mime mappings (another minor issue that would need to be fixed after the first part). Similar behavior on other items: mime mappings, native, instanceid, default session timeout, default virtual server. So your bug resolution is wrong: the bug originally described is fixed but there is another unrelated issue that is a duplicate of 1115443 Setting back to ON_QA to confirm the original issue is fixed. I have verified with EAP 6.4.0.DR4 that the configuration option welcome-file behaves as expected with exception of the issue mentioned in Comment 7 which is now tracked in separate BZ#1151478. |