[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Need the context classloader after create
smil
do-not-reply at jboss.com
Sun Jan 21 12:04:57 EST 2007
Hi,
I've tried to create an easy per deployment logging possibility without many fuss with package prefixes / repository selectors / TCLFilter etc.
This service will look for a log4j.xml or .prop in the META-INF directory of all deployments, and create and register the logger for the deployment.
I'm almost finished, but one part is missing: Web deployments does not publish the context loader before 'start' step, but the classes (and loggers) are created in the 'create' step.
Basically this means I cannot identify the deploymentinfo from the thread's classloader. Is there a reason why the context loader only set at the end of create into the webmetadata?
Or is it a way around this 'limitation'?
You can have a look at my code at: hxxp://212.52.164.42/jboss/
Any help welcome!
Cheers,
Tamas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004568#4004568
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004568
More information about the jboss-dev-forums
mailing list