Re: Wrong version of Tomcat
Leon, Check your environment Variables, Make sure it is pointing to the right Tomcat Version. HTH, Regards, Bruno On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote: 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 # -- Bruno Vilardo MFG/Pro Admin Database Specialist QAD Brazil Office - 55 11 5508-2700 Mobile - 55 11 -8869 [EMAIL PROTECTED]
RE: Wrong version of Tomcat
Thanks Bruno will have a look! -Original Message- From: Bruno Vilardo [mailto:[EMAIL PROTECTED] Sent: 02 January 2007 03:20 PM To: Tomcat Users List Subject: Re: Wrong version of Tomcat Leon, Check your environment Variables, Make sure it is pointing to the right Tomcat Version. HTH, Regards, Bruno On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote: 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 ## ### -- Bruno Vilardo MFG/Pro Admin Database Specialist QAD Brazil Office - 55 11 5508-2700 Mobile - 55 11 -8869 [EMAIL PROTECTED] # 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]
Re: wrong version of Tomcat
In the web.xml: The servlet api must be set with something like: web-app version=2.4 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; Instead of old DTD. On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote: 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 # -- Souviens-toi qu'au moment de ta naissance tout le monde était dans la joie et toi dans les pleurs. Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs et toi dans la joie.
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 #
Re: wrong version of Tomcat
Leon is not asking for the dtd-version but for the Tomcat-version. It looks as if one of the environment-entries ($CATALINA_HOME i.e.) is still pointing to the old version. cheers greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: wrong version of Tomcat
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 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 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? 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]
Re: wrong version of Tomcat
Just a quick shot from the hip, are you sure your error page isn't customized in the web.xml ? leon On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote: 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 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 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? 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]
RE: wrong version of Tomcat
Hi Leon, I am pretty certain but just to be sure here is the web.xml file. Thanks Leon -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 02 January 2007 04:04 PM To: Tomcat Users List Subject: Re: wrong version of Tomcat Just a quick shot from the hip, are you sure your error page isn't customized in the web.xml ? leon On 1/2/07, Leon van der Merwe [EMAIL PROTECTED] wrote: 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 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 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? 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
Re: wrong version of Tomcat
Leon sounds like you have an interesting challenge ahead of you! with regards to XML version Gregs post is applicable as your immediate concern is to make sure your $CATALINA_HOME is correct (however when you start parsing XML files you will need to specify a valid xmlns and xmlns:xsi xsi:schemaLocation and Version for parsing XML files) If 2 or more items are improperly configured it is probably *best* to reinstall and transcribe each configuration item (JVM, CATALINA_HOME etc..) Of course If you get stuck feel free to ask here Bedankt! Martin -- --- 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: Tomcat Users List users@tomcat.apache.org; Martin Gainty [EMAIL PROTECTED] Sent: Tuesday, January 02, 2007 8:56 AM Subject: RE: wrong version of Tomcat 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 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 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? 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
Re: wrong version of Tomcat
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
RE: wrong version of Tomcat
MUCH appreciated Martin, Have a great day! Leon -Original Message- From: david.delbecq [mailto:[EMAIL PROTECTED] Sent: 02 January 2007 04:24 PM To: Tomcat Users List Subject: Re: wrong version of Tomcat 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
RE: Wrong version of Tomcat
From: Leon van der Merwe [mailto:[EMAIL PROTECTED] Subject: Wrong version of Tomcat The version of Tomcat that is displayed as part of the 404(page not found) error page is wrong, still displaying the previous version. You need to find out what mechanism starts Tomcat on your server, and make sure that is using the later version of Tomcat. The startup mechanism could be a script or a jsvc daemon; whatever is initiating Tomcat appears to not have been changed when you did the upgrade. Where does Tomcat get/set the version number like 5.5.20? The normal place is: org/apache/catalina/util/ServerInfo.properties which is in server/lib/catalina.jar. This is created during the Tomcat build from values in build.properties.default. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wrong version of Tomcat
Leon, in case you're stuck: - How do you start / stop tomcat? - Maybe you want to post the startup-script? That might contain some valuable hints. Cheers Greg -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]