On Apr 23, 2014, at 4:42 AM, Nitin Kumar <nitin.raja...@gmail.com> wrote:

> Hi Mark,
> 
> Thanks for the quick reply. I will give you the example which we use
> 
> Application1 is deployment in tomcat and up and running. We want to install
> application2. Following are the steps:
> 
> Stop Tomcat
> Install application2 vial RPM install to tomcat Webapps directory
> Start Tomcat
> 
> We have some issue in bean initialization through Spring applicationContext
> during startup. So application deployment fails. In this case Tomcat don't
> start for us.
> 
> If I understood correctly from the answer that it should not be this way.
> Tomcat should start with application1.
> 
> Please let me know if I am missing anything here or something we can check

What version of Tomcat are you using?  There are a lot of 7.0.x versions.

Have you set org.apache.catalina.startup.EXIT_ON_INIT_FAILURE to true?

  http://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html#Other

Dan

> 
> With Regards,
> Nitin
> 
> 
> On Wed, Apr 23, 2014 at 12:08 PM, Mark Thomas <ma...@apache.org> wrote:
> 
>> On 23/04/2014 04:40, Nitin Kumar wrote:
>>> Hi,
>>> 
>>> We are using tomcat 7.X for our project. So far we deploy only one
>>> application in tomcat.
>>> 
>>> Now we are planning to deploy one more application with existing one.
>>> 
>>> There is requirement that failure of deployment of new application should
>>> not affect existing application deployment and tomcat startup. As per my
>>> understanding, If any application deployment fails, Tomcat startup will
>>> fail.
>> 
>> You understanding is not correct.
>> 
>>> Please let us know if there is any way to start the tomcat in case of
>>> failure of one application deployment also.
>> 
>> That is the default behaviour.
>> 
>> Mark
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to