Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: wrong version of Tomcat

Martin Gainty

2007-01-02

Replies:

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" <Leon.VanderMerwe@(protected)>
To: "Tomcat Users List" <users@(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:mgainty@(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" <Leon.VanderMerwe@(protected)>
To: <users@(protected)>
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
leon.vandermerwe@(protected)
<mailto:a.koekmoer@(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
#####################################################################################
©2008 junlu.com - Jax Systems, LLC, U.S.A.