Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1125934 - [GSS] (6.4.z) access-log does not log 404 for non-existent context when enable-welcome-root is set to false in EAP 6
[GSS] (6.4.z) access-log does not log 404 for non-existent context when enabl...
Status: CLOSED WONTFIX
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Web (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity low
: ---
: EAP 6.4.1
Assigned To: Panagiotis Sotiropoulos
Radim Hatlapatka
Russell Dickenson
:
Depends On:
Blocks: 983858
  Show dependency treegraph
 
Reported: 2014-08-01 07:29 EDT by Radim Hatlapatka
Modified: 2015-04-13 09:22 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Cause: ?? Consequence: Workaround (if any): Result:
Story Points: ---
Clone Of: 983858
Environment:
Last Closed: 2015-04-12 06:51:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
BZ1125934 6.x patch (1.81 KB, patch)
2015-03-19 10:27 EDT, Panagiotis Sotiropoulos
cdewolf: review? (rmaucher)
Details | Diff

  None (edit)
Description Radim Hatlapatka 2014-08-01 07:29:12 EDT
+++ This bug was initially created as a clone of Bug #983858 +++

Description of problem:

access-log setting does not log 404 for non-existent context when enable-welcome-root is set to false in EAP 6


Steps to Reproduce:

1. Configure web subsysmte to set enable-welcome-root to "false" and enable access-log. For example:

        <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false">
            <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
            <virtual-server name="default-host" enable-welcome-root="false">
                <alias name="localhost"/>
                <alias name="example.com"/>
                <access-log/>
            </virtual-server>
        </subsystem>

2. Access non-existent context and get 404 like:

    curl -v http://localhost:8080/foobar

3. Check the access log


Actual results:

Nothing is logged in the access logging.


Expected results:

404 should be logged in the access logging.

--- Additional comment from Radim Hatlapatka on 2014-08-01 07:26:49 EDT ---

The issue still valid in latest build EAP 6.3.0.ER10.
Comment 3 Panagiotis Sotiropoulos 2015-03-19 10:27:43 EDT
Created attachment 1003853 [details]
BZ1125934 6.x patch
Comment 4 Panagiotis Sotiropoulos 2015-03-19 10:28:52 EDT
Patch uploaded.
Comment 9 Panagiotis Sotiropoulos 2015-04-12 06:51:44 EDT
Moving to WONTFIX, as per https://bugzilla.redhat.com/show_bug.cgi?id=983858.

Note You need to log in before you can comment on or make changes to this bug.