{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/1886","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/1886/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/1886/events","html_url":"https://github.com/payara/Payara/issues/1886","id":251705818,"number":1886,"title":"BUG: logs flooded by [WARNING] [AS-WEB-CORE-00230] despite correct error-page","user":{"login":"kbachl","id":451927,"avatar_url":"https://avatars0.githubusercontent.com/u/451927?v=4","gravatar_id":"","url":"https://api.github.com/users/kbachl","html_url":"https://github.com/kbachl","followers_url":"https://api.github.com/users/kbachl/followers","following_url":"https://api.github.com/users/kbachl/following{/other_user}","gists_url":"https://api.github.com/users/kbachl/gists{/gist_id}","starred_url":"https://api.github.com/users/kbachl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbachl/subscriptions","organizations_url":"https://api.github.com/users/kbachl/orgs","repos_url":"https://api.github.com/users/kbachl/repos","events_url":"https://api.github.com/users/kbachl/events{/privacy}","received_events_url":"https://api.github.com/users/kbachl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-21T16:08:57Z","updated_at":"2017-08-22T09:36:30Z","closed_at":null,"body":"# Description #\r\n----------\r\n\r\nLogs get flooded by \r\n[2017-08-21T18:01:44.932+0200] [Payara 4.1] [WARNING] [AS-WEB-CORE-00230] [javax.enterprise.web.core] [tid: _ThreadID=34 _ThreadName=http-thread-pool::http-listener-1(3)] [timeMillis: 1503331304932] [levelValue: 900] [[\r\n  The error-page /home/kbachl/dev/servers/payara41/glassfish/domains/domain1/applications/error-1.0-SNAPSHOT/code-404 or /code-404 does not exist]]\r\n\r\ndespite the config in web.xml beeing done:\r\n\r\n \t<filter-mapping>\r\n\t\t<filter-name>wicket.error</filter-name>\r\n\t\t<url-pattern>/*</url-pattern>\r\n\t\t<dispatcher>REQUEST</dispatcher>\r\n\t\t<dispatcher>ERROR</dispatcher>\r\n\t</filter-mapping>\r\n\r\n\t<error-page>\r\n\t\t<error-code>404</error-code>\r\n\t\t<location>/code-404</location>\r\n\t</error-page>\r\n\r\nand having a valid error page under that location path; It happens when the location is satisfied by a wicket page. Error page however is correctly shown. A quickstart to demonstrate is available.\r\n\r\nGlassfish 3 didnt show this behaviour. After upgrade to payara it happens to us (payara 4.1.172 and 4.1.173 affected - others not tested by me)\r\n\r\n\r\n## Expected Outcome\r\nno warning should be logged as the error page is used as expected\r\n\r\n\r\n## Steps to reproduce (Only for bug reports) \r\n\r\ngrab the quickstart error war and deploy it under / in a fresh payara; Open the browser at localhost:payaraport and then click on the link - watching the logfiles; You see the correct error page but still warning logged\r\n\r\nAll code is supplied in the error-w7-quickstart-maven-project.tar.gz file;\r\n\r\n\r\n[error-1.0-SNAPSHOT.war.zip](https://github.com/payara/Payara/files/1239438/error-1.0-SNAPSHOT.war.zip)\r\n[error-w7-quickstart-maven-project.tar.gz](https://github.com/payara/Payara/files/1239441/error-w7-quickstart-maven-project.tar.gz)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/323973833","html_url":"https://github.com/payara/Payara/issues/1886#issuecomment-323973833","issue_url":"https://api.github.com/repos/payara/Payara/issues/1886","id":323973833,"user":{"login":"kbachl","id":451927,"avatar_url":"https://avatars0.githubusercontent.com/u/451927?v=4","gravatar_id":"","url":"https://api.github.com/users/kbachl","html_url":"https://github.com/kbachl","followers_url":"https://api.github.com/users/kbachl/followers","following_url":"https://api.github.com/users/kbachl/following{/other_user}","gists_url":"https://api.github.com/users/kbachl/gists{/gist_id}","starred_url":"https://api.github.com/users/kbachl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbachl/subscriptions","organizations_url":"https://api.github.com/users/kbachl/orgs","repos_url":"https://api.github.com/users/kbachl/repos","events_url":"https://api.github.com/users/kbachl/events{/privacy}","received_events_url":"https://api.github.com/users/kbachl/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T09:36:30Z","updated_at":"2017-08-22T09:36:30Z","body":"PS: after more investigation it seems payara/ glassfish related; It worked as expected in Jetty9, Tomcat 8.5, Wildfly 10.1"}}
{"actor":{"display_login":"kbachl"}}