how to implement single instance of web application
        Posted  
        
            by 
                Lalchand
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Lalchand
        
        
        
        Published on 2011-05-12T12:56:23Z
        Indexed on 
            2011/06/22
            0:24 UTC
        
        
        Read the original article
        Hit count: 566
        
I want to run only one instance of my web-application which is deployed in tomcat 5.5 how to implement it.
for example if the system has 2 tomcat server each having the web application name xxx i don't want the two application run in parallel only one should run at a time.
suppose if the user access the index.jsp inside tomcat 1 and after that when he try to access the index.jsp from tomcat 2 it should n't happen
© Server Fault or respective owner