RE: Shutdown problem

2002-09-11 Thread Michael Petres

Ok,

There is a thread running after shutdown that is the AWT
EventDispatchThread. How do I kill this puppy?

Michael Petres
~
InnovObjX Corp.
Web: www.innovobjx.com
Tel: 905-729-2235 x3
Fax: 905-729-2235
~

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 9:01 AM
To: Tomcat Users List
Subject: RE: Shutdown problem

Hi,
This was discussed many times ;)

You probably have non-daemon threads still running.  The JVM will keep
running as long as non-daemon threads haven't terminated (see
java.lang.Thread docs).

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Michael Petres [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, September 10, 2002 7:32 PM
>To: [EMAIL PROTECTED]
>Subject: Shutdown problem
>
>Perhaps this was discussed before... I can't find a suitable solution
to my
>problem on the archives...
>
>When I stop tomcat using the shutdown.bat (shutdown.sh) on Windows
2000,
>the
>java process in which tomcat runs is not terminated. While servlets are
>active, they no longer respond to requests...
>
>What could be causing this? No errors reported in the log files...
>
>Michael Petres
>~
>InnovObjX Corp.
>Web: www.innovobjx.com
>Tel: 905-729-2235 x3
>Fax: 905-729-2235
>~


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: Shutdown problem

2002-09-11 Thread Shapira, Yoav

Hi,
This was discussed many times ;)

You probably have non-daemon threads still running.  The JVM will keep
running as long as non-daemon threads haven't terminated (see
java.lang.Thread docs).

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Michael Petres [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, September 10, 2002 7:32 PM
>To: [EMAIL PROTECTED]
>Subject: Shutdown problem
>
>Perhaps this was discussed before... I can't find a suitable solution
to my
>problem on the archives...
>
>When I stop tomcat using the shutdown.bat (shutdown.sh) on Windows
2000,
>the
>java process in which tomcat runs is not terminated. While servlets are
>active, they no longer respond to requests...
>
>What could be causing this? No errors reported in the log files...
>
>Michael Petres
>~
>InnovObjX Corp.
>Web: www.innovobjx.com
>Tel: 905-729-2235 x3
>Fax: 905-729-2235
>~



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


Re: Shutdown problem red-hat 6.2

2001-03-07 Thread Horace A. Vallas, Jr.

I had also seen this - but after moving to rh7, it seemed to
vanish? not sure why though...

Tagunov Anthony wrote:
> 
> Hello!
> On Wed, 07 Mar 2001 16:38:40 +0100, Peter Hrastnik wrote:
> >We are running tomcat 3.2 and IBMJava2 SDK 1.3 on an Intel Red Hat 6.2
> >machine with Apache 1.3.12 and mod_jserv.
> >
> >When shutdown.sh is called, it is very rare that the contexts are
> >removed and java processes are still running for some minutes.
> 
> Well, this problem is very familiar for me too. It look like Tomcat bugs:
> 
> http://znutar.cortexity.com/BugRatViewer/ShowBug/47
> http://znutar.cortexity.com/BugRatViewer/ShowReport/313 (actually a repetition of 
>the previous bugreport)
> 
> The problem arises when we have more then one 1 or 2 contexts mounted.
> 
> Would like to know: does it happen only on Linux? Does it happen on NT?
> 
> And all we - users - can do is await the developer to fix this problem.
> 
> >Sometimes
> >they don't disappear at all and have to be removed manually with kill.
> 
> Yes, that's what i do too  :-(
> 
> >If you try to startup, it won't work because these processes are still
> >running.>Sometimes startup does not work even though no tomcat-java processes
> >exist. Tomcat receives the request (there is no Internal Server Error as
> >it occures when tomcat is not running) but does not deliver anything.
> >
> >Does anybody have an idea how to solve this problems?
> 

-- 
Wishing you an "OOBA OOBA" 21st Century!!
Horace...once known as "Kicker" :-)  

Horace Vallas   hav.Software http://www.hav.com/ 
P.O. Box 354 [EMAIL PROTECTED]
Richmond, Tx. 77406-0354 voice: 281-341-5035 
USAfax: 281-341-5087

Thawte Web Of Trust Notary in SW Houston, Tx.
http://www.hav.com/?content=/thawteWOTnotary.htm

...drop by and chat if I'm online   http://www.hav.com/chat/
===   ===   ===   ===   ===   ===   ===   ===   ===   ===   
What is a Vet? ... He is the barroom loudmouth, dumber than five 
wooden planks, whose overgrown frat-boy behavior is outweighed a 
hundred times in the cosmic scales by four hours of exquisite 
bravery near the 38th parallel. ...   - Unknown

 S/MIME Cryptographic Signature


Re: Shutdown problem red-hat 6.2

2001-03-07 Thread Tagunov Anthony

Hello!
On Wed, 07 Mar 2001 16:38:40 +0100, Peter Hrastnik wrote:
>We are running tomcat 3.2 and IBMJava2 SDK 1.3 on an Intel Red Hat 6.2
>machine with Apache 1.3.12 and mod_jserv.
>
>When shutdown.sh is called, it is very rare that the contexts are
>removed and java processes are still running for some minutes. 

Well, this problem is very familiar for me too. It look like Tomcat bugs:

http://znutar.cortexity.com/BugRatViewer/ShowBug/47
http://znutar.cortexity.com/BugRatViewer/ShowReport/313 (actually a repetition of the 
previous bugreport)

The problem arises when we have more then one 1 or 2 contexts mounted.

Would like to know: does it happen only on Linux? Does it happen on NT?

And all we - users - can do is await the developer to fix this problem.

>Sometimes
>they don't disappear at all and have to be removed manually with kill.

Yes, that's what i do too  :-(

>If you try to startup, it won't work because these processes are still
>running.>Sometimes startup does not work even though no tomcat-java processes
>exist. Tomcat receives the request (there is no Internal Server Error as
>it occures when tomcat is not running) but does not deliver anything.
>
>Does anybody have an idea how to solve this problems?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Shutdown problem

2001-02-23 Thread Jurrius, Mark

I had the same problem using HP-Unix and Tomcat.  The problem had to do with
two things trying to share the same port number.  We fixed the problem by
changing the port number in the server.xml:

 -->
  -->
  -->
  -->

I hope this helps.

Mark


-Original Message-
From:   Sambit Mishra [mailto:[EMAIL PROTECTED]]
Sent:   Friday, February 23, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject:Shutdown problem

Hi Folks!!
I am using Tomcat 3.2 on Solaris.

My problem is I can not shutdown the server and bring it up with the
tomcat.sh stop/start command. I get the exception "Fatal:
java.net.BindException: Address already in use...". I have to kill a
process which reads "../green_thread/.." as a workaround.

Any suggestions?

Thanks.
-Sambit


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Shutdown problem

2000-11-26 Thread Julio Serje (@canada.com)



Hi, Tom
 
The maximun environment space size is 4096. You can set it in 
different ways, I have had very good results setting it using system.ini  
(in the [NonWindowsApp] section add a line with 
CommandEnvSize=4096.
 
I would also recommend you to look at the nice JustGo, an 
application that will help you if you have a unusually large environmet 
space, and will automatically search for your settings. 
 
See http://www.geocities.com/jdrudnicki/
Julio
 

  - Original Message - 
  From: 
  CPC 
  Livelink Admin 
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, November 26, 2000 9:42 
  AM
  Subject: RE: Shutdown problem
  
   
  It 
  is still the environment problem. The 2816 setting is just an estimate, since 
  it will be affected by other environment variable you have set, what paths you 
  choose to put things in etc.  Increase that number by a lot (be absurd in 
  your first test) and try to shutdown.  You should not see the 
  problem - assuming you don't just bing down the amount of environment memory 
  until the problem reappears and set it (finally) to be above that 
  level.
  
-Original Message-From: Tomas Marek 
[mailto:[EMAIL PROTECTED]]Sent: Sunday, November 26, 2000 
07:13 AMTo: [EMAIL PROTECTED]Subject: Re: 
Shutdown problemIt might seem 
unbelievable but I fixed it up myself by just setting JAVA_HOME in 
autoexec.bat with full path incl. drive name (C:\jdk1.3). What u 
reckon? 
Saurabh Shukla wrote: 
 Even i get problems with 
  shutting down tomcat both on Linux and in Windows NT machine, you can just 
  kill the damn window. :-)  
  
-Original Message- From: Tomas Marek [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, November 26, 
2000 12:28 PM To: Tomcat Subject: Shutdown problem 
 Guys, I start Tomcat 3.1 perfectly and when I run 
Shutdown.bat script, the Java window is still on with the following 
content: 
Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Using classpath: 
C:\Tomcat\classes;C:\Tomcat\lib\webserver.jar Stop tomcat Exception in 
thread "main" java.lang.NoClassDefFoundError: 
org/xml/sax/DocumentH andler 
    at 
java.lang.ClassLoader.defineClass0(Native Method)     at 
java.lang.ClassLoader.defineClass(Unknown Source)     at 
java.security.SecureClassLoader.defineClass(Unknown Source) 
    at 
java.net.URLClassLoader.defineClass(Unknown Source)     at 
java.net.URLClassLoader.access$100(Unknown Source)     at 
java.net.URLClassLoader$1.run(Unknown Source)     at 
java.security.AccessController.doPrivileged(Native Method) 
    at 
java.net.URLClassLoader.findClass(Unknown Source)     at 
java.lang.ClassLoader.loadClass(Unknown Source)     at 
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
    at 
java.lang.ClassLoader.loadClass(Unknown Source)     at 
java.lang.ClassLoader.loadClassInternal(Unknown Source)     at 
org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:180) 
    at 
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130) 
    at 
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) 
Looks like something wrong with configuration of JVM? Why still "Out 
of environment space if I've set the Initial environment memory property 
to recommended 2816? Second question is why I can't run .jsp file in 
browser when offline? (W98, T/C 3.1 as standalone) 
I've searched the mailinglist archive and several FAQs on the topic 
but found nothing helpful. Did anybody encounter with same problem? Any 
suggestions will be appreciated. 
Tom.    



RE: Shutdown problem

2000-11-26 Thread CPC Livelink Admin



 
It is 
still the environment problem. The 2816 setting is just an estimate, since it 
will be affected by other environment variable you have set, what paths you 
choose to put things in etc.  Increase that number by a lot (be absurd in 
your first test) and try to shutdown.  You should not see the problem 
- assuming you don't just bing down the amount of environment memory until the 
problem reappears and set it (finally) to be above that 
level.

  -Original Message-From: Tomas Marek 
  [mailto:[EMAIL PROTECTED]]Sent: Sunday, November 26, 2000 07:13 
  AMTo: [EMAIL PROTECTED]Subject: Re: 
  Shutdown problemIt might seem 
  unbelievable but I fixed it up myself by just setting JAVA_HOME in 
  autoexec.bat with full path incl. drive name (C:\jdk1.3). What u 
  reckon? 
  Saurabh Shukla wrote: 
   Even i get problems with 
shutting down tomcat both on Linux and in Windows NT machine, you can just 
kill the damn window. :-)  

  -Original Message- From: Tomas Marek [mailto:[EMAIL PROTECTED]] 
  Sent: Sunday, November 26, 2000 
  12:28 PM To: 
  Tomcat Subject: 
  Shutdown problem  Guys, I start Tomcat 
  3.1 perfectly and when I run Shutdown.bat script, the Java window is still 
  on with the following content: 
  Out of environment space Out of environment space Out 
  of environment space Out of environment 
  space Out of environment space 
  Using classpath: 
  C:\Tomcat\classes;C:\Tomcat\lib\webserver.jar Stop tomcat Exception in 
  thread "main" java.lang.NoClassDefFoundError: org/xml/sax/DocumentH 
  andler     at 
  java.lang.ClassLoader.defineClass0(Native Method)     at 
  java.lang.ClassLoader.defineClass(Unknown Source)     at 
  java.security.SecureClassLoader.defineClass(Unknown Source) 
      at 
  java.net.URLClassLoader.defineClass(Unknown Source)     at 
  java.net.URLClassLoader.access$100(Unknown Source)     at 
  java.net.URLClassLoader$1.run(Unknown Source)     at 
  java.security.AccessController.doPrivileged(Native Method) 
      at 
  java.net.URLClassLoader.findClass(Unknown Source)     at 
  java.lang.ClassLoader.loadClass(Unknown Source)     at 
  sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) 
      at 
  java.lang.ClassLoader.loadClass(Unknown Source)     at 
  java.lang.ClassLoader.loadClassInternal(Unknown Source)     at 
  org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:180) 
      at 
  org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130)     at 
  org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) 
  Looks like something wrong with configuration of JVM? Why still "Out of 
  environment space if I've set the Initial environment memory property to 
  recommended 2816? Second question is why I can't run .jsp file in 
  browser when offline? (W98, T/C 3.1 as standalone) 
  I've searched the mailinglist archive and several FAQs on the topic but 
  found nothing helpful. Did anybody encounter with same problem? Any 
  suggestions will be appreciated. 
  Tom.    



Re: Shutdown problem

2000-11-26 Thread Tomas Marek


It might seem unbelievable but I fixed it up myself
by just setting JAVA_HOME in autoexec.bat with full path incl. drive name
(C:\jdk1.3). What u reckon?
Saurabh Shukla wrote:
 Even
i get problems with shutting down tomcat both on Linux and in Windows NT
machine, you can just kill the damn window. :-) 

-Original
Message-
From: Tomas Marek [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 26,
2000 12:28 PM
To: Tomcat
Subject: Shutdown problem
 
Guys,
I start Tomcat 3.1 perfectly and when I run Shutdown.bat script, the
Java window is still on with the following content:
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Using classpath: C:\Tomcat\classes;C:\Tomcat\lib\webserver.jar
Stop tomcat
Exception in thread "main" java.lang.NoClassDefFoundError:
org/xml/sax/DocumentH
andler
    at
java.lang.ClassLoader.defineClass0(Native Method)
    at
java.lang.ClassLoader.defineClass(Unknown Source)
    at
java.security.SecureClassLoader.defineClass(Unknown Source)
    at
java.net.URLClassLoader.defineClass(Unknown Source)
    at
java.net.URLClassLoader.access$100(Unknown Source)
    at
java.net.URLClassLoader$1.run(Unknown Source)
    at
java.security.AccessController.doPrivileged(Native Method)
    at
java.net.URLClassLoader.findClass(Unknown Source)
    at
java.lang.ClassLoader.loadClass(Unknown Source)
    at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at
java.lang.ClassLoader.loadClass(Unknown Source)
    at
java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at
org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:180)
    at
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130)
    at
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
Looks like something wrong with configuration of JVM? Why still "Out
of environment space if I've set the Initial environment memory property
to recommended 2816?
Second question is why I can't run .jsp file in browser when offline?
(W98, T/C 3.1 as standalone)
I've searched the mailinglist archive and several FAQs on the topic
but found nothing helpful. Did anybody encounter with same problem? Any
suggestions will be appreciated.
Tom.


 
 



RE: Shutdown problem

2000-11-26 Thread Saurabh Shukla



Even i 
get problems with shutting down tomcat both on Linux and in Windows NT machine, 
you can just kill the damn window. :-) 

  -Original Message-From: Tomas Marek 
  [mailto:[EMAIL PROTECTED]]Sent: Sunday, November 26, 2000 12:28 
  PMTo: TomcatSubject: Shutdown 
  problemGuys, I start Tomcat 3.1 perfectly and when I 
  run Shutdown.bat script, the Java window is still on with the following 
  content: 
  Out of environment space Out of environment space Out of 
  environment space Out of environment 
  space Out of environment space Using classpath: 
  C:\Tomcat\classes;C:\Tomcat\lib\webserver.jar Stop tomcat Exception in thread 
  "main" java.lang.NoClassDefFoundError: org/xml/sax/DocumentH andler     at 
  java.lang.ClassLoader.defineClass0(Native Method)     at 
  java.lang.ClassLoader.defineClass(Unknown Source)     at 
  java.security.SecureClassLoader.defineClass(Unknown Source)     at 
  java.net.URLClassLoader.defineClass(Unknown Source)     at 
  java.net.URLClassLoader.access$100(Unknown Source)     at 
  java.net.URLClassLoader$1.run(Unknown Source)     at 
  java.security.AccessController.doPrivileged(Native Method)     at 
  java.net.URLClassLoader.findClass(Unknown Source)     at 
  java.lang.ClassLoader.loadClass(Unknown Source)     at 
  sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)     at 
  java.lang.ClassLoader.loadClass(Unknown Source)     at 
  java.lang.ClassLoader.loadClassInternal(Unknown Source)     at 
  org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:180)     at 
  org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130)     at 
  org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163) 
  Looks like something wrong with configuration of JVM? Why still "Out of 
  environment space if I've set the Initial environment memory property to 
  recommended 2816? Second question is why I can't run .jsp file in browser 
  when offline? (W98, T/C 3.1 as standalone) 
  I've searched the mailinglist archive and several FAQs on the topic but 
  found nothing helpful. Did anybody encounter with same problem? Any 
  suggestions will be appreciated. Tom.