I need to share the same instance of a "Util" object to reuse it in all the
handleRequest calls. Where is the best place to store the Util object
instance? The Util class is not thread safe, so I should have one instance
for each client thread.
We're using Undertow in a console app that also leverages Tuckey for URL
rewriting. We're also using Log4j for logging stuff. I was noticing this
week that most of the log messages from Tuckey seem to be nested inside of
a log message from Undertow-- often times with a different logging
[INFO ] io.undertow.servlet:
org.tuckey.web.filters.urlrewrite.Condition TRACE: outcome false
I can try and provide the details of how we're using Log4j if I need. I'd
like to be able to do some filtering and such to separate out my Tuckey
logs, but I can't do it easily when they appear to get caught up and
re-logged by Undertow under a different logging category and severity.
Any ideas on what's going on would be welcome.
*Ortus Solutions, Corp *
ColdBox Platform: http://www.coldbox.org