Sorry! Miss tomcat version for the customer Valve issue!
Hi all, My tomcat version is 5.0.30 and JDK 1.4.2_08 on Windows XP. I want to add customer valve which extends ValveBase. I want it to be invoked after the AuthenticatorBase Valve(like BasicAuthenticator, DigestAuthenticator, FormAuthenticator, NonLoginAuthenticator, SSLAuthenticator). Can I achieve it? I have try to put my Valve definition in my webapp Context, server.xml's Host and Engine. But my valve always be invoked before the AuthenticatorBase Valve. Any help would be very appreciated! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Version detection
Hi Steve: When Tomcat is started, the version number appears in Catalina.log. regards, Hari Mailvaganam On 6/20/05, Steve Vanspall [EMAIL PROTECTED] wrote: Hi there, I am running tomcat under linux, unfortunately can't remember whether it is 4.1.24 or 4.1.31, which made me relise, I don't know how to find out. When i look at the logs it jsut says Tomcat 4.1 unlike on windows where it actually gives the full version number. So where would i look to find the tomcat version? Regards Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Version detection
Steve Vanspall wrote: Hi there, I am running tomcat under linux, unfortunately can't remember whether it is 4.1.24 or 4.1.31, which made me relise, I don't know how to find out. When i look at the logs it jsut says Tomcat 4.1 unlike on windows where it actually gives the full version number. So where would i look to find the tomcat version? http://my-tomcat-server:my-tomcat-port/manager/html/list Gives you a nice overview unless you removed the tomcat manager application. (If you've never used that application you might have to edit $TOMCAT_HOME/conf/tomcat-users.xml beforehand). Apart from that you can also compare md5sums of the jar-files agains both distributions. -- With Kind Regards / Mit freundlichem Gruß Holger Klawitter (listen at klawitter dot de) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Version detection
Hi there, I am running tomcat under linux, unfortunately can't remember whether it is 4.1.24 or 4.1.31, which made me relise, I don't know how to find out. When i look at the logs it jsut says Tomcat 4.1 unlike on windows where it actually gives the full version number. So where would i look to find the tomcat version? Regards Steve
Re: Tomcat Version
The only, but inconvenient way, I have found is to stop/start Tomcat and look at the 'catalina.out' log file. The Tomcat version number is written to the log file on start-up. cheers, Hari Mailvaganam On Sat, 11 Dec 2004 14:40:10 -0800, Billy Ng [EMAIL PROTECTED] wrote: Hi folks, Is there any way to find out the tomcat version from the command line? Thanks! Billy Ng - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Version
http://jakarta.apache.org/tomcat/faq/misc.html#version -Tim Billy Ng wrote: Hi folks, Is there any way to find out the tomcat version from the command line? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Version
Hi folks, Is there any way to find out the tomcat version from the command line? Thanks! Billy Ng - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hiding tomcat version numbers
I was told by someone that there was a way to hide the tomcat version numbers on error pages without coding the change everywhere. Does anyone know how do to this? Confidentiality Notice: OCIESERVICE - The contents of this e-mail message and any attachments are intended solely for the addressee(s) named in this message. This communication is intended to be and to remain confidential. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and its attachments. Do not deliver, distribute, copy, disclose the contents or take any action in reliance upon the information contained in the communication or any attachments. - Mark Claassen Donnell Systems, Inc. 300 S. St. Louis Blvd. Ste. 203 South Bend, IN 46617 E-mail: mailto:[EMAIL PROTECTED] Voice: (574)232-3784 Fax: (574)232-4014 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Upgrade Tomcat version in OS X Server
Hi list, OK I've just taken possession of a G5 X Serve running OS X 10.3.4 Server. This version comes with Tomcat 4x but I really want to upgrade to Tomcat 5x. I have installed the binaries under /usr/local and created a sym from the existing install in /Library/Tomcat Tomcat still shows as the old 4x version so this don't seem to be working. I'm also going to want to run the new version of Tomcat with JBoss. Do any of you good people have any pointers ideas on how to best accomplish this, considering also that this will be a running as a shared hosting web server. Any pointers greatly appreciated. TIA Jason Lane Developer Root10 developments http://www.root10.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Upgrade Tomcat version in OS X Server
http://homepage.mac.com/melowe/iblog/B141099555/C760077128/E969031629/ index.html On 1 Jul 2004, at 16:04, Jason Lane wrote: Hi list, OK I've just taken possession of a G5 X Serve running OS X 10.3.4 Server. This version comes with Tomcat 4x but I really want to upgrade to Tomcat 5x. I have installed the binaries under /usr/local and created a sym from the existing install in /Library/Tomcat Tomcat still shows as the old 4x version so this don't seem to be working. I'm also going to want to run the new version of Tomcat with JBoss. Do any of you good people have any pointers ideas on how to best accomplish this, considering also that this will be a running as a shared hosting web server. Any pointers greatly appreciated. TIA Jason Lane Developer Root10 developments http://www.root10.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Version and Mod_jk2
Does Tomcat version 4.0.3 support mod_jk2? Thanks Asif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
No response from my servlet on tomcat( running on W2K tomcat version 4.1.29)
Hi everybody, I have no Idee how to administrate tomcat and there is no configuration error because it was working before very well since I've changed the code of my servlet ;-) My tomcat administrator isn't in the office for several days. I'm using eclipse as IDE and ANT for the build prozess (SDK version is 1.4.2_01). How can I see the process running on tomcat or how can I debug servlet on tomcat? Best regards. Karim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Detecting Tomcat version in Ant
Is it possible to detect the version of Tomcat that the user has in Ant? I have the following Ant task: !-- === -- !--Setup Tomcat 4.1 -- !-- === -- target name=setup-tomcat if=tomcat.home description=copies jdbc driver and context.xml to tomcat echo level=infoCopying database JDBC Driver to ${tomcat.home}/common/lib/echo copy todir=${tomcat.home}/common/lib file=${database.jar}/ echo level=infoCopying ${webapp.name}.xml to ${tomcat.home}/webapps/echo copy tofile=${tomcat.home}/webapps/${webapp.name}.xml file=metadata/web/tomcat-context.xml / /target Copying the tomcat-context.xml file to $CATALINA_HOME/webapps/${webapp.name}.xml will only work on Tomcat 4.1.x. For Tomcat 5.0.x, it needs to go in $CATALINA_HOME/conf/Catalina/localhost/. I'd like to auto-detect Tomcat 5 and deploy to the appropriate place. Is there a class I can check for or something? Thanks, Matt smime.p7s Description: S/MIME cryptographic signature
Re: Detecting Tomcat version in Ant
Way 1: Look at properties file: org/apache/catalina/util/ServerInfo.properties Way 2: Cehck for the existence of a class that you know exists in tomcat5 but not tomcat 4. Use one of the ways above to set a property to let you know the tomcat version. I'm not sure which way would be easier at the moment. -Tim Matt Raible wrote: Is it possible to detect the version of Tomcat that the user has in Ant? I have the following Ant task: !-- === -- !--Setup Tomcat 4.1 -- !-- === -- target name=setup-tomcat if=tomcat.home description=copies jdbc driver and context.xml to tomcat echo level=infoCopying database JDBC Driver to ${tomcat.home}/common/lib/echo copy todir=${tomcat.home}/common/lib file=${database.jar}/ echo level=infoCopying ${webapp.name}.xml to ${tomcat.home}/webapps/echo copy tofile=${tomcat.home}/webapps/${webapp.name}.xml file=metadata/web/tomcat-context.xml / /target Copying the tomcat-context.xml file to $CATALINA_HOME/webapps/${webapp.name}.xml will only work on Tomcat 4.1.x. For Tomcat 5.0.x, it needs to go in $CATALINA_HOME/conf/Catalina/localhost/. I'd like to auto-detect Tomcat 5 and deploy to the appropriate place. Is there a class I can check for or something? Thanks, Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 and tomcat version 3.1
can mod_jk2 be used with tomcat version 3.1? Peter Choe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk2 and tomcat version 3.1
I don't know about 3.1, but if you mean 3.3.1, then the answer is yes. Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] can mod_jk2 be used with tomcat version 3.1? Peter Choe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat version
I have a link on a page in my JSP application that is supposed to open an Excel file. The link is a href=taxCalc.xls target=_blankTax Calculator/a. If the application runs on Tomcat 4.1.24, it works fine. A new browser window opens, the excel file gets downloaded and opens up in the browser. But, if I run the application on another instance of Tomcat which is 4.0.3, the excel file does not open, instead it shows a lot of junk characters in the browser. What could be the reason for this? Thanks, Gautam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat version
At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml -Original Message- From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 13:36 To: [EMAIL PROTECTED] Subject: Tomcat version I have a link on a page in my JSP application that is supposed to open an Excel file. The link is a href=taxCalc.xls target=_blankTax Calculator/a. If the application runs on Tomcat 4.1.24, it works fine. A new browser window opens, the excel file gets downloaded and opens up in the browser. But, if I run the application on another instance of Tomcat which is 4.0.3, the excel file does not open, instead it shows a lot of junk characters in the browser. What could be the reason for this? Thanks, Gautam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat version
Please tell me how to set the mime type. -Original Message- From: Tom Lyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 6:56 PM To: Tomcat Users List Subject: RE: Tomcat version At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml -Original Message- From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 13:36 To: [EMAIL PROTECTED] Subject: Tomcat version I have a link on a page in my JSP application that is supposed to open an Excel file. The link is a href=taxCalc.xls target=_blankTax Calculator/a. If the application runs on Tomcat 4.1.24, it works fine. A new browser window opens, the excel file gets downloaded and opens up in the browser. But, if I run the application on another instance of Tomcat which is 4.0.3, the excel file does not open, instead it shows a lot of junk characters in the browser. What could be the reason for this? Thanks, Gautam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat version
I added the following and it seems to be working fine. mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping Thanks a lot, Tom! -Original Message- From: Aggarwal, Gautam (IE03) Sent: Tuesday, November 18, 2003 7:18 PM To: Tomcat Users List Subject: RE: Tomcat version Please tell me how to set the mime type. -Original Message- From: Tom Lyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 6:56 PM To: Tomcat Users List Subject: RE: Tomcat version At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml -Original Message- From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 13:36 To: [EMAIL PROTECTED] Subject: Tomcat version I have a link on a page in my JSP application that is supposed to open an Excel file. The link is a href=taxCalc.xls target=_blankTax Calculator/a. If the application runs on Tomcat 4.1.24, it works fine. A new browser window opens, the excel file gets downloaded and opens up in the browser. But, if I run the application on another instance of Tomcat which is 4.0.3, the excel file does not open, instead it shows a lot of junk characters in the browser. What could be the reason for this? Thanks, Gautam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat version
Assuming that tomcat 4.0.3 s web.xml layout is the same as as 4.1.24 try adding mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping to conf/web.xml and restart Tomcat -Original Message- From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 13:48 To: Tomcat Users List Subject: RE: Tomcat version Please tell me how to set the mime type. -Original Message- From: Tom Lyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 6:56 PM To: Tomcat Users List Subject: RE: Tomcat version At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml -Original Message- From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 13:36 To: [EMAIL PROTECTED] Subject: Tomcat version I have a link on a page in my JSP application that is supposed to open an Excel file. The link is a href=taxCalc.xls target=_blankTax Calculator/a. If the application runs on Tomcat 4.1.24, it works fine. A new browser window opens, the excel file gets downloaded and opens up in the browser. But, if I run the application on another instance of Tomcat which is 4.0.3, the excel file does not open, instead it shows a lot of junk characters in the browser. What could be the reason for this? Thanks, Gautam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat version 3 certificates?
G'day all, Earlier today we were advised by a bod from another section in our organisation that there is a known compatibility issue with Tomcat and version 3 certificates. Apparently he had been advised of this from someone at Verisign. Does such an issue really exist and if so is it solely a Tomcat issue or is it a result of something not quite working correctly in a particular JDK version? I find it a bit hard to believe that this claim is true. However as I'm no expert in the area I thought I'd pose the question before dismissing it out of hand. If such issues do exist I'd like to know where to find further information relating to the situation, scenario and/or workarounds. Thanks if you can shed some light on this one! AB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat version 3 certificates?
I've never Adrian Beech [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] G'day all, Earlier today we were advised by a bod from another section in our organisation that there is a known compatibility issue with Tomcat and version 3 certificates. Apparently he had been advised of this from someone at Verisign. Does such an issue really exist and if so is it solely a Tomcat issue or is it a result of something not quite working correctly in a particular JDK version? I find it a bit hard to believe that this claim is true. However as I'm no expert in the area I thought I'd pose the question before dismissing it out of hand. If such issues do exist I'd like to know where to find further information relating to the situation, scenario and/or workarounds. Thanks if you can shed some light on this one! AB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat version 3 certificates?
Sorry about the last post, hit the wrong key. I've never had problems using V3 certs with Tomcat (at least using a 1.4 JVM). (Ok, I'm lying: there was a bug using PureTLS with certain V3 certs at one point). In any case, Tomcat delegates cert handling to JSSE, so any problems would be with all Java programs. Adrian Beech [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] G'day all, Earlier today we were advised by a bod from another section in our organisation that there is a known compatibility issue with Tomcat and version 3 certificates. Apparently he had been advised of this from someone at Verisign. Does such an issue really exist and if so is it solely a Tomcat issue or is it a result of something not quite working correctly in a particular JDK version? I find it a bit hard to believe that this claim is true. However as I'm no expert in the area I thought I'd pose the question before dismissing it out of hand. If such issues do exist I'd like to know where to find further information relating to the situation, scenario and/or workarounds. Thanks if you can shed some light on this one! AB - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat version
Hi folks, Is there any api to get the tomcat version? Thanks! Billy Ng
Re: Tomcat version
Howdy, ServletContext#getServerInfo() This is a FAQ, search the archives before you post. Yoav Shapira --- Billy Ng [EMAIL PROTECTED] wrote: Hi folks, Is there any api to get the tomcat version? Thanks! Billy Ng = Yoav Shapira [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Finding exact Tomcat version
Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as 4.1. So, when I check for the current version, I receive 4.1 which could represent 4.1.3 or 4.1.24, etc. Is there anyway to determine the exact version that is installed on a PC. I need to verify that 4.1.24 is installed. Thanks alot _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Finding exact Tomcat version
http://tomcatfaq.sourceforge.net/miscellaneous.html -Original Message- From: Jon Felmey [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 11:31 AM To: [EMAIL PROTECTED] Subject: Finding exact Tomcat version Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as 4.1. So, when I check for the current version, I receive 4.1 which could represent 4.1.3 or 4.1.24, etc. Is there anyway to determine the exact version that is installed on a PC. I need to verify that 4.1.24 is installed. Thanks alot _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Finding exact Tomcat version
One way: In a properties file: org.apache.catalina.util.ServerInfo.properties propertyname: server.info -Tim Jon Felmey wrote: Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as 4.1. So, when I check for the current version, I receive 4.1 which could represent 4.1.3 or 4.1.24, etc. Is there anyway to determine the exact version that is installed on a PC. I need to verify that 4.1.24 is installed. Thanks alot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Finding exact Tomcat version
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 10:50 AM To: Tomcat Users List Subject: RE: Finding exact Tomcat version http://tomcatfaq.sourceforge.net/miscellaneous.html That won't help, since the Installer needs to know, not the webapp. What is it about 4.1.24 that makes it required? A bug fix? The presence of certain jar file versions ? I'm just trying to think of a way that maybe with the entry for CATALINA_HOME (from the registry) plus file name checking, you might be able to 'fake it'. Having said that, the easiest (and surest) way would be to let the thing install, and have your application coded to check the version like Yoav suggests. JIRA for example (www.atlassian.com) when it starts up will check what container its running in, and if it detects tomcat then it shuts off transactions. I'm sure the run-time checking scheme is probably used quite a bit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Finding exact Tomcat version
Tim, Thanks for your help. One more question. Is there any way to get the version from the command line? Thanks, Jon From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Finding exact Tomcat version Date: Thu, 03 Jul 2003 11:52:02 -0400 One way: In a properties file: org.apache.catalina.util.ServerInfo.properties propertyname: server.info -Tim Jon Felmey wrote: Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as 4.1. So, when I check for the current version, I receive 4.1 which could represent 4.1.3 or 4.1.24, etc. Is there anyway to determine the exact version that is installed on a PC. I need to verify that 4.1.24 is installed. Thanks alot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Finding exact Tomcat version
1) Extract file: jar xf ???/catalina.jar org/apache/catalina/util/ServerInfo.properties 2) Use you favorite file parsing thingy (grep, perl, awk, c, ??) to parse ServerInfo.properties OR Write a simple java program and have catalina.jar in your classpath: main(...) { String version = org.apache.catalina.util.ServerInfo.getServerInfo(); System.out.println(version); } -Tim Jon Felmey wrote: Tim, Thanks for your help. One more question. Is there any way to get the version from the command line? Thanks, Jon From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Finding exact Tomcat version Date: Thu, 03 Jul 2003 11:52:02 -0400 One way: In a properties file: org.apache.catalina.util.ServerInfo.properties propertyname: server.info -Tim Jon Felmey wrote: Hi, I am creating an install file using InstallAnywhere. Our program requires Tomcat 4.1.24. The problem is that in the registry all Tomcat 4.1.x are refered to as 4.1. So, when I check for the current version, I receive 4.1 which could represent 4.1.3 or 4.1.24, etc. Is there anyway to determine the exact version that is installed on a PC. I need to verify that 4.1.24 is installed. Thanks alot - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to choose a Tomcat version
Is there a general rule of thumb for choosing which version of Tomcat to use? With servlet/jsp 2.3/1.2 specs you go for 4.0 or 4.1, but which branch and why? And furthermore, which version within the branch? I often see installations stuck at 4.0.4 - why don't they upgrade to newer versions? My tendency would be to always get the latest (4.1.24), but seeing that so many installations get stuck on earlier versions, I assume there is a good reason for, or is it just the old don't fix it if it is not broken rule? __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to choose a Tomcat version
Howdy, Is there a general rule of thumb for choosing which version of Tomcat to use? With servlet/jsp 2.3/1.2 specs you go for 4.0 or 4.1, but which branch and why? And furthermore, which version within the branch? Latest stable: 4.1.24 at this point. I often see installations stuck at 4.0.4 - why don't they upgrade to newer versions? Ask them ;) My guesses would be similar to yours: - If it's not broken, don't fix it - Lack of manpower / desire to update Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to choose a Tomcat version
I would add that in many cases third-party JARs require a specific version of the JDK, which can cause problems when you want to upgrade. John On Thu, 19 Jun 2003 09:13:21 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Is there a general rule of thumb for choosing which version of Tomcat to use? With servlet/jsp 2.3/1.2 specs you go for 4.0 or 4.1, but which branch and why? And furthermore, which version within the branch? Latest stable: 4.1.24 at this point. I often see installations stuck at 4.0.4 - why don't they upgrade to newer versions? Ask them ;) My guesses would be similar to yours: - If it's not broken, don't fix it - Lack of manpower / desire to update Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat version number appears in header
Hi. The problem I am trying to solve is that the tomcat version number apears in the header of pages served by tomcat: HTTP/1.1 301 Moved Date: Fri, 04 Apr 2003 14:55:47 GMT Content-Type: text/html Location: my url Content-Length: 206 Servlet-Engine: Tomcat Web Server/3.3a Final ( JSP 1.1; Servlet 2.2 ) I have set the reportedname attribute in the Http10Connector in my server.xml file : Http10Connector port=8080 secure=false maxThreads=100 maxSpareThreads=50 minSpareThreads=10 reportedname = / As far as I can tell, there are no additional configuration files being used, and I have restarted the tomcat service (several times), while experimenting with modfiying and removing several tags in the server.xml file, but the version # continues to appear. Any suggestions? Thanks in advance, Tim O'Dowd
RE: tomcat version number appears in header
I am sorry to repost, but I did not recieve any responses to my original because I was subscribed with a different email address. My question is, how can I prevent the tomcat version information from appearing in a the response header? I am using the ajp12Connector between IIS and tomcat. Is there a tomcat or possibly IIS config for this? So far, I have tried adding reportedName = to the http10connector, as well as the ajp12Connector, but the line: Servlet-Engine: Tomcat Web Server/3.3a Final ( JSP 1.1; Servlet 2.2 ) still appears in the header. Thanks Again. And I apologize for reposting. Tim O'Dowd
How to determine Tomcat version
Hi, Is there a way to programmatically identify which version of Tomcat you have installed? I originally just checked the header in the RELEASE-NOTES file, but this file does not exist in all Tomcat versions. Thanks, Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to determine Tomcat version
Hi, a call to getServerInfo() on the ServletContext should provide you with what you want.. Steven Shand On Wednesday, March 5, 2003, at 08:30 pm, Joe Weeden wrote: Hi, Is there a way to programmatically identify which version of Tomcat you have installed? I originally just checked the header in the RELEASE-NOTES file, but this file does not exist in all Tomcat versions. Thanks, Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to determine Tomcat version
check the manager app. http://tomcatserver/manager/html At 03:30 PM 3/5/2003, you wrote: Hi, Is there a way to programmatically identify which version of Tomcat you have installed? I originally just checked the header in the RELEASE-NOTES file, but this file does not exist in all Tomcat versions. Thanks, Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Version
Hello, Can anyone help me how to figure out which tomcat version is installed. I need to know if it is 4.1.12 or 4.1.18? Thanks Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Version
Howdy, grep $CATALINA_HOME/logs/catalina.out for lines starting with Apache Tomcat. The full version will be there. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 9:31 AM To: [EMAIL PROTECTED] Subject: Tomcat Version Hello, Can anyone help me how to figure out which tomcat version is installed. I need to know if it is 4.1.12 or 4.1.18? Thanks Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Version
try this: http://localhost:8080 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 25 Subat 2003 Sali 16:30 Subject: Tomcat Version Hello, Can anyone help me how to figure out which tomcat version is installed. I need to know if it is 4.1.12 or 4.1.18? Thanks Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Have a jakarta-tomcat version question
I have downloaded the jakarta tomcat version 4.1.18 I was reading the documentation from the link provided on this page http://wwfcanon.panda.org/index.jsp Now when I did that I read the introduction and now on the install and running part. I clicked on that link: http://wwfcanon.panda.org/tomcat-docs/RUNNING.txt Now I saw installing and running the version 4.0 I just want to know before I read the installation file and setup tomcat that wondering if this is the correct version. Because doesn't version 4.1.18 mean version 4.1? Thanks just want to make sure i'm doing the right thing. Thanks George __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Have a jakarta-tomcat version question
Howdy, Use either the docs on the tomcat site (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html) or the ones that ship with your distribution. Yoav Shapira Millennium ChemInformatics -Original Message- From: george mouyios [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 8:41 AM To: [EMAIL PROTECTED] Subject: Have a jakarta-tomcat version question I have downloaded the jakarta tomcat version 4.1.18 I was reading the documentation from the link provided on this page http://wwfcanon.panda.org/index.jsp Now when I did that I read the introduction and now on the install and running part. I clicked on that link: http://wwfcanon.panda.org/tomcat-docs/RUNNING.txt Now I saw installing and running the version 4.0 I just want to know before I read the installation file and setup tomcat that wondering if this is the correct version. Because doesn't version 4.1.18 mean version 4.1? Thanks just want to make sure i'm doing the right thing. Thanks George __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Have a jakarta-tomcat version question
The link you provided has Running The Tomcat 4.0 Servlet/JSP Container under Install and Run - Just a little wrinkle on documentation. Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Use either the docs on the tomcat site (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html) or the ones that ship with your distribution. Yoav Shapira Millennium ChemInformatics -Original Message- From: george mouyios [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 8:41 AM To: [EMAIL PROTECTED] Subject: Have a jakarta-tomcat version question I have downloaded the jakarta tomcat version 4.1.18 I was reading the documentation from the link provided on this page http://wwfcanon.panda.org/index.jsp Now when I did that I read the introduction and now on the install and running part. I clicked on that link: http://wwfcanon.panda.org/tomcat-docs/RUNNING.txt Now I saw installing and running the version 4.0 I just want to know before I read the installation file and setup tomcat that wondering if this is the correct version. Because doesn't version 4.1.18 mean version 4.1? Thanks just want to make sure i'm doing the right thing. Thanks George __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
Tomcat version 4
Is there a way to record errors I am getting on the Dos screen? After I start up Tomcat and I try to run a servlet I receive a list of errors on the Tomcat Dos screen and I need to save these to send them to our programmer. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat version 4
Check the Tomcat log files, in CATALINA_HOME/logs. Typically, you'll want the file that has a name of the form: hostname_log.-MM-DD.txt Provided the logger defaults haven't been changed. You can also look for files stdout.log and stderr.log for messages from Tomcat itself (like startup confirmation, etc). John -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 5:32 PM To: Tomcat Users List (E-mail) Subject: Tomcat version 4 Is there a way to record errors I am getting on the Dos screen? After I start up Tomcat and I try to run a servlet I receive a list of errors on the Tomcat Dos screen and I need to save these to send them to our programmer. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat version 4
John, You say there is a patch for Tomcat that will fix this redirect thing ... or at least allow me to configure it to not redirect like this? Great! Do you know specifically which patch this is? Is there any documentation that you know of regarding the patches ability to tweak this behavior? Thanks. Neal -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 3:37 PM To: 'Tomcat Users List' Subject: RE: Tomcat version 4 Check the Tomcat log files, in CATALINA_HOME/logs. Typically, you'll want the file that has a name of the form: hostname_log.-MM-DD.txt Provided the logger defaults haven't been changed. You can also look for files stdout.log and stderr.log for messages from Tomcat itself (like startup confirmation, etc). John -Original Message- From: Reis, Tom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 5:32 PM To: Tomcat Users List (E-mail) Subject: Tomcat version 4 Is there a way to record errors I am getting on the Dos screen? After I start up Tomcat and I try to run a servlet I receive a list of errors on the Tomcat Dos screen and I need to save these to send them to our programmer. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tomcat version numbering (Was: HttpServletRequest.isSecure()fails...)
Steinar Bang [EMAIL PROTECTED]: Steinar Bang [EMAIL PROTECTED]: Do the 4.1.13 and 4.1.14 versions you refer to, exist as separate branches in the CVS? Or is 4.1.13 a branch, and 4.1.14-to-be HEAD? Not sure if they are branch tags, but there are tags named TOMCAT_4_1_13 and TOMCAT_4_1_14. If one looks at the distribution directory of tomcat, it is easy to get confused. It contains the directories: v4.0.5/ 09-Oct-2002 07:28- v4.0.6/ 08-Oct-2002 08:27- v4.1.12/02-Oct-2002 03:01- v4.1.15-alpha/ 14-Nov-2002 00:48- Ie. there's a 4.1.12, no 4.1.13, or 4.1.14, but instead a 4.1.15 that is marked alpha. The immediate question is: is this an alpha of a final 4.1.15 release? Or is 4.1.15 an alpha release of the final version of 4.1.x? A bit of googling found me URL:http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0208/tmct-020879/tmct02082620_30399.html And I guess the answer is sort of the first one, and sort of the last one. Ie. if 4.1.15-alpha turns out to be a stable release, the -alpha will be yanked from the version number, and 4.1.15 will become a production release. However, if 4.1.15 isn't found good enough, it will be completely yanked from the distribution directory, and consigned to the scrapheap of history. And then a new version 4.1.16-alpha will be announced. I'm still a little confused, but I guess that whatever 4.1.x with x=14 is finally released, will have a working HttpServletRequest.isSecure() when using the Coyote Ajp1.3 connector. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat version numbering (Was: HttpServletRequest.isSecure()fails...)
On Wed, 20 Nov 2002, Steinar Bang wrote: If one looks at the distribution directory of tomcat, it is easy to get confused. It contains the directories: v4.0.5/ 09-Oct-2002 07:28- v4.0.6/ 08-Oct-2002 08:27- v4.1.12/02-Oct-2002 03:01- v4.1.15-alpha/ 14-Nov-2002 00:48- Ie. there's a 4.1.12, no 4.1.13, or 4.1.14, but instead a 4.1.15 that is marked alpha. The immediate question is: is this an alpha of a final 4.1.15 release? Or is 4.1.15 an alpha release of the final version of 4.1.x? A bit of googling found me URL:http://www.faqchest.com/prgm/tomcat-l/tmct-02/tmct-0208/tmct-020879/tmct02082620_30399.html And I guess the answer is sort of the first one, and sort of the last one. Ie. if 4.1.15-alpha turns out to be a stable release, the -alpha will be yanked from the version number, and 4.1.15 will become a production release. Yep. However, if 4.1.15 isn't found good enough, it will be completely yanked from the distribution directory, and consigned to the scrapheap of history. And then a new version 4.1.16-alpha will be announced. I'm still a little confused, but I guess that whatever 4.1.x with x=14 is finally released, will have a working HttpServletRequest.isSecure() when using the Coyote Ajp1.3 connector. Tomcat 4.1 is following the same basic release policy that the Apache HTTPD server, and several other Jakarta projects, are using. Milestone releases happen regularly, and go out with a default state of alpha. After some evaluation time, the milestones might get voted (by the committers, based on user feedback) as beta or general release quality. There is not any such thing as the final release of 4.1.x (until people stop working on it, which would only happen if a subsequent 4.2.x or 5.0.x release was pretty solid) -- only the latest production release, which is currently 4.1.12. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat version output
I am using.. Linux and i dont get this output..! when i start in console. just. Using CATALINA_BASE: /var/jakarta/tomcat4.0.6 Using CATALINA_HOME: /var/jakarta/tomcat4.0.6 Using CATALINA_TMPDIR: /var/jakarta/tomcat4.0.6/temp Using JAVA_HOME: /var/java The thing is.. i am settin up website.. where i can see..what versions are running at any given time.. and this output i get here dont help much.. .. :( But there must be some way to grep what version is running, at given time. Regards Siggi -Original Message- From: Reynir Hübner [mailto:reynir;hugsmidjan.is] Sent: 17. október 2002 13:16 To: Tomcat Users List Subject: RE: Tomcat version output When I start tomcat up on commandline I get messages like this : C:\_tomcat2\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\eplica\java 17.10.2002 13:16:09 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 17.10.2002 13:16:09 org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance 17.10.2002 13:16:09 org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer 17.10.2002 13:16:10 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.12 I think it's like that with most versions. Hope it helps -reynir -Original Message- From: Sigurður Bjarnason [mailto:siggi;betware.com] Sent: 17. október 2002 13:10 To: Tomcat (E-mail) Subject: Tomcat version output Is there a way in tomcat to see what version of tomcat is running .. like in apache you can do .. # ./httpd -version ?? anyone ? regards Siggi -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat version output
Hello, Sigurður Bjarnason, I recently ran into this problem, as well. I found a solution that works nicely with all web-servers (Tomcat, JRun, Weblogic, etc...). Probably others have emailed you with this solution, but in case they haven't: First, create the following jsp: getServerInfo.jsp --- html body %= application.getServerInfo() % /body /html --- Then access it however you can, assuming your webserver is running. At work we use lynx, eg. lynx http://localhost:8080/getServerInfo.jsp. There are some flags you can use to make lynx just dump the output on std-out. Another possibility is Curl, or even Ant's get task. That's it! However, I've added extra information to this email which you may find useful... you may be wondering where this undefined 'application' variable in the jsp comes from! In any jsp you have the following variables already in scope, among others. Here's the link where I found this: http://developer.java.sun.com/developer/onlineTraining/JSPIntro/contents.html#JSPIntro5 request response application out request is an instance of javax.servlet.http.HttpServletRequest. response is an instance of javax.servlet.http.HttpServletResponse. application is an instance of javax.servlet.ServletContext. out is an instance of javax.servlet.jsp.JspWriter. I tend to think of the superclass, java.io.Writer, instead, though. As you can see, ServletContext provides the very useful getServerInfo() method. Here's the link in the J2EE api for ServletContext.getServerInfo(): http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getServerInfo() Good luck! yours, Julius Davies Vancouver, Canada -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat version output
When I start tomcat up on commandline I get messages like this : C:\_tomcat2\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\eplica\java 17.10.2002 13:16:09 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 17.10.2002 13:16:09 org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance 17.10.2002 13:16:09 org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer 17.10.2002 13:16:10 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.12 I think it's like that with most versions. Hope it helps -reynir -Original Message- From: Sigurður Bjarnason [mailto:siggi;betware.com] Sent: 17. október 2002 13:10 To: Tomcat (E-mail) Subject: Tomcat version output Is there a way in tomcat to see what version of tomcat is running .. like in apache you can do .. # ./httpd -version ?? anyone ? regards Siggi -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat version output
Is there a way in tomcat to see what version of tomcat is running .. like in apache you can do .. # ./httpd -version ?? anyone ? regards Siggi -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat version output
if you haven't delete ROOT, look at index.html Charlie -Original Message- From: Sigurður Bjarnason [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 17, 2002 9:23 AM To: Tomcat Users List Subject: RE: Tomcat version output I am using.. Linux and i dont get this output..! when i start in console. just. Using CATALINA_BASE: /var/jakarta/tomcat4.0.6 Using CATALINA_HOME: /var/jakarta/tomcat4.0.6 Using CATALINA_TMPDIR: /var/jakarta/tomcat4.0.6/temp Using JAVA_HOME: /var/java The thing is.. i am settin up website.. where i can see..what versions are running at any given time.. and this output i get here dont help much.. .. :( But there must be some way to grep what version is running, at given time. Regards Siggi -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: 17. október 2002 13:16 To: Tomcat Users List Subject: RE: Tomcat version output When I start tomcat up on commandline I get messages like this : C:\_tomcat2\bincatalina run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\eplica\java 17.10.2002 13:16:09 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 17.10.2002 13:16:09 org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance 17.10.2002 13:16:09 org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer 17.10.2002 13:16:10 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 80 Starting service Tomcat-Standalone Apache Tomcat/4.1.12 I think it's like that with most versions. Hope it helps -reynir -Original Message- From: Sigurður Bjarnason [mailto:[EMAIL PROTECTED]] Sent: 17. október 2002 13:10 To: Tomcat (E-mail) Subject: Tomcat version output Is there a way in tomcat to see what version of tomcat is running .. like in apache you can do .. # ./httpd -version ?? anyone ? regards Siggi -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Which Tomcat version for production environment ?
Thanks to Glenn Nielsen, John Turner and Jon Wingfield for their input on this one - I've decided to stick with the 4.04 release for production right now, but I'll be looking to test 4.1.x for later use (in addition to upgrading my Apache version). Regards, sImon Glenn Nielsen wrote: Although there are those few gotchas when moving from 4.0.4 to 4.1, 4.1.x has much better performance and IMHO is more stable than 4.0.x. And if you use JSP there will be a huge improvement in performance for JSP pages. I have had Tomcat 4.1.x in production for 6 months with Jasper 1, and just recently upgraded it to Jasper 2. This is on a site with 500k page views per month. This also uses Apache 1.3.26 and mod_jk 1.2. I agrree, upgrade to Apache 1.3.26. Regards, Glenn Turner, John wrote: 4.0.4 In addition, upgrade your Apache to 1.3.26. There are numerous fixes and some security fixes between .19 and .26. Don't move to 4.1.x until you have tested it thoroughly, there have already been a few gotchas with 4.1.10. John -Original Message- From: Simon M Pascoe [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 7:52 AM To: [EMAIL PROTECTED] Subject: Which Tomcat version for production environment ? Hi, hopefully a simple question, first some background. I'm about to install Tomcat with mod_jk and Apache 1.3.19 on a server running RedHat Advanced Server 2.1 for production use. I have already setup a very similar test box running Tomcat 4.0.4. Though it hasn't been under much of a load it has been stable for a few months now. My main criteria is that I need 4.x. and I really want to make sure that I'm running the most stable (as opposed to latest and greatest) version of Tomcat on my new server. Anyone out there with reasonable experience in a production environment who could make a recommendation please ? Thanks in advance for any help, sImon Pascoe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Which Tomcat version for production environment ?
Hi, hopefully a simple question, first some background. I'm about to install Tomcat with mod_jk and Apache 1.3.19 on a server running RedHat Advanced Server 2.1 for production use. I have already setup a very similar test box running Tomcat 4.0.4. Though it hasn't been under much of a load it has been stable for a few months now. My main criteria is that I need 4.x. and I really want to make sure that I'm running the most stable (as opposed to latest and greatest) version of Tomcat on my new server. Anyone out there with reasonable experience in a production environment who could make a recommendation please ? Thanks in advance for any help, sImon Pascoe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Which Tomcat version for production environment ?
You've had 4.0.4 in a test environment and is stable. Deploy it. It's the most stable of the 4.0.x tomcat tree. Then put 4.1.x in the test environment and if is stable after system/uat testing migrate your production environment to that release of tomcat. There are a number of implementation changes between 4.0.x and 4.1.x that means web applications may not function exactly as expected on migration. Basically, you need a test/release plan. Hope this helps, Jon -Original Message- From: Simon M Pascoe [mailto:[EMAIL PROTECTED]] Sent: 20 September 2002 12:52 To: [EMAIL PROTECTED] Subject: Which Tomcat version for production environment ? Hi, hopefully a simple question, first some background. I'm about to install Tomcat with mod_jk and Apache 1.3.19 on a server running RedHat Advanced Server 2.1 for production use. I have already setup a very similar test box running Tomcat 4.0.4. Though it hasn't been under much of a load it has been stable for a few months now. My main criteria is that I need 4.x. and I really want to make sure that I'm running the most stable (as opposed to latest and greatest) version of Tomcat on my new server. Anyone out there with reasonable experience in a production environment who could make a recommendation please ? Thanks in advance for any help, sImon Pascoe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Which Tomcat version for production environment ?
4.0.4 In addition, upgrade your Apache to 1.3.26. There are numerous fixes and some security fixes between .19 and .26. Don't move to 4.1.x until you have tested it thoroughly, there have already been a few gotchas with 4.1.10. John -Original Message- From: Simon M Pascoe [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 7:52 AM To: [EMAIL PROTECTED] Subject: Which Tomcat version for production environment ? Hi, hopefully a simple question, first some background. I'm about to install Tomcat with mod_jk and Apache 1.3.19 on a server running RedHat Advanced Server 2.1 for production use. I have already setup a very similar test box running Tomcat 4.0.4. Though it hasn't been under much of a load it has been stable for a few months now. My main criteria is that I need 4.x. and I really want to make sure that I'm running the most stable (as opposed to latest and greatest) version of Tomcat on my new server. Anyone out there with reasonable experience in a production environment who could make a recommendation please ? Thanks in advance for any help, sImon Pascoe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Which Tomcat version for production environment ?
Have a look a the release notes for 4.1.11: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/test/v4.1.11/RELEASE-NOTES -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 20. September 2002 03:09 An: Tomcat Users List Betreff: Re: Which Tomcat version for production environment ? Can you very briefly list some of the gotchas please ? THX ! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Version 4.0.4 Performance Tuning Ques:
HI Folks, I recently performed a Tomcat Upgrade to Version 4.0.4 from version 3. In version 3 the server.xml file I had added following entries as per our environment needs : Parameter name=max_threads value=200/ Parameter name=min_spare_threads calue=10/ Parameter name=max_spare_threads calue=20/ My question is : Are these entries/Parameters still valid in Tomcat Version 4.0.4 .If yes where do I need to add these in server.xml.Are the settings same as version 3 Any help will be greatly appreciated. Thanks Sameer Mohbe -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Confused about Tomcat version numbering
I was trying to figure out which Tomcat 4.1.x I should be downloading, and I got myself totally confused about how the versions are numbered. Looking here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/ I find that 'release' contains v4.1.9-beta, 'nightly' contains nothing at all, and 'archive' contains the following versions: v4.1.0-alpha v4.1.2-alpha v4.1.3-beta v4.1.5 v4.1.6 v4.1.7-beta v4.1.8-beta This leaves me flummoxed. I see no evidence of a 4.1 release at all, only follow-ons to 4.1, which I assume are patch releases, and mostly unfinished ones at that. From the above list, the most recent stable version of the 4.1.x line would appear to be 4.1.6. Is this correct? If not, could someone tell me which one I want, and, preferably, explain the numbering system for me? Also, on the web site, I see mention of Tomcat 5.0.x, not yet released. Where would I find the code base for the ongoing development of that version? Thanks! -- Martin Cooper -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Confused about Tomcat version numbering
Hi Martin, On Mon, 26 Aug 2002, Martin Cooper wrote: Date: Mon, 26 Aug 2002 19:05:17 -0700 From: Martin Cooper [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Confused about Tomcat version numbering I was trying to figure out which Tomcat 4.1.x I should be downloading, and I got myself totally confused about how the versions are numbered. Looking here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/ I find that 'release' contains v4.1.9-beta, 'nightly' contains nothing at all, and 'archive' contains the following versions: v4.1.0-alpha v4.1.2-alpha v4.1.3-beta v4.1.5 v4.1.6 v4.1.7-beta v4.1.8-beta This leaves me flummoxed. I see no evidence of a 4.1 release at all, only follow-ons to 4.1, which I assume are patch releases, and mostly unfinished ones at that. From the above list, the most recent stable version of the 4.1.x line would appear to be 4.1.6. Is this correct? If not, could someone tell me which one I want, and, preferably, explain the numbering system for me? Tomcat 4.1 is using the same release philosphy as the Apache HTTPD server (and several other Apache projects) -- 4.1.x releases are milestones that are released and *then* voted on as to quality. Milestones with showstopper bugs are abandoned; no 4.1 release has yet been voted as general availablility, although 4.1.9 is looking pretty solid. For comparison, it took 35 dot releases (and over two years) to get to a general availability release of Apache 2.0. It shouldn't take that long for Tomcat 4.1 (especially since it's primarily an incremental release off the 4.0 codebase, rather than being a majorly new thing). I'd bet we are not too far away from GA quality on 4.1, but you know how open source works ... Also, on the web site, I see mention of Tomcat 5.0.x, not yet released. Where would I find the code base for the ongoing development of that version? Right now, it's just what you can build from CVS. There's a BUILDING.txt document in jakarta-tomcat-5 that outlines all of the dependencies. Nobody has had time to get nightly builds started yet. Thanks! -- Martin Cooper Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
not able to configure SessionId cookiesFirst=true noCookies=true / in server.xml in tomcat version 4.0.3-LE
Hi tomcat fans, Can someone please point me to the dtd of server.xml for tomcat 4.0.x. I am not able to configure SessionId cookiesFirst=true noCookies=true / in server.xml in tomcat version 4.0.3-LE. I appritiate your help. Thanks, - Manish -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
best combination of jdk and tomcat version(with iplanet)
im to develop a new system w/ iPlanet, jdk, tomcat combination. what was the best combination of jdk and tomcat(version) in terms of stability? im thinking of jdk131 and tomcat 3.4 right now. also the compatibility with iPlanet has to be considered. im not using any new jsp/servlet version(1.2 and 2.3) programs. any suggestions will be appreciated. thanks in advance. __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
strange problem with tomcat version 3.3a
I apologize if I sent this twice.. I don't think it went through the first time! I have been using tomcat for several releases, and have just upgraded my server to version 3.3a and I have noticed a change in the behavior of the logging mechanism. With Tomcat 3.3a, nothing gets written to the JASPER_LOG stream. I have the verbosityLevel set to INFORMATION, which used to cause all request information to get written to this log at release 3.2.1. However, now the file is always zero-byte. It does not seem to matter if I define it globally or within a specific context. I even changed the verbosity level to DEBUG and still *nothing* gets written into this file. I have searched High and Wide over the internet looking for the answer to this problem, and I have not been able to find it. Can anyone help me configure this, please ! Many Thanks!! -Tom C. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: strange problem with tomcat version 3.3a
For performance reasons, Tomcat 3.3 uses the JspInterceptor module instead of Jasper's JspServlet to translate and compile JSP files. Since it was the JspServlet that was providing most of the log output for the INFORMATION level, you don't see any jasper log output when using JspInterceptor. If you set the level to DEBUG, you will see some jasper log output. The JspInterceptor sends Compiling: file to ... messages to the context log. Contexts without an assigned log, as well as other JspInterceptor messages, go to Tomcat's log, which is written to the stderr by default. The /examples context is assigned to a file so you will see Compiling: ... messages in logs/examples.log. However, you are not likely to see any additional log messages unless there is an error or the debug level for JspInterceptor is set 0. Cheers, Larry -Original Message- From: Tomcat Programmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 12:36 PM To: [EMAIL PROTECTED] Subject: strange problem with tomcat version 3.3a I apologize if I sent this twice.. I don't think it went through the first time! I have been using tomcat for several releases, and have just upgraded my server to version 3.3a and I have noticed a change in the behavior of the logging mechanism. With Tomcat 3.3a, nothing gets written to the JASPER_LOG stream. I have the verbosityLevel set to INFORMATION, which used to cause all request information to get written to this log at release 3.2.1. However, now the file is always zero-byte. It does not seem to matter if I define it globally or within a specific context. I even changed the verbosity level to DEBUG and still *nothing* gets written into this file. I have searched High and Wide over the internet looking for the answer to this problem, and I have not been able to find it. Can anyone help me configure this, please ! Many Thanks!! -Tom C. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: strange problem with tomcat version 3.3a
Larry, Thanks very much for your help! This is invaluable information. Do you know if it would be possible to make Tomcat 3.3a use JspServlet instead of JspInterceptor? I am using the Tomcat 3.2.1 engine now for our applications and the preformance is acceptable, so I am assuming that if I could make Tomcat 3.3a use the JspServlet the perfomance would be relatively the same. Is that a valid assumption? If there is anyway to do this I would really appreciate the help. Thanks, Tom C. --- Larry Isaacs [EMAIL PROTECTED] wrote: For performance reasons, Tomcat 3.3 uses the JspInterceptor module instead of Jasper's JspServlet to translate and compile JSP files. Since it was the JspServlet that was providing most of the log output for the INFORMATION level, you don't see any jasper log output when using JspInterceptor. If you set the level to DEBUG, you will see some jasper log output. The JspInterceptor sends Compiling: file to ... messages to the context log. Contexts without an assigned log, as well as other JspInterceptor messages, go to Tomcat's log, which is written to the stderr by default. The /examples context is assigned to a file so you will see Compiling: ... messages in logs/examples.log. However, you are not likely to see any additional log messages unless there is an error or the debug level for JspInterceptor is set 0. Cheers, Larry -Original Message- From: Tomcat Programmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 12:36 PM To: [EMAIL PROTECTED] Subject: strange problem with tomcat version 3.3a I apologize if I sent this twice.. I don't think it went through the first time! I have been using tomcat for several releases, and have just upgraded my server to version 3.3a and I have noticed a change in the behavior of the logging mechanism. With Tomcat 3.3a, nothing gets written to the JASPER_LOG stream. I have the verbosityLevel set to INFORMATION, which used to cause all request information to get written to this log at release 3.2.1. However, now the file is always zero-byte. It does not seem to matter if I define it globally or within a specific context. I even changed the verbosity level to DEBUG and still *nothing* gets written into this file. I have searched High and Wide over the internet looking for the answer to this problem, and I have not been able to find it. Can anyone help me configure this, please ! Many Thanks!! -Tom C. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: strange problem with tomcat version 3.3a
You would modify the JspInterceptor entry in server.xml to say useJspServlet=true. Unfortunately, there is a bug in Tomcat 3.3(a) the prevents this from working by default. This has been fixed in Tomcat 3.3.1-rc1. The bug is that jasper.jar and tools.jar aren't made available to the web application classloader. If you can't upgrade to 3.3.1-rc1 (as stable as 3.3a and fewer bugs), then a temporary workaround can be used if your web application(s) don't have their own XML parser. I believe the following should work: 1. Add jaxpJars=jaxp.jar:crimson.jar:xalan.jar:xerces.jar:jasper.jar to the LoaderInterceptor11 entry in server.xml. This includes jasper.jar with the auto-added XML parser. 2. Copy tools.jar from your jre/lib directory to the lib/apps or lib/common directory in your Tomcat 3.3 installation. Cheers, Larry -Original Message- From: Tomcat Programmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 2:37 PM To: Tomcat Users List Subject: RE: strange problem with tomcat version 3.3a Larry, Thanks very much for your help! This is invaluable information. Do you know if it would be possible to make Tomcat 3.3a use JspServlet instead of JspInterceptor? I am using the Tomcat 3.2.1 engine now for our applications and the preformance is acceptable, so I am assuming that if I could make Tomcat 3.3a use the JspServlet the perfomance would be relatively the same. Is that a valid assumption? If there is anyway to do this I would really appreciate the help. Thanks, Tom C. --- Larry Isaacs [EMAIL PROTECTED] wrote: For performance reasons, Tomcat 3.3 uses the JspInterceptor module instead of Jasper's JspServlet to translate and compile JSP files. Since it was the JspServlet that was providing most of the log output for the INFORMATION level, you don't see any jasper log output when using JspInterceptor. If you set the level to DEBUG, you will see some jasper log output. The JspInterceptor sends Compiling: file to ... messages to the context log. Contexts without an assigned log, as well as other JspInterceptor messages, go to Tomcat's log, which is written to the stderr by default. The /examples context is assigned to a file so you will see Compiling: ... messages in logs/examples.log. However, you are not likely to see any additional log messages unless there is an error or the debug level for JspInterceptor is set 0. Cheers, Larry -Original Message- From: Tomcat Programmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 12:36 PM To: [EMAIL PROTECTED] Subject: strange problem with tomcat version 3.3a I apologize if I sent this twice.. I don't think it went through the first time! I have been using tomcat for several releases, and have just upgraded my server to version 3.3a and I have noticed a change in the behavior of the logging mechanism. With Tomcat 3.3a, nothing gets written to the JASPER_LOG stream. I have the verbosityLevel set to INFORMATION, which used to cause all request information to get written to this log at release 3.2.1. However, now the file is always zero-byte. It does not seem to matter if I define it globally or within a specific context. I even changed the verbosity level to DEBUG and still *nothing* gets written into this file. I have searched High and Wide over the internet looking for the answer to this problem, and I have not been able to find it. Can anyone help me configure this, please ! Many Thanks!! -Tom C. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
J2EE and Tomcat (version 3.3 or ?? )
I need to use some javamail stuff in my app. Is j2ee.jar a replacement for servlet.jar in 3.3 Tomcat? I got some wierd jasper compliation error the other day when I put j2ee.jar in my lib/common directory. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: J2EE and Tomcat (version 3.3 or ?? )
No. The j2ee.jar contains an implementation of Tomcat which will likely conflict with any Tomcat you try to run. Cheers, Larry -Original Message- From: Keith Simpson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:46 AM To: Tomcat Users List Subject: J2EE and Tomcat (version 3.3 or ?? ) I need to use some javamail stuff in my app. Is j2ee.jar a replacement for servlet.jar in 3.3 Tomcat? I got some wierd jasper compliation error the other day when I put j2ee.jar in my lib/common directory. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat version with a working Apache connector?
We've been unable to get Tomcat 4.0.1 to work with Apache 1.3.20, apparently because of this bug in Tomcat's connector for Apache: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5220 In our setup, we cannot reboot Apache at the appropriate times in order to work around this bug. The bug appears to be fixed in CVS: http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/webapp/lib/wa_request.c However, we've been unable to get the CVS code to compile. We can't wait for Tomcat 4.0.2; we desperately need to deploy our web application now. Is there a version of Tomcat that has a working connector for Apache? Benjamin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat version with a working Apache connector?
I use tomcat 3.2.4 with mod_jk to connect to apache 1.3.20-29 And works just fine without having to configure nothing in httpd.conf (just a line pointing to tomcat conf file), as tomcat (this version i guess) generate the conf file. At 20:16 29/1/2002 +, you wrote: We've been unable to get Tomcat 4.0.1 to work with Apache 1.3.20, apparently because of this bug in Tomcat's connector for Apache: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5220 In our setup, we cannot reboot Apache at the appropriate times in order to work around this bug. The bug appears to be fixed in CVS: http://cvs.apache.org/viewcvs/jakarta-tomcat-connectors/webapp/lib/wa_reque st.c However, we've been unable to get the CVS code to compile. We can't wait for Tomcat 4.0.2; we desperately need to deploy our web application now. Is there a version of Tomcat that has a working connector for Apache? Benjamin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Emerson Cargnin TRE-SC Setor de Desenvolvimento Tel: (48) 251-3700 - Ramal 3134 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: freebsd 4.1.1 + JDK 1.1.8 + which tomcat version?
Actually you can find a jdk 1.3 port for freebsd at http://www.freebsd.org/java/ (It is based on the linux version). BoD - Original Message - From: Jamesbond [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 25, 2001 3:23 AM Subject: freebsd 4.1.1 + JDK 1.1.8 + which tomcat version? Hi, On a semi-dedicated freebsd 4.1.1 server I have installed jdk 1.1.8 which seems to be the last official port for freebsd. I am running apache and wish to install tomcat. Since I am running an older jdk version (1.1.8), I am a bit in doubt which tomcat version to go for. I would welcome any advice. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
freebsd 4.1.1 + JDK 1.1.8 + which tomcat version?
Hi, On a semi-dedicated freebsd 4.1.1 server I have installed jdk 1.1.8 which seems to be the last official port for freebsd. I am running apache and wish to install tomcat. Since I am running an older jdk version (1.1.8), I am a bit in doubt which tomcat version to go for. I would welcome any advice. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: freebsd 4.1.1 + JDK 1.1.8 + which tomcat version?
On Sun, 25 Nov 2001, Jamesbond wrote: Date: Sun, 25 Nov 2001 03:23:11 +0100 From: Jamesbond [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: freebsd 4.1.1 + JDK 1.1.8 + which tomcat version? Hi, On a semi-dedicated freebsd 4.1.1 server I have installed jdk 1.1.8 which seems to be the last official port for freebsd. I am running apache and wish to install tomcat. Since I am running an older jdk version (1.1.8), I am a bit in doubt which tomcat version to go for. I would welcome any advice. You aren't going to be able to run Tomcat 4 on this, because it requires a Java2 (JDK 1.2 or later platform). Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: freebsd 4.1.1 + JDK 1.1.8 + which tomcat version?
On Sun, Nov 25, 2001 at 03:23:11AM +0100, Jamesbond wrote: Since I am running an older jdk version (1.1.8), I am a bit in doubt which tomcat version to go for. I think Tomcat 3.3 has maintained 1.1 compatibility. --Jeff -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat Version
Is there any way to get tomcat to return the version/milestone/build date?
RE: Tomcat Version
javax.servlet.ServletContext: getMajorVersion(), getMinorVersion() (returns the version of the JSDK it implements) getServerInfo() (returns a text description of the Tomcat version) -- Bill K. -Original Message- From: Amer Mallah [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 8:20 AM To: '[EMAIL PROTECTED]' Subject: Tomcat Version Is there any way to get tomcat to return the version/milestone/build date?
Tomcat version
Here is kind of a silly question, but how do I determine the version of Tomcat that is running on my Linux machine other than by look at file dates? Also, I need to integrate SSL. Does Tomcat 3.2.2 support SSL? I heard that 3.2b did. Do I need to build the binaries myself or can I download them from somewhere? Thanks, Brian Brian J. Leader [EMAIL PROTECTED] 818-353-5588 P.O. Box 4307 Sunland, CA 91041
RE: Tomcat version
(You know, I just mailed this text _this_morning_,...) javax.servlet.ServletContext: getMajorVersion(), getMinorVersion() (returns the version of the JSDK it implements) getServerInfo() (returns a text description of the Tomcat version) -- Bill K. -Original Message- From: Brian Leader [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 6:01 PM To: '[EMAIL PROTECTED]' Subject: Tomcat version Here is kind of a silly question, but how do I determine the version of Tomcat that is running on my Linux machine other than by look at file dates? Also, I need to integrate SSL. Does Tomcat 3.2.2 support SSL? I heard that 3.2b did. Do I need to build the binaries myself or can I download them from somewhere? Thanks, Brian Brian J. Leader [EMAIL PROTECTED] 818-353-5588 P.O. Box 4307 Sunland, CA 91041
Re: Tomcat version war?
On Thu, 29 Mar 2001, Christian Parpart wrote: Hi, I do not really know, why there're so many different versions of Tomcat out. * Tomcat 3.2.2 beta 2 * Tomcat 3.3 Milestone 2 -- Tomcat 3.x-dev * Tomcat 4.0 beta 1 -- Tomcat 4.0-dev The "-dev" identifies things that are from current CVS sources or nightly builds, so that they can be distinguished from actual milestone or beta releases. The Tomcat 4.0-b1 is a branch on its development version. the same (perhaps) for the 3.3 MS-2, too. But what about the 3.2.2 beta 2? Is that the most stable version of the current Tomcat versions? Tomcat 3.2 is in maintenance mode only, and no new features will be added to it. A release of Tomcat 3.2.2 final will happen soon, but because so many people rely on it for production we're being really cautious about making sure there are no major bugs in this code. Tomcat 3.3 is a (fairly major) refactoring of the 3.2 code base, but still based on supporting the servlet 2.2 and JSP 1.1 specifications. It also runs on JDK 1.1 platforms as well as Java2 platforms. Tomcat 3.3 inherits the relatively stable web connectors so that you can run behind Apache, IIS, or iPlanet web servers. Tomcat 4.0 is the next generation version of Tomcat, and supports the current "proposed final draft" versions of the Servlet 2.3 and JSP 1.2 specifications. It is embedded inside the J2EE 1.3-beta reference implementation, as well as running stand alone. In standalone mode it is quite stable; the web connectors are not yet as mature as the ones in 3.x. Why is the 3.x version currently (hard) in development, when the the newer(?) 4.0 development tree exist? There are probably lots of answers to that question, but I guess a good summary would be "because people want to work on it". For more specific reasons, you'd need to ask the individuals involved. (Full Disclosure: I'm only working on the 4.0 branch.) Wich one is the most active version? How do you measure "most active"? There are lots of people involved, lots of new features and improvements, and lots of CVS commits on both paths. Greetings, Christian Parpart. [EMAIL PROTECTED] Craig McClanahan
Tomcat version war?
Hi, I do not really know, why there're so many different versions of Tomcat out. * Tomcat 3.2.2 beta 2 * Tomcat 3.3 Milestone 2 -- Tomcat 3.x-dev * Tomcat 4.0 beta 1 -- Tomcat 4.0-dev The Tomcat 4.0-b1 is a branch on its development version. the same (perhaps) for the 3.3 MS-2, too. But what about the 3.2.2 beta 2? Is that the most stable version of the current Tomcat versions? Why is the 3.x version currently (hard) in development, when the the newer(?) 4.0 development tree exist? Wich one is the most active version? Greetings, Christian Parpart. [EMAIL PROTECTED]
Re: Tomcat version war?
On Thu, 29 Mar 2001, Christian Parpart wrote: Hi, I do not really know, why there're so many different versions of Tomcat out. * Tomcat 3.2.2 beta 2 * Tomcat 3.3 Milestone 2 -- Tomcat 3.x-dev * Tomcat 4.0 beta 1 -- Tomcat 4.0-dev The Tomcat 4.0-b1 is a branch on its development version. the same (perhaps) for the 3.3 MS-2, too. But what about the 3.2.2 beta 2? Is that the most stable version of the current Tomcat versions? Why is the 3.x version currently (hard) in development, when the the newer(?) 4.0 development tree exist? Wich one is the most active version? Yes, it would be nice to have more definitive info about the differences between the different versions. I do know that 3.2.X (and I assume 3.3.X) implements the 2.2 spec and 4.0.X implements the 2.3 spec, and it sounds like 3.2.X is a little more ready for prime time, but beyond that, I'm not really sure (and I gather things are changing every day). Milt Epstein Research Programmer Software/Systems Development Group Computing and Communications Services Office (CCSO) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]
User Name and Password for Tomcat version 3.2.1
Have been trying to get into the admin part of "Tomcat" but thefile thatholds a number of username/password pairs, does not work. Please let me know as to what the next step would be. John Valentine
RE: User Name and Password for Tomcat version 3.2.1
I believe you need to add the following to tomcat-users.xml, in the tomcat-users section: user name="admin" password="passwordhere" roles="admin" / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Problem with Tomcat version 4.0-m5
I'm using Tomcat Version 3.0 for some time and had no problem. But with Version 4.0-m5 the attached .jsp file doesn't respond as with previos versions or with jswdk. Aqeel __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ cookies.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Problem with Tomcat version 4.0-m5
Aqeel Ahmad wrote: I'm using Tomcat Version 3.0 for some time and had no problem. But with Version 4.0-m5 the attached .jsp file doesn't respond as with previos versions or with jswdk. In order to make sure that this issue gets attention, could you please submit a bug report? http://nagoya.apache.org/bugzilla/ In addition, it would be useful to do two additional things: * Identify the behavior you expect, so that we can tell how what currently happens is different from that. * Try it with Tomcat 4.0-beta-1, to ensure that the problem still exists. Aqeel Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
tomcat version
how can i know what is the version of my tomcat? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: tomcat version
If you have installed Tomcat correctly and got to the Tomcat page through a browser it will say at the top of the page what version you are running. Chris -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: 07 February 2001 14:14 To: [EMAIL PROTECTED] Subject: tomcat version how can i know what is the version of my tomcat? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Finding Tomcat version
Hello All, Our application uses Tomcat. When I install our application on the customer system, I need to find out the Tomcat version. Do you guys know any standard method to find out the Tomcat version by knowing TOMCAT_HOME. Thanks, -Naga
Re: Finding Tomcat version
Nagaraja Prakasam wrote: Hello All, Our application uses Tomcat. When I install our application on the customer system, I need to find out the Tomcat version. Do you guys know any standard method to find out the Tomcat version by knowing TOMCAT_HOME. If you know TOMCAT_HOME, check the contents of page "webapps/ROOT/index.html" -- the title element self-describes what version you are running. Also, you can ask programmatically by calling ServletContext.getServerInfo(). Thanks, -Naga Craig McClanahan
Re: Finding Tomcat version
Nagaraja Prakasam wrote: The best way getServletContext.getServerInfo(); Or look at the Tomcat Admin web page. SKroah Hello All, Our application uses Tomcat. When I install our application on the customer system, I need to find out the Tomcat version. Do you guys know any standard method to find out the Tomcat version by knowing TOMCAT_HOME. Thanks, -Naga -- Sean Kroah T:503.222.9660 F:503.241.5682 WireX Communications, Inc. Software Engineer, [EMAIL PROTECTED]
RE: Finding Tomcat version
If tomcat is running, the easiest way to find the version is to get a directory listing (ie ask for any directory name where there isn't an index file), and look at the bottom for the server version. -Original Message- From: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]] Sent: Thursday, December 14, 2000 8:57 PM To: [EMAIL PROTECTED] Subject: Re: Finding Tomcat version Nagaraja Prakasam wrote: Hello All, Our application uses Tomcat. When I install our application on the customer system, I need to find out the Tomcat version. Do you guys know any standard method to find out the Tomcat version by knowing TOMCAT_HOME. If you know TOMCAT_HOME, check the contents of page "webapps/ROOT/index.html" -- the title element self-describes what version you are running. Also, you can ask programmatically by calling ServletContext.getServerInfo(). Thanks, -Naga Craig McClanahan