You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/07/02 17:37:42 UTC

[Bug 58094] New: [7.0.63 RC] "Null component Tomcat:type=Cache" error messages in testsuite logs

https://bz.apache.org/bugzilla/show_bug.cgi?id=58094

            Bug ID: 58094
           Summary: [7.0.63 RC] "Null component Tomcat:type=Cache" error
                    messages in testsuite logs
           Product: Tomcat 7
           Version: trunk
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: knst.kolinko@gmail.com

Running tests for release candidate of Tomcat 7.0.63, I see a lot of the
following messages in the logs:

<some date and time> org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Tomcat:type=Cache,host=localhost,context=/login

The above message is from
org.apache.catalina.authenticator.TestSSOnonLoginAndBasicAuthenticator test,
but the same message (with different context path) occurs in many test cases.
When running whole testsuite with Java 7 and all 3 connectors, the message is
found in 165 test result files out of 543.

I am running with Access Logging enabled by the following setting in
build.properties, but I think it does not matter:

test.accesslog=true


This message is absent from 7.0.62 test logs, so it is a regression in this
specific version of Tomcat 7.

Looking into Apache Gump logs, this message is present in
tomcat-tc7.0.x-test-nio results for the above mentioned test case, but absent
in tomcat-tc8.0.x-test-nio, tomcat-trunk-test-nio, so Tomcat 8 and trunk do not
have this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 58094] [7.0.63 RC] "Null component Tomcat:type=Cache" error messages in testsuite logs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58094

--- Comment #2 from Remy Maucherat <re...@apache.org> ---
I see no way this is a regression. It's just the cache that is null, probably
because the resources is not the usual BaseDirContext and so the cache is null.
It's harmless and could use a null check.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 58094] [7.0.63 RC] "Null component Tomcat:type=Cache" error messages in testsuite logs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58094

Konstantin Kolinko <kn...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
This log message is not observed during normal standalone use of Tomcat (e.g.
smoke-testing the examples webapp). So it is something specific to embedded
Tomcat configuration used by test cases.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 58094] [7.0.63 RC] "Null component Tomcat:type=Cache" error messages in testsuite logs

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58094

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Remy Maucherat <re...@apache.org> ---
r1688854 for a fix that removed the bad logging for me. It's really specific to
the testsuite and its empty resources.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org