Tomcat Graceful Shutdown

Hi,

Using 657 build with Tomcat 4.0.6 (LE edition for jdk 1.4), everything works fine so far but I noticed when I stop running tomcat it actually terminates the process instead of proper shutdown.

Is this a plug-in bug or that's the way Idea terminates running processes?

Regards

Serge

0

Yes, this is currently the way IDEA terminates processes that were started
by it.
Are there any problems with such approach?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Sergiy Proskuryakov" <spro@net2voice.com> wrote in message
news:7322545.1034199462157.JavaMail.jrun@is.intellij.net...

Hi,

>

Using 657 build with Tomcat 4.0.6 (LE edition for jdk 1.4), everything

works fine so far but I noticed when I stop running tomcat it actually
terminates the process instead of proper shutdown.
>

Is this a plug-in bug or that's the way Idea terminates running processes?

>

Regards

>

Serge



0
Avatar
Sergiy Proskuryakov

There is,

all active Http Sessions have to be serialized on shutdown and restored on the next startup which obviously does not happen when you terminate a process.

0

Well, it is true, but IDEA starts Tomcat only for testing/debugging
purposes, thus this functionality is not critical.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Sergiy Proskuryakov" <spro@net2voice.com> wrote in message
news:3133145.1034525888054.JavaMail.jrun@is.intellij.net...

There is,

>

all active Http Sessions have to be serialized on shutdown and restored on

the next startup which obviously does not happen when you terminate a
process.
>


0
Avatar
Sergiy Proskuryakov

Well, I'm not quite agree...

Having serialized session I can resume debuging having all data in place. (e.g. open browser, reach specific page, keep browser open, stop Tomcat, make a fix, start Tomcat, carry on with the same session and DATA in it)

What about J2EE servers, is Idea will be killing them too? I'm 100% positive people will be dealing with data loss (not being put into persistent storage).

My point is - extend plugin API so it can intercept process termination and do proper shutdown (where available)

Regards

Serge

0

Everything is ok about API extension.
Please submit us a request.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Sergiy Proskuryakov" <spro@net2voice.com> wrote in message
news:5992932.1034696189341.JavaMail.javamailuser@localhost...

Well, I'm not quite agree...

>

Having serialized session I can resume debuging having all data in place.

(e.g. open browser, reach specific page, keep browser open, stop Tomcat,
make a fix, start Tomcat, carry on with the same session and DATA in it)
>

What about J2EE servers, is Idea will be killing them too? I'm 100%

positive people will be dealing with data loss (not being put into
persistent storage).
>

My point is - extend plugin API so it can intercept process termination

and do proper shutdown (where available)
>

Regards

>

Serge



0
Avatar
Sergiy Proskuryakov

Thankx for the quick response.

Request submitted into Plugins forum.

Serge

0

Please submit requests to our tracking system, not forums.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Sergiy Proskuryakov" <spro@net2voice.com> wrote in message
news:2634323.1034699476150.JavaMail.javamailuser@localhost...

Thankx for the quick response.

>

Request submitted into Plugins forum.

>

Serge



0

请先登录再写评论。