Scripted shutdown does not force JVM exit

2005-01-01 Thread Brett Randall
I've noticed that Tomcat's scripted/orderly shutdown does not force the JVM to exit. After running all lifecycle events, the main thread just falls-through rather than calling exit(0) to end the JVM. I'm wondering if this is intentional? The result is that any application-spawned Thread-s that

Re: Scripted shutdown does not force JVM exit

2005-01-01 Thread penpower
This email [EMAIL PROTECTED] is no longer available due to heavy spamming. Please visit our website http://www.alestron.com for contact info. Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Re: Scripted shutdown does not force JVM exit

2005-01-01 Thread penpower
This email [EMAIL PROTECTED] is no longer available due to heavy spamming. Please visit our website http://www.alestron.com for contact info. Thank you! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Scripted shutdown does not force JVM exit

2005-01-01 Thread Tim Funk
The JVM exits when there are 0 non-daemon threads running. Tomcat itself shuts down fine with this constraint. If the JVM does not shut down - it is due to bad 3rd party code which creates non-daemon threads and fail to detect a shutdown. The UNIX scripts allow you to capture the process id of

Re: Scripted shutdown does not force JVM exit

2005-01-01 Thread QM
On Sat, Jan 01, 2005 at 07:45:52PM +1100, Brett Randall wrote: : I'm wondering if this is intentional? The result is that any : application-spawned Thread-s that are not well managed (i.e. are allowed : to continue to run or block after the context is removed) continue to : run, and the JVM does

Re: JSP compilation problem

2005-01-01 Thread Ryan Stewart
I answered you yesterday on this. There's generally no reason to post the same question two days in a row. Just wait and see if an answer shows up. Your problem is (still) that you have one or more errors in your JSP. If you can't figure out where the compiler output is, then go and compile the

Re: JSP compilation problem

2005-01-01 Thread Frank W. Zammetti
I did not post twice Ryan. If two posts appeared, it is the same problem with the list processor that we've been seeing for weeks now. I did post a reply however... I tried your suggestion and manually compiled. I have NO classpath variable in the environment (I thought this might have been

Re: Bad Request

2005-01-01 Thread jfarcand
For further details see the attachment. +++ Attachment: No Virus found +++ Kaspersky AntiVirus - www.kaspersky.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP compilation problem

2005-01-01 Thread Ben Souther
Frank, Forgive me if this has already been suggested, I just came into this thread, midpoint (left my machine on at work ;)). Just for kicks, have you tried a fresh install of Tomcat on that machine? Ryan, I agree with you 100% about people not posting the same question twice and about

Re: Scripted shutdown does not force JVM exit

2005-01-01 Thread Brett Randall
Hi Tim, QM, thanks for your replies. Tim Funk: Calling System.exit() has been discussed on tomcat-dev and by vetoed. Yes, thanks, I subsequently found zilla 17000 and the discussion. Tim Funk: If the JVM does not shut down - it is due to bad 3rd party code which creates non-daemon threads and

Can't load server.xml message

2005-01-01 Thread Sean Schofield
I am an experienced Tomcat user who is all of a sudden having trouble running Tomcat on my home machine. I am running Tomcat 5.0.28 and I get a Null Pointer when trying to start Tomcat. I have JAVA_HOME and CATALINA_HOME configured. The very first line in the output says Can't load server.xml

Re: Scripted shutdown does not force JVM exit

2005-01-01 Thread QM
On Sun, Jan 02, 2005 at 10:10:02AM +1100, Brett Randall wrote: : Yes, responsibility has been placed on developers and : architects, but a Tomcat admin who deploys : applications may not be in a position to hold them all : individually to account. This is a policy/political problem, then, and not

Re: Can't load server.xml message

2005-01-01 Thread sven morales
Hi, You seem to have added quite a few lines into your catalina.sh. The stock script ends at line 287 for me. Can you tell us what modifications you have made? Funny that I can not find how the server.xml is loaded by the DigesterFactory.java nor by Bootstrap.java when I browsed their

Re: Can't load server.xml message

2005-01-01 Thread Phil Steitz
Sean Schofield wrote: I am an experienced Tomcat user who is all of a sudden having trouble running Tomcat on my home machine. I am running Tomcat 5.0.28 and I get a Null Pointer when trying to start Tomcat. I have JAVA_HOME and CATALINA_HOME configured. The very first line in the output says

Re: Can't load server.xml message

2005-01-01 Thread sven morales
I looked in the wrong source codes. I should have looked at Catalina.java. Here is the link: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/Catalina.java?rev=1.35view=log Anyhow, the await() call is at line 578 but thats after the

Re: Can't load server.xml message

2005-01-01 Thread Phil Steitz
If you look at the 5.0.28 src distro, you can see that line 519 of Catalina.java includes a reference to the server object. Most likely the npe is happening because the server initialization is failing. The first error (Can't load server.xml) looks like it is generated by the load method when

Re: Re: JSP compilation problem

2005-01-01 Thread Ryan Stewart
First, I apologize if I came of sounding rude before. As an infrequent visitor to this list, I wasn't aware that you are a frequent contributor. I also don't seem to have received the other reply you mention. My next thought is that you might have two versions of Java installed. If so, which