The Artima Developer Community
Sponsored Link

Java Buzz Forum
ThreadDeath in Tomcat has arrived to me

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marc Logemann

Posts: 594
Nickname: loge
Registered: Sep, 2002

Marc Logemann is founder of www.logentis.de a Java consultancy
ThreadDeath in Tomcat has arrived to me Posted: Feb 2, 2005 6:56 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Marc Logemann.
Original Post: ThreadDeath in Tomcat has arrived to me
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
Latest Java Buzz Posts
Latest Java Buzz Posts by Marc Logemann
Latest Posts From Marc's Java Blog

Advertisement

I am one of the guys using Tomcats Ant tasks heavily during development. Especially org.apache.catalina.ant.ReloadTask is used to quickly reload the webapp to reflect changes made to the app. In the last years, i had no problem with this, until today where the famous "ThreadDeath" Bug occurs.

See the bottom of this page to see why this bug is there. It seems that a fundamental LogFactory caching mechanism inside Commons-logging is causing the problems. But this LogFactory has its right to exist, so i dont know if and when there will be a solution to this.

To be honest, i never understood why there is a need for commons-logging at all. How often do you change a logging framework inside your application. If you wont do that too often or never, why to abstract logging at all? Normally i would say it doesnt matter if an API like that exists or not, but this kind of errors decrease your productivity, because you find yourself moving around your tomcat-logging.jar from one classloader place to another in some hope to fix it this way. At the end, it affects your work even when you dont use logging in your own apps. I am using Struts and this fact is enough to get that kind of problems with tomcat.

Comments like: "hot redeploying is error prone and its better not to use it" is somehow counterproductive. You wouldnt challenge the existance of the automobile, just because one specific tire is not the apropriate choice. I am excited when we can see a real solution there.

Read: ThreadDeath in Tomcat has arrived to me

Topic: Adding automatic completion to JComboBox Previous Topic   Next Topic Topic: Justin Gehtland's blogging again

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use