Re: Restarting TOMCAT

2001-07-23 Thread Dmitri Colebatch
Your problem is that you are stopping tomcat, which shuts down the jvm, and then you are trying to start it again. Because the jvm has exited, it never starts it again. I'm not sure if this will work, but you could do a system exec that forks into another process, and sleeps for a bit (long en

Re: Restarting TOMCAT

2001-07-31 Thread Hariharasubramanian Ranganathan
- Original Message - From: "Dmitri Colebatch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 10:49 AM Subject: Re: Restarting TOMCAT > Your problem is that you are stopping tomcat, which shuts down the jvm, > and then you are trying

RE: Restarting Tomcat??

2001-02-07 Thread Vikramjit Singh
yes u have to stop tomcat whenever u compile the bean or the servlet. bye > -Original Message- > From: Jurrius, Mark [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, February 06, 2001 12:58 PM > To: [EMAIL PROTECTED] > Subject: Restarting Tomcat?? > > I'm using Tomcat 3.2 with Microsoft

RE: restarting tomcat

2004-03-30 Thread Rob Ross
That's a great question! I was about to ask a very similar question myself. If you make changes to a JSP file, that means that file has to be recompiled, first to a .java file, then by javac to a .class file, which is really a Servlet. So, does changing a JSP file mean the Tomcat web app to which

RE: restarting tomcat

2004-03-30 Thread Karl Coleman
I don't know the "why's". I just know that a change to a JSP doesn't require a restart but a change to a class file does. Karl > > That's a great question! I was about to ask a very similar > question myself. > > If you make changes to a JSP file, that means that file has to be > recompiled, firs

Re: restarting tomcat

2004-03-30 Thread Duncan Krebs
t; Sent: Tuesday, March 30, 2004 10:43 PM Subject: RE: restarting tomcat > I don't know the "why's". I just know that a change to a JSP doesn't require > a restart but a change to a class file does. > > Karl > > > > > That's a great question

RE: restarting tomcat

2004-03-30 Thread Rob Ross
> -Original Message- > From: Duncan Krebs [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 30, 2004 8:51 PM > To: Tomcat Users List > Subject: Re: restarting tomcat > > > I also know that there are different types of debugging modes > that you can > run T

Re: restarting tomcat

2004-03-30 Thread Duncan Krebs
. I don't see why this would not carry over to Tomcat5. - Duncan - Original Message - From: "Rob Ross" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 30, 2004 10:55 PM Subject: RE: restarting tomcat

RE: restarting tomcat

2004-03-30 Thread Rob Ross
ECTED] > Sent: Tuesday, March 30, 2004 10:06 PM > To: Tomcat Users List > Subject: Re: restarting tomcat > > > Rob, > I know with using ECLIPSE and Tomcat4x you can run 'catalina > jpda start' > from a command prompt and be able to walk through your >

RE: restarting tomcat

2004-03-31 Thread Adam Buglass
essing, unless I hear something > definitive, that they too require the web app to be reloaded. > > Rob > > > > > -Original Message- > > From: Duncan Krebs [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 30, 2004 10:06 PM > > To: Tomcat Users List

Re: restarting tomcat

2004-03-31 Thread Tim Funk
Changed items can be re-loaded on the fly because of dynamic classloading. Every JSP instance lives in its own classloader. When a jsp source file is changed, the JSP servlet recognizes the change and recompiles the JSP. Once the JSP is translated to a new .java (and .class file) - the class fil

RE: restarting tomcat programatically

2002-06-12 Thread Marek, Tomas
Try to call shell/DOS script (startup.bat/sh) from Java. tom -Original Message- From: Ankit [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 8:36 AM To: [EMAIL PROTECTED] Subject: restarting tomcat programatically hi, i am trying to restart tomcat from my web application. Is th

Re: restarting tomcat programatically

2002-06-12 Thread Ravishankar S
riginal Message - From: "Marek, Tomas" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 12:24 PM Subject: RE: restarting tomcat programatically > Try to call shell/DOS script (startup.bat/sh) from Java.

RE: restarting tomcat programatically

2002-06-13 Thread Shapira, Yoav
Howdy, If your own webapp is running on the tomcat instance you're trying to restart, then HUH? ;) One VM can always restart another, as others have proposed. So you can have a command line program, shell scripts, another webapp running on another tomcat instance, etc. Alternatively, look at ho

Re: Restarting Tomcat/Apache

2001-08-13 Thread Vladimir Grishchenko
Had the same problem, never figured out how to get rid of it. I used it stand alone. -V. - Original Message - From: "Simon Hardingham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 13, 2001 10:27 AM Subject: Restarting Tomcat/Apache > Hi, > > I am having problems re

Re: Restarting Tomcat/Apache

2001-08-13 Thread Jan Labanowski
You have to have the ajp12 instantiated in server.xml file just for shutdown, even if you do not use it in workers.properties Just copy the ajp13 connector stuff and change ajp12 -> ajp13 It usually helps... On Mon, 13 Aug 2001, Simon Hardingham wrote: > Hi, > > I am having problems restarting

Re: Restarting Tomcat/Apache

2001-08-13 Thread Mike McGuinness
I use jave just about the exact same configuration and I don't have the problems you state. I have noticed that if I restart tomcat *without* restarting apache, there are problems. To restart I use the following script: #!/bin/bash /usr/apache/bin/apachectl stop sleep 2 /usr/jakarta/dist/tomcat/

RE: Restarting Tomcat/Apache

2001-08-15 Thread Simon Hardingham
TECTED] > Subject: Re: Restarting Tomcat/Apache > > > I use jave just about the exact same configuration and I > don't have the > problems you state. I have noticed that if I restart tomcat *without* > restarting apache, there are problems. > > To restart I use the fo

RE: Restarting Tomcat/Apache

2001-08-15 Thread James Bromberger
[EMAIL PROTECTED]] > Sent: 13 August 2001 21:13 > To: [EMAIL PROTECTED] > Subject: Re: Restarting Tomcat/Apache > > > I use jave just about the exact same configuration and I > don't have the > problems you state. I have noticed that if I restart tomcat *without* >

RE: restarting Tomcat 4

2002-02-14 Thread Thanh Duong
Hi, to start tomcat in a separate window use "$CATALINA_HOME/bin/catalina.sh start" to stop tomcat use "$CATALINA_HOME/bin/catalina.sh stop" It works fine so you don't need to wait for ending the tomcat process. Bye Thanh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PR

Re: restarting Tomcat 4

2002-02-15 Thread Christos Karras
It works fine if you wait long enough between calling the stop and start script, but not if you write a "restart" script which calls "catalina.sh start" and immediately after, "catalina.sh stop", because then there's no delay between the two, and tomcat doesn't have the time to shutdown before you

RE: restarting tomcat without restarting ;)

2002-07-09 Thread andre . powroznik
There is a manager application well described in the doc ;-) -Original Message- From: Jakarta Tomcat Newsgroup [mailto:[EMAIL PROTECTED]] Sent: 09 July 2002 16:40 To: [EMAIL PROTECTED] Subject: restarting tomcat without restarting ;) Subject: restarting tomcat without restarting ;) From

Re: restarting tomcat without restarting ;)

2002-07-09 Thread rsequeira
Set the reloadable attribute of the Context element in your server.xml to true RS jakarta-tom on 07/09/2002 09:40:02 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:[EMAIL PROTECTED] cc: Subject:restarting tomcat without restarting ;) Subject: restarting tomcat w

RE: Restarting Tomcat on NT

2001-07-02 Thread William Kaufman
Maybe you didn't really kill off Tomcat, but just the DOS box it was running in,... (I've seen it happen after closing the DOS box, but not after Ctrl+C'ing the program.) Try bringing up the Task Manager, and make sure there aren't any instances of a "java" image name running.

RE: Restarting Tomcat on NT

2001-07-02 Thread Steven Turoff
I've already tried that. Tomcat is dead, alright. Is there a way to explicitly free up a port on NT? At 06:04 PM 07/02/2001, you wrote: >Maybe you didn't really kill off Tomcat, but just the DOS box it was running >in,... (I've seen it happen after closing the DOS box, but not after >Ctrl+C'ing

RE: Restarting Tomcat on NT

2001-07-03 Thread Randy Layman
f [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 02, 2001 7:34 PM > To: [EMAIL PROTECTED] > Subject: RE: Restarting Tomcat on NT > > > I've already tried that. Tomcat is dead, alright. Is there a way to > explicitly free up a port on NT? > > At 06:04 PM 07/02/2001, you w

RE: Restarting Tomcat on NT

2001-07-03 Thread Steven Turoff
mine which ports are currently in use (and their state). > > Randy > > > -Original Message- > > From: Steven Turoff [mailto:[EMAIL PROTECTED]] > > Sent: Monday, July 02, 2001 7:34 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Restarting Tomcat on NT > >

RE: Restarting Tomcat on NT

2001-07-03 Thread Darrell Porter
EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 5:30 AM To: [EMAIL PROTECTED] Subject: RE: Restarting Tomcat on NT Actually, I'm not running Tomcat as a service. I meant that I don't have any problems starting Tomcat after rebooting the machine. I've run netstat -a (results below)

RE: Restarting Tomcat on NT

2001-07-03 Thread Steven Turoff
process dies. > > > > Also, 2000 (and I believe NT) ship with netstat. Using "netstat >-a" > >you can determine which ports are currently in use (and their state). > > > > Randy > > > > > -Original Message- > > &

RE: restarting tomcat in production

2005-07-25 Thread Robert Harper
The best practice is to find the "leak" and fix it. Restarting is a cover up to a problem that may cause bigger problems down the road as the project scope increases. You "can" do this but it only hides the real problem and if someone replicates you site and forgets to write or enable the script, t

Re: restarting tomcat in production

2005-07-26 Thread Christoph Kutzinski
Agreed, and if you have any session information and the session can't be (for whatever reason) be de/serialized, it would indeed be a very bad idea to restart tomcat. Christoph Robert Harper wrote: The best practice is to find the "leak" and fix it. Restarting is a cover up to a problem that

RE: Restarting Tomcat via Ant

2005-08-08 Thread Raghupathy,Gurumoorthy
http://localhost:8080/manager/stop?path=/Learning"; username="adminUserName" password="adminPassword"/> ${STOPOUTPUT} http://localhost:8080/manager/start?path=/Learning";

RE: Restarting Tomcat on NT - Solved

2001-07-14 Thread Steven Turoff
t;Darrell >> >> >>-Original Message- >>From: Steven Turoff [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, July 03, 2001 5:30 AM >>To: [EMAIL PROTECTED] >>Subject: RE: Restarting Tomcat on NT >> >> >>Actually, I'm not running To

RE: Restarting Tomcat without restarting Apache

2003-06-03 Thread John Corrigan
If that is the case then I believe that the docs would be incorrect. I often restart Tomcat without restarting Apache. -Original Message- From: softspt [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 1:32 AM To: [EMAIL PROTECTED] Subject: Restarting Tomcat without restarting Apache

Re: Restarting Tomcat without restarting Apache

2003-06-03 Thread John Turner
You can start/stop each independently. I do it all the time. You may encounter errors in Apache's logs, if it is in the middle of trying to satisfy a request to Tomcat, but Tomcat is restarted before the request can complete. The cleanest way to do this, for stops, is: stop Apache, then stop

Re: Restarting Tomcat without restarting Apache

2003-06-04 Thread Bill Barker
If you are using the mod_jk from 3.2.x, then this is true. Any more recent version allows you to restart Tomcat independently of Apache. You can even simply upgrade mod_jk, and continue to use TC 3.2.x if you want. "softspt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Protective

RE: Restarting Tomcat without restarting Apache

2003-06-05 Thread softspt
Protective Marking: UNCLASSIFIED Thanks for the replies; sounds like I needn't have worried so much :-) * This Email and any files transmitted with it is intended solely for the use of the individual or entity to whom the

Re: Restarting tomcat from web page

2003-12-04 Thread Tim Funk
I have heard of this done by using a second webserver with perl installed and then using Perl Win32 calls from webserver A to webserver B to restart the server. You could always run the other webserver on a high protected port so you don't need a second box. -Tim Altug B. Altintas wrote: Hi

RE: Restarting tomcat from web page

2003-12-04 Thread Shapira, Yoav
Howdy, Restarting all of tomcat or just selected webapps? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Altug B. Altintas [mailto:[EMAIL PROTECTED] >Sent: Thursday, December 04, 2003 10:57 AM >To: Tomcat Users List >Subject: Restarting tomcat from web page > >Hi >Ho

Re: Restarting tomcat from web page

2003-12-04 Thread Rodrigo Ruiz
The only way to restart a Windows service is through native code. You could use JNDI, or Runtime.exec() to run a "net stop & net start" script, or a perl script, or a vbs one... there are many options here :-) Apart from protecting the page, I would also implement a first step with a countdown,

Re: Restarting tomcat from web page

2003-12-05 Thread Altug B. Altintas
it doesn't matter, but restarting all of tomcat much better. - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 04, 2003 6:03 PM Subject: RE: Restarting tomcat from

RE: Restarting tomcat from web page

2003-12-05 Thread Shapira, Yoav
Millennium ChemInformatics >-Original Message- >From: Altug B. Altintas [mailto:[EMAIL PROTECTED] >Sent: Friday, December 05, 2003 4:21 AM >To: Tomcat Users List >Subject: Re: Restarting tomcat from web page > >it doesn't matter, but restarting all of tomcat much

Re: Restarting tomcat from web page

2003-12-08 Thread Altug B. Altintas
hi, could u please give an example ? - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 05, 2003 4:09 PM Subject: RE: Restarting tomcat from web page Howdy, It does matter

Re: Restarting Tomcat Every After Every Update?

2002-08-16 Thread Jacob Kjome
Hello fredrik, You can use the manager task to reload the app without restarting the server. See the manager docs. Jake Friday, August 16, 2002, 3:03:58 PM, you wrote: ftc> Hello, ftc> Do I need to restart tomcat every time I update a class/bean? ftc> This is so frustrating! ftc> /Fredrik

RE: restarting tomcat by calling runtime.exec on a .bat file (tc 3.2.4)

2002-02-04 Thread Randy Layman
If you call "net stop tomcat" (which effectively does a System.exit), how will the Java process be around to call "net start tomcat"? (Answer, it won't). Randy > -Original Message- > From: Matt Egyhazy [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 02, 2002 6:24