Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:

Go Back   Caucho Forums > Resin

Thread Tools Display Modes
Old 08-14-2013, 09:24 PM
arunprabu arunprabu is offline
Junior Member
Join Date: Jul 2013
Posts: 2
Default Resin 4.0: How to disable auto restart on Jar changes

We recently upgraded to resin 4.0. Overall we are in good shape except for couple of issues.

1. Every time a jar with change is pushed to the classpath folder, resin automatically restarts. This causes a problem for us because, all of our servers get restarted at the same time since we have a script which pushes the jar to all servers.
I have removed jvm-classpath and have put classpath in the env variable. didn't help.
I have tried adding redeploy-mode set to manual in web-app and in host configurations. didn't help.
We have a bunch of jar files with a servlet implementation. All the jars are in classpath and we point the servlet configuration to one of the classes.

Also is there a way to execute a shell script when the resin automatically shutsdown and restarts? We would like to take the server out of rotation from the load balancer until it comes back up.

Here is my host configuration. I have generalized the names for privacy.
<host id="" root-directory=".">
- webapps can be overridden/extended in the resin.xml
<web-app id="/" root-directory="webapps/ROOT">
<servlet-mapping url-pattern='/service/*' servlet-name='servlet-name'/>
<server id="">

Any pointers on this would be appreciated.

Reply With Quote

auto-restart, disable, jar, update

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:16 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.