Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: logs flooded by [WARNING] [AS-WEB-CORE-00230] despite correct error-page #1886

Closed
kbachl opened this issue Aug 21, 2017 · 4 comments
Closed
Assignees
Labels
Type: Bug Label issue as a bug defect
Milestone

Comments

@kbachl
Copy link

kbachl commented Aug 21, 2017

Description


Logs get flooded by
[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] [[
The error-page /home/kbachl/dev/servers/payara41/glassfish/domains/domain1/applications/error-1.0-SNAPSHOT/code-404 or /code-404 does not exist]]

despite the config in web.xml beeing done:

<filter-mapping>
	<filter-name>wicket.error</filter-name>
	<url-pattern>/*</url-pattern>
	<dispatcher>REQUEST</dispatcher>
	<dispatcher>ERROR</dispatcher>
</filter-mapping>

<error-page>
	<error-code>404</error-code>
	<location>/code-404</location>
</error-page>

and 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.

Glassfish 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)

Expected Outcome

no warning should be logged as the error page is used as expected

Steps to reproduce (Only for bug reports)

grab 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

All code is supplied in the error-w7-quickstart-maven-project.tar.gz file;

error-1.0-SNAPSHOT.war.zip
error-w7-quickstart-maven-project.tar.gz

@kbachl
Copy link
Author

kbachl commented Aug 21, 2017

Workaround:
add in "Module Log Levels" in "Logger Settings"
javax.enterprise.web.core
with Log Level: SEVERE
for it to not be displayed in logs

That way no more Warnings will be shown - its still a bug that shouldnt be there :)

@kbachl
Copy link
Author

kbachl commented Aug 22, 2017

PS: after more investigation it seems payara/ glassfish related; It worked as expected in Jetty9, Tomcat 8.5, Wildfly 10.1

@lprimak
Copy link
Contributor

lprimak commented Sep 3, 2017

I have seen something similar to this as well.

@Cousjava Cousjava self-assigned this Sep 13, 2017
@Cousjava
Copy link
Contributor

Confirmed bug, internal issue PAYARA-2111 created

@Cousjava Cousjava added Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev Type: Bug Label issue as a bug defect payara bug and removed 1:Investigating labels Sep 13, 2017
@michaelranaldo michaelranaldo self-assigned this Sep 26, 2017
@michaelranaldo michaelranaldo added 3:DevInProgress and removed Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev labels Sep 26, 2017
@OndroMih OndroMih added this to the Payara 4.174 milestone Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Label issue as a bug defect
Projects
None yet
Development

No branches or pull requests

6 participants