Yup, the descriptor is the last element.  As for spaces after ">", my
editor is set to automatically remove trailing spaces on save.

- Rich

-----Original Message-----
From: Christophe Bouhier (ECM)
[mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, June 25, 2002 10:23 PM
To: 'Tomcat Users List'
Subject: RE: New User - Many Questions To Come

Your syntax looks fine, is it at the bottom of the web.xml (just before
</web-app>)?

I noticed the web.xml is really sensitive to spaces placed after ">".
try using an editor which shows spaces (personally I am a Jedit fan). I
had a similar issue where the 
app just failed to start. 

-----Original Message-----
From: Rich [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 11:38 AM
To: Tomcat Users List
Subject: New User - Many Questions To Come

[ My Setup: Win 2k Server; Tomcat 4.0.4; JDK 1.4 ]

When I try and put a session timeout constraint in my web.xml file, the
application will not start.  I place the following code in the <web-app>
(^C^V directly from Tomcat's example):

<session-config>
  <session-timeout>30</session-timeout>
</session-config>

And the app is a no-go.  When I run 'list' in the manager app it says
the root app is stopped and the other apps are fine.

Anyone else experience this and/or have a solution?


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to