https://bz.apache.org/bugzilla/show_bug.cgi?id=59232

--- Comment #2 from Michael Osipov <1983-01...@gmx.net> ---
Hi (In reply to Mark Thomas from comment #1)
> I'd be happy to commit a patch along these lines with a few changes.
> 
> Rather than a logback specific solution, I'd prefer to see a more general
> solution along the following lines:
> - new StandardContext options "addNameToJndi"
> - locate it at java:comp/env/contextName

I am an sticking to Logback per se, this was just a real life example. In fact,
I Am using the very same technique for Spring's beans.xml now.

I am willing to provide a patch and I already have taken a look at
StandardContext. The class is huge. I am not certain where to add best.
startInternal() seems suitable. Probably somewhere between lines 5000 and 5145
by calling addApplicationParameter()?

What about nested context path and parallel deployment? Shall we ignore them
for now?

The attributes are fine are perfect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to