Wade,

Definitely no CPU spin. I also checked for some weird JDK dependency
(say, 1.5.0 vs 1.5.0_02 vs 1.5.0_07), but all give the same.

I modifed logging.properties in conf/ and had it dump ALL. Here is where
it hangs, right after I had it spit out the first logger.debug("some
message") in one of my classes in the webapp:

// lots before
FINE:   Loading class from local repository
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
FINE: loadClass(java.util.Stack, false)
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
FINE: loadClass(org.apache.log4j.spi.LocationInfo, false)
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
FINE:   Searching local repositories
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
findClass
FINE:     findClass(org.apache.log4j.spi.LocationInfo)
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
findClass
FINEST:       findClassInternal(org.apache.log4j.spi.LocationInfo)
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
findClass
FINE:       Returning class class org.apache.log4j.spi.LocationInfo
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
findClass
FINE:       Loaded by WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
[EMAIL PROTECTED]

Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
2006-07-02 21:06:15,996 [main] DEBUG tester.SessionTestFilter .init -
C:\My Documents\proj\utils\Web3\build\web\
SessionTestFilter:Initializing filter
FINE:   Loading class from local repository
. /**** HERE IS THE HANG!!!!!! ****  everything after comes after I kill
the process itself ***/
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
FINE: loadClass(java.io.PrintWriter, false)
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
FINE: loadClass(com.ibm.uvm.tools.DebugSupport, false)
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
loadClass
FINE:   Searching local repositories
Jul 2, 2006 9:06:16 PM org.apache.catalina.loader.WebappClassLoader
findClass
FINE:     findClass(com.ibm.uvm.tools.DebugSupport)
// lots after

There is a *lot* more; if you think it is helpful, I can send it.

Wade Chandler wrote:

>--- Avi Deitcher <[EMAIL PROTECTED]> wrote:
>
>  
>
>>To add to it: I kept two webapps running and had
>>them
>>System.out.println(logger), where each is in the
>>same category/class, to
>>check that each one is running its own; it is. I
>>then removed every
>>webapp I could and ran it again with just the simple
>>filter + index.jsp
>>to check. Same result. Sigh.
>>
>>    
>>
>
>Try to setup a file appender and see if you get any
>remotely similar behaviour.  If not then my guess
>would be some kind of monitor is locked and code
>either in Tomcat or commons logging or log4j is
>deadlocked.  Before setting up the file appender look
>at the process for Tomcat in the windows "Task
>Manager" and see how many CPU cycles it is using at
>this point.  If it is eating up the CPU then it isn't
>a deadlock and is some infinite recursive loop (more
>than likely) some where such as your log call keeping
>on calling another log call some how down the stack or
>something weird like that.  If the CPU isn't really
>being used at all then my first guess would be a
>deadlock.
>
>Wade
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

-- 
______________________________
Avi Deitcher
[EMAIL PROTECTED]


Reply via email to