-
Bug
-
Resolution: Done
-
Major
-
fuse-7.10.2-GA
-
None
-
False
-
None
-
False
-
Release Notes
-
%
-
-
Todo
-
Release Note
-
The access logging support by cxf with embedded undertow server on karaf does not log URI as expected.
With this knwoeldge, it works fine with Fuse 7.9.
https://access.redhat.com/solutions/5885141
Components detail
Fuse 7.9:
cxf-3.3.6.fuse-790049-redhat-00001
<cxf.undertow.version>2.2.5.Final-redhat-00001</cxf.undertow.version>
Fuse 7.10.2
cxf-3.3.6.fuse-7_10_2-00001-redhat-00005
<cxf.undertow.version>2.2.12.Final-redhat-00001</cxf.undertow.version>
The execution of io.undertow.server.HttpServerExchange.setRelativePath("") updates the URI value to blank.
io.undertow.server.HttpServerExchange.setRelativePath(HttpServerExchange.java:-1) io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:96) io.undertow.server.handlers.HttpContinueReadHandler.handleRequest(HttpContinueReadHandler.java:69) io.undertow.server.handlers.accesslog.AccessLogHandler.handleRequest(AccessLogHandler.java:148) jp.smbc.az.esb.runtime.fuse.extension.handler.LogHandler.handleRequest(LogHandler.java:50) io.undertow.server.Connectors.executeRootHandler(Connectors.java:387) io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:256) io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136) io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:162) io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:100) io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:57) org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291) org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286) org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) org.xnio.nio.QueuedNioTcpServer2.acceptTask(QueuedNioTcpServer2.java:178) org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612) org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
It might be a regression issue caused by UNDERTOW-1591.
- is caused by
-
UNDERTOW-1591 HttpServletRequestImpl#getServletPath() and getPathInfo() returns non-decoded value after AsyncContextImpl#dispatch()
- Resolved
- is related to
-
UNDERTOW-2123 AsyncContextImpl.dispatch uses empty path sometimes
- Closed
- mentioned on