Leon van der Merwe a écrit : > Hi Martin, > > Thanks but its running on Solaris 10... > > I did see that the web.xml file has the following entry: > > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > <web-app> > This tells container to use J2EE 2.3 compliant rules > And not: > > <web-app xmlns="http://java.sun.com/xml/ns/j2ee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" > version="2.4"> > This tells container to use J2EE 2.4 compliant rules > The environment variable seems to be pointing to the right tomcat version. > > Just started with company and things are a bit of a mess(SSL errors, mapping > errors etc). > > What is the implication of above? Can I just change it? > No, changing between 2.3 and 2.4 is likely to break your webapp, you will need to adapt a bit your web application. Going 2.3 -> 2.4 is likely to require only structural changes to web.xml, while 2.4 -> 2.3 change can break lots of things.
BTW tomcat version numbers are in server/lib/catalina.jar!org/apache/catalina/util/ServerInfo.properties:server.number=5.5.20.0 server/lib/catalina.jar!org/apache/catalina/util/ServerInfo.properties:server.info=Apache Tomcat/5.5.20 > Much appreciated > > Leon > > -----Original Message----- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: 02 January 2007 03:47 PM > To: Tomcat Users List > Subject: Re: wrong version of Tomcat > > > Hello Leon > > I found this in the registry- HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software > Foundation\Tomcat\5.5\Version > 5.5.17 > Please confirm or > are you running Nix? > > M- > --------------------------------------------------------------------------- > This e-mail message (including attachments, if any) is intended for the use > of the individual or entity to which it is addressed and may contain > information that is privileged, proprietary , confidential and exempt from > disclosure. If you are not the intended recipient, you are notified that any > dissemination, distribution or copying of this communication is strictly > prohibited. > --------------------------------------------------------------------------- > Le présent message électronique (y compris les pièces qui y sont annexées, le > cas échéant) s'adresse au destinataire indiqué et peut contenir des > renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le > destinataire de ce document, nous vous signalons qu'il est strictement > interdit de le diffuser, de le distribuer ou de le reproduire. > ----- Original Message ----- > From: "Leon van der Merwe" <[EMAIL PROTECTED]> > To: <users@tomcat.apache.org> > Sent: Tuesday, January 02, 2007 8:15 AM > Subject: wrong version of Tomcat > > > My company upgraded their Tomcat version from 4.1.x... to 5.5.x > > The version of Tomcat that is displayed as part of the 404(page not > > found) error page is wrong, still displaying the previous version. Where does > Tomcat get/set the version number like 5.5.20? It seems to not be in the > server.xml file. > > Thanks > > Leon > > > FinSource > A Maitland group company > Celebrating 30 years (1976 - 2006) > > FinSource (Pty) Ltd > 22 Leeuwen Street, Cape Town, 8001 > PO Box 3149, Cape Town, 8000 > > Tel: +27 (0)21 480 8600 > Direct Line: +27 (0)21 480 8710 > Fax: +27 (0)21 480 8700 > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > www.finsourcegroup.com > > BVI Cape Town Dublin Durban Geneva Isle of Man Johannesburg > London Luxembourg Paris > > ************************************************************************ > ************************************************************** > This e-mail is confidential and may also be privileged. If you are not the > intended recipient, please delete from your system and notify the sender now; > you may not use, disclose, distribute or copy it. Anyone who communicates > with us by e-mail is taken to accept the risks in so doing. E-mails are > subject to data corruption, delay, interception and unauthorised amendment. > Nothing in the message is capable of or intended to create any legally > binding obligation and it is not intended to provide legal advice. > ************************************************************************ > ************************************************************** > > > > > > > > ##################################################################################### > This e-mail message has been scanned for Viruses and Content and cleared > by FinSource Infrastructure Services' MailMarshal > ##################################################################################### > ##################################################################################### > This e-mail message has been scanned for Viruses and Content and cleared > by FinSource Infrastructure Services' MailMarshal > ##################################################################################### > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]