Observing local IP as 0.0.0.0 in the JBoss access log

Solution Unverified - Updated -

Issue

  • %A is used in the access logs format of JBoss EAP Server configuration, the local IP printed is not consistent, at times 0.0.0.0 is printed or else the IP x.x.x.x is printed.
localhost 0.0.0.0 8080 HTTP/1.1 GET - /simple-servlet/SimpleServlet 178 - - 127.0.0.1 - - [20/Sep/2021:10:17:56 +0200] "GET /simple-servlet/SimpleServlet HTTP/1.1" 200 178 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36" Cookie: "-" Set-Cookie: "%{o ,SET-COOKIE}" SessionID: - Thread: "default task-1" TimeTaken: - -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content