tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Tomcat Web App - Strange Issue - Need 2 restarts for SSO mode to work
Date Fri, 03 Sep 2010 06:31:59 GMT

Tomcat ver 5.0.19
JVM 1.5
Linux platform
No exceptions in logs
Single SIgn On mode works through a load balancer
Normal mode URL hits the individual server directly
In below mail, the jsp name was put incorrectly. It is always invoking

>From the web.xml I infer that if listings or 404 error will be displayed
based on settings in defaultServlet settings, if the welcome files are
missing. Now the question is welcome file (myapp.jsp) is present in
webapps/WEB-INF/jsp diretcory of application. Why does it not find the same
first time and why will it find it after one mroe restart


n828cl wrote:
>> From: Sunil A V [] 
>> Subject: Tomcat Web App - Strange Issue - Need 2 restarts for SSO mode to
>> work
> Tomcat version?  JVM level?  Platform?  Anything of interest in the Tomcat
> logs?
>> The web application is available through 2 modes of links -
>> one is regular without load balacer and other is Single Sign
>> On based through load balancer.
> Please explain how that is configured.  Are they completely separate
> Tomcat instances on different boxes?
>> Deployment Procedure:
>> Stop the server
>> Copy the new war to webapps replacing the old one
>> remove the complete diretcory of MyApp recursively (rm -rf MyApp)
>> start the server
> Should be ok, although it's a bit heavy-handed.
>> We try both the links of application.
> What is a "link"?
>> Please note the web.xml in Tomcat/webapps/MyApp/WEB-INF directory has
>> below
>> <welcome-file-list>
>> <welcome-file>myapp.jsp</welcome-file>
>> </welcome-file-list>
> Which leaves directory listings enabled for the webapp.
>> The application has only myapp.jsp and none of index.* files
>> Tomcat might not be finding xcard.jsp
> Why would it?  Based on your description of the file contents, there is no
> xcard.jsp, just a myapp.jsp.
>  - Chuck
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message