[Resin-interest] Automatic Restart Question
We have multiple webapps in our 4.0.16 configuration and would like to be able make changes to our resin.xml file without causing all of the webapps to restart. Can we somehow disable the automatic restart after detecting a change to the resin.xml? If we do that, we can stop/start the individual webapps from the admin screens, but will restarting an individual webapp reload the resin.xml just for that webapp (without interrupting service on the other webapps)? Or will it continue to use whatever resin.xml configuration parameters are loaded into memory? Thanks, Aaron ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Automatic Restart Question
Ah I wasn't using good search criteria on Google. After more searching I found that it's about setting these properly: web-app-default redeploy-modemanual/redeploy-mode jspauto-compiletrue/auto-compile/jsp /web-app-default Still not sure if this will allow a restarted webapp to see the new conf settings independently but at least I can test that now. Thanks, Aaron On 4/7/2011 9:56 AM, Aaron Freeman wrote: We have multiple webapps in our 4.0.16 configuration and would like to be able make changes to our resin.xml file without causing all of the webapps to restart. Can we somehow disable the automatic restart after detecting a change to the resin.xml? If we do that, we can stop/start the individual webapps from the admin screens, but will restarting an individual webapp reload the resin.xml just for that webapp (without interrupting service on the other webapps)? Or will it continue to use whatever resin.xml configuration parameters are loaded into memory? Thanks, Aaron ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] difference between host attributes id and host-name
On 04/06/2011 06:36 PM, Keith Fetterman wrote: In resin 4.0.16, what is the difference between thehost tag attributes id and host-name? Are they the same thing? In the documentation it says: http://www.caucho.com/resin-4.0/reference.xtp#host id - primary host name host-name - Canonical host name I don't think I have come across an example in Resin's documentation where thehost tag uses the id attribute. Normally, you should use host-name and ignore id. id is primarily for backward compatibility, although it is used for the internal version tag (/production/webapps/host-id/webapp-id) and for JMX, so theoretically you could have a different id for administration purposes (not sure why, though.) -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] difference between host attributes id and host-name
On 04/07/2011 10:34 AM, Scott Ferguson wrote: On 04/06/2011 06:36 PM, Keith Fetterman wrote: In resin 4.0.16, what is the difference between thehost tag attributes id and host-name? Are they the same thing? In the documentation it says: http://www.caucho.com/resin-4.0/reference.xtp#host id - primary host name host-name - Canonical host name I don't think I have come across an example in Resin's documentation where thehost tag uses the id attribute. Normally, you should use host-name and ignore id. id is primarily for backward compatibility, although it is used for the internal version tag (/production/webapps/host-id/webapp-id) and for JMX, so theoretically you could have a different id for administration purposes (not sure why, though.) Also, id= is the default host, which matches everything. For redirects, if you want a canonical name for the default host, you'll need to have id= host-name=example.com. -- Scott -- Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest