JBWEB001146: Unable to decode with rest of chars starting: %{X

Solution Verified - Updated -

Issue

After I execute following CLI command, access log could not decode the format.

CLI Command :

/profile=full-ha-USYS/subsystem=web/virtual-server=default-host/access-log=configuration:add(extended=true,pattern="%{X-Forwarded-For}i %l %u %t %r %s %b %{User-Agent}i %{Referer}i",prefix="HR_default_access_log.",resolve-hosts=false,rotate=true)

Error Messages:

[Server:USYS-1] 14:24:36,607 ERROR [org.apache.catalina.valves] (MSC service thread 1-3) JBWEB001146: Unable to decode with rest of chars starting: %{X

Why this format can not be decoded?

Environment

Red Hat JBoss Enterprise Application Platform
- 6.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