Re: Upgrading to Java 1.5

2009-03-26 Thread André Warnier
Caldarale, Charles R wrote: From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Upgrading to Java 1.5 So am I now like Frodo in Lord of the Rings? About to be dissolved by the evil Chuck-spider's venom? ;-) Nope, I bark, but don't bite. Looks like you've done it properly.

Re: Connection errors with mod_proxy_balancer and tomcat 5.5

2009-03-26 Thread Janning Vygen
Hi, it seems this problem is more related to apache and not to tomcat. There might be a race condition with HTTP keepalive. I will ask my questions on the apache mailing list. kind regards Janning On Wednesday 25 March 2009 10:51:55 Janning Vygen wrote: Hi, we encounter some strange errors

Tomcat 5.5 and Mysql 5.0 connectivity

2009-03-26 Thread HARI17785
Hi, i m using tomcat 5.5 and Mysql 5.0. I hav written a CGI script which retrives some infn from database.Now i want to run my CGI script in tomcat5.5 and queries the MySQL db.I m very much new to tomcat 5.5.So pls somebody help me out.Do i need any jar files for this connectivity? Thanks,

Re: Training classes for Apache web server and Tomcat

2009-03-26 Thread Filip Hanik - Dev Lists
there are several companies offering training, including mine, www.springsource.com unique about springsource training classes is that they are taught by committers on the project Filip Jhary wrote: I am looking for good comprehensive training courses for installing, configuring and

Re: Setting Tomcat System Properies **without** -D on Command Line

2009-03-26 Thread Filip Hanik - Dev Lists
this is doable, just enter all your properties in catalina.properties first thing tomcat does is ... System.setProperties( - read catalina.properties - ) ; so you don't need them on the command line Mike Reidy wrote: Hello, I would like to be able to configure system properties at Tomcat

Re: Training classes for Apache web server and Tomcat

2009-03-26 Thread Rainer Jung
On 25.03.2009 22:25, Jhary wrote: I am looking for good comprehensive training courses for installing, configuring and managing the Apache web server and the Tomcat server. Do you know of such classes being offered anywhere? See: http://wiki.apache.org/tomcat/SupportAndTraining Regards,

Re: Upgrading to Java 1.5

2009-03-26 Thread Gregor
+1 @chuck:chocolate's about to be on it's way... ;) gregor Am 26.03.2009 um 08:50 schrieb André Warnier a...@ice-sa.com: Caldarale, Charles R wrote: From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Upgrading to Java 1.5 So am I now like Frodo in Lord of the Rings?

Apache load balancer for windows 2003 (64bit)

2009-03-26 Thread Sandeep Nadkarni
Hi, We are trying to use apache load balancer using mod_jk2. We are not able to find this module for 64bit. We are trying this with both tomcat and websphere. I have surfed a lot but could able to find only 32bit version. Where can I get 64bit version of the same. Details are as Follows :

Re: Session lost when app. is redeployed

2009-03-26 Thread Adriano dos Santos Fernandes
Caldarale, Charles R escreveu: From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Re: Session lost when app. is redeployed I mainly used Lambda Probe. I now also tried: - stop the application - touch the war - start the application - application is undeployed and

Re: Apache load balancer for windows 2003 (64bit)

2009-03-26 Thread Gregor Schneider
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/ Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Re: In server.xml, what if Realm element isn't specified within a Service element?

2009-03-26 Thread Mark Thomas
Je suis la poubelle wrote: This is actually a following to another post of mine titled How to make Tomcat serve/listen to one more port? When I implemented my method of adding a new Service element in server.xml in order to make Tomcat serve one more port, I seem to have

In server.xml, what if Realm element isn't specified within a Service element?

2009-03-26 Thread Je suis la poubelle
This is actually a following to another post of mine titled How to make Tomcat serve/listen to one more port? When I implemented my method of adding a new Service element in server.xml in order to make Tomcat serve one more port, I seem to have user/authentication problem within VMWare

Re: Apache load balancer for windows 2003 (64bit)

2009-03-26 Thread Sandeep Nadkarni
These are for IIS 5 greater.. see the foot note below Apache Tomcat Connectors 1.2.27 for WIN64 AMD64/EMT64 platform Here you'll find the binaries for IIS, Apache and Sun ONE Web Servers. * isapi_redirect.dll is for IIS 5 and later Web Server. * isapi_redirect-chunking.dll is for

Re: Session lost when app. is redeployed

2009-03-26 Thread Adriano dos Santos Fernandes
Caldarale, Charles R escreveu: Try updating your logging.properties to set the logging level for your webapp to FINE, restart Tomcat, and then do your procedure again. Use something like this: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/appName].level = FINE

Re: Apache load balancer for windows 2003 (64bit)

2009-03-26 Thread Mladen Turk
Sandeep Nadkarni wrote: These are for IIS 5 greater.. see the foot note below Do you have 32 or 64 bit Apache Httpd. I presume it's 32, cause there are no official 64 bit binaries, so use any win32 version Regards -- ^(TM)

Re: tomcat startup

2009-03-26 Thread Nathan Aaron
I am using Tomcat 6.0.18 and jdk1.6.0_12. I apologize for not posting that in the beginning. I deploy several applications using one instance of Tomcat. The Application uses a database that resides on a separate server. When these servers are rebooted I would prefer that Tomcat start on

mod_jk and failover

2009-03-26 Thread Nuno Manuel Martins
Hi All, First the versions I am using: Tomcat 6.0.16 JRE 1.6.0_06 Mod_jk 1.2.25 Now for the problem we are experiencing: We are making some tests to use in production the TomCat Cluster with JK_Mod and are using the 1 Apache with mod_jk and 2 TomCat servers..

RE: Session lost when app. is redeployed

2009-03-26 Thread Caldarale, Charles R
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Re: Session lost when app. is redeployed are you *reloading* the application, or in some way or another, updating (redeploying) it? Yes; as I stated, I followed the exact same procedure you documented, including the

Re: mod_jk and failover

2009-03-26 Thread Rainer Jung
On 26.03.2009 12:59, Nuno Manuel Martins wrote: Hi All, First the versions I am using: Tomcat 6.0.16 JRE 1.6.0_06 Mod_jk 1.2.25 Now for the problem we are experiencing: We are making some tests to use in production the TomCat Cluster with JK_Mod and are using the 1 Apache with mod_jk and 2

RE: Session lost when app. is redeployed

2009-03-26 Thread Caldarale, Charles R
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Re: Session lost when app. is redeployed When redeployed, this directory is cleared. I suspect your webapp is also clearing the work directory as it shuts down, which deletes the SESSIONS.ser file. During the

RE: Apache load balancer for windows 2003 (64bit)

2009-03-26 Thread Caldarale, Charles R
From: Sandeep Nadkarni [mailto:snadka...@vistaar.com] Subject: Re: Apache load balancer for windows 2003 (64bit) We are trying to use apache load balancer using mod_jk2. The mod_jk2 package has been deprecated for many years; you shouldn't be using it at all. mod_jk is the current

RE: Upgrading to Java 1.5

2009-03-26 Thread Caldarale, Charles R
From: Gregor [mailto:rc4...@googlemail.com] Subject: Re: Upgrading to Java 1.5 +1 @chuck:chocolate's about to be on it's way... ;) Danke. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you

Re: Session lost when app. is redeployed

2009-03-26 Thread Adriano dos Santos Fernandes
Caldarale, Charles R escreveu: That is the trace of the SESSIONS.ser file being written, which is created *before* any ServletContextListener is called via contextDestroyed(). If any such listener removes everything in the work directory, the sessions will be lost. I tried now a very basic

RE: mod_jk and failover

2009-03-26 Thread Nuno Manuel Martins
Thanks for the reply. You're saying that if I connect directly to each tomcat server separately I should have the same session ID? This definitely isn't happening (although it does happen when I use the balancer in front). Any specific configuration I should check? I basically used the

Deployment: do not delete specified folder

2009-03-26 Thread Ward
Hi all, I'm working on a web application in which users are able to upload files to server. The files are stored outside the tomcat webapps directory, but to be able to acces them via the web-application, I created a symbolic link into my application's root directory, which points to the folder

Tomcat 5 and UTF-8

2009-03-26 Thread hellokk
I have installed Tomcat version 5.028, JRE 1.5 and I'm trying to load my code with UTF-8 encoding in the server. The code and encoding works perfectly with no problem at all since it is working on the other machine. I'm trying to deploy this code on my own machine but I couldn't get the tomcat

Can only view pages on localhost

2009-03-26 Thread Joel
I am a new user of Tomcat. In my test system I have pc's networked via a wireless router. The router assigns the IP address of 192.168.0.2 to the machine that runs Tomcat. When I run Tomcat using http://localhost/... or http://192.168.0.2/... everything works fine when I work on the local

RE: Tomcat 5 and UTF-8

2009-03-26 Thread Caldarale, Charles R
From: hellokk [mailto:kw...@hotmail.com] Subject: Tomcat 5 and UTF-8 I have installed Tomcat version 5.028 Which hasn't been supported for quite some time. Can you try with a current level and see what happens? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
From: Ward [mailto:wardloot...@gmail.com] Subject: Deployment: do not delete specified folder to be able to acces them via the web-application, I created a symbolic link into my application's root directory, which points to the folder where the files are actually stored. Doctor, doctor,

Re: Can only view pages on localhost

2009-03-26 Thread Alan Chaney
Hi Joel Joel wrote: I am a new user of Tomcat. In my test system I have pc's networked via a wireless router. The router assigns the IP address of 192.168.0.2 to the machine that runs Tomcat. When I run Tomcat using http://localhost/... or http://192.168.0.2/... everything works fine

Tomcat not shutting down on Mac

2009-03-26 Thread Andrew Rapp
Hi, Just downloaded Tomcat 5.5.27. Starts up and runs great, but it doesn't shut down properly. I run ./shutdown Using CATALINA_BASE: /Users/andrew/Downloads/apache-tomcat-5.5.27 Using CATALINA_HOME: /Users/andrew/Downloads/apache-tomcat-5.5.27 Using CATALINA_TMPDIR:

Re: Deployment: do not delete specified folder

2009-03-26 Thread Ward
Okey, I might have been not specific enough with my question: wath I wanna do is to be able to link to the files (eg to download, or to use an image in a html-page) So supposed there is a file in the /media directory, let's say file.jpg There is no way to acces this file trough an url without

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder So supposed there is a file in the /media directory, let's say file.jpg There is no way to acces this file trough an url without creating a link to the media folder You're confusing URLs

RE: Tomcat not shutting down on Mac

2009-03-26 Thread Caldarale, Charles R
From: Andrew Rapp [mailto:alr...@yahoo.com] Subject: Tomcat not shutting down on Mac Just downloaded Tomcat 5.5.27. Starts up and runs great, but it doesn't shut down properly. This is almost always caused by unmanaged, non-daemon threads started by a webapp. The webapp should be keeping

Re: Serving Multiple Application Versions within the same Context

2009-03-26 Thread behofmann
Chuck, Building on your idea on using webapps/production#1.0 as a versioning scheme and keeping each application version as a separate context, would the associated Context be called production_1.0? After more thought, I agree keeping separate contexts. This approach could keep the context in

RE: Serving Multiple Application Versions within the same Context

2009-03-26 Thread Caldarale, Charles R
From: behofmann [mailto:behofm...@gmail.com] Subject: Re: Serving Multiple Application Versions within the same Context would the associated Context be called production_1.0? Not quite sure what you're asking, or where the underscore came from. The Context element must be in an XML file,

Re: reversed proxy stopped working with tomcat cluster

2009-03-26 Thread János Löbb
Hi Rainer, Well, I did make some bloody operation by eliminating the VmWare machine as the reverse proxy on my Mac. /Following Chris advise. :)/ Because apache2 on my Mac was not compiled with --enable-proxy, etc, I downloaded the version 2.2.11 and compiled it with the three proxy

RE: Serving Multiple Application Versions within the same Context

2009-03-26 Thread behofmann
Chuck, In my last post, I was trying to confirm if there is any relation between the Context name and webapps/production#1.0; specifically if the Context name would be production#1.0 in context.xml. Thanks, Brandon Caldarale, Charles R wrote: From: behofmann [mailto:behofm...@gmail.com]

RE: Serving Multiple Application Versions within the same Context

2009-03-26 Thread Caldarale, Charles R
From: behofmann [mailto:behofm...@gmail.com] Subject: RE: Serving Multiple Application Versions within the same Context specifically if the Context name would be production#1.0 in context.xml. If you're talking about the path or docBase attributes of the Context element, you should not

Re: tomcat startup

2009-03-26 Thread Rusty Wright
As a workaround/kludge, could you have your tomcat startup scripts use the database command line tool to query the database and if it fails or doesn't return something reasonable, have it in a loop that sleeps for 5 or so seconds and then tries again? Nathan Aaron wrote: I am using Tomcat

RE: Serving Multiple Application Versions within the same Context

2009-03-26 Thread behofmann
Chuck, Could you please point me to some documentation that explains how the construct production#1.0 works? I want to understand how Tomcat deploys this. Thanks again for all your quick replys and helpful information. Thanks, Brandon Caldarale, Charles R wrote: From: behofmann

Re: Deployment: do not delete specified folder

2009-03-26 Thread Ward
2009/3/26 Caldarale, Charles R chuck.caldar...@unisys.com: From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder So supposed there is a file in the /media directory, let's say file.jpg There is no way to acces this file trough an url without

RE: Serving Multiple Application Versions within the same Context

2009-03-26 Thread Caldarale, Charles R
From: behofmann [mailto:behofm...@gmail.com] Subject: RE: Serving Multiple Application Versions within the same Context Could you please point me to some documentation that explains how the construct production#1.0 works? http://tomcat.apache.org/tomcat-6.0-doc/config/context.html The

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder Can you please tell/hint me how do I access file on server, not in webserver directory Static resources are normally handled by Tomcat's built-in DefaultServlet, which does map URL paths to

RE: Session lost when app. is redeployed

2009-03-26 Thread Caldarale, Charles R
From: Adriano dos Santos Fernandes [mailto:adrian...@uol.com.br] Subject: Re: Session lost when app. is redeployed Then I touch (with gnuwin32 touch utility) the war file. I've finally been able to reproduce your observations, but only by touching the .war file itself. Anything else,

RE: Tomcat 5 and UTF-8

2009-03-26 Thread hellokk
I have tried with the 5.5.27 version, and I still get the same error. Caldarale, Charles R wrote: From: hellokk [mailto:kw...@hotmail.com] Subject: Tomcat 5 and UTF-8 I have installed Tomcat version 5.028 Which hasn't been supported for quite some time. Can you try with a current

RE: Serving Multiple Application Versions within the same Context

2009-03-26 Thread behofmann
Chuck, Thank you again for your help and being a great resource! I'm sure I'll have other questions soon. Thanks again, Brandon Caldarale, Charles R wrote: From: behofmann [mailto:behofm...@gmail.com] Subject: RE: Serving Multiple Application Versions within the same Context Could

Can only view web pages from loalhost

2009-03-26 Thread Joel
I am a new user of Tomcat. In my test system I have pc's networked via a wireless router. The router assigns the IP address of 192.168.0.2 to the machine that runs Tomcat. When I run Tomcat using http://localhost/ http://localhost/... or http://192.168.0.2/ http://192.168.0.2/... everything

Re: Can only view web pages from loalhost

2009-03-26 Thread Steve
Joel wrote: I am a new user of Tomcat. In my test system I have pc's networked via a wireless router. The router assigns the IP address of 192.168.0.2 to the machine that runs Tomcat. When I run Tomcat using http://localhost/ http://localhost/... or http://192.168.0.2/ http://192.168.0.2/...

Can only view web pages from localhost

2009-03-26 Thread Joel
I am a new user of Tomcat. In my test system I have pc's networked via a wireless router. The router assigns the IP address of 192.168.0.2 to the machine that runs Tomcat. When I run Tomcat using http://localhost/ http://localhost/ http://localhost/ http://localhost/... or http://192.168.0.2/

Re: Can only view web pages from localhost

2009-03-26 Thread Steve
Joel wrote: I am a new user of Tomcat. In my test system I have pc's networked via a wireless router. The router assigns the IP address of 192.168.0.2 to the machine that runs Tomcat. When I run Tomcat using http://localhost/ http://localhost/ http://localhost/ http://localhost/... or

Re: Can only view web pages from localhost

2009-03-26 Thread Je suis la poubelle
On Thu, Mar 26, 2009 at 10:41 PM, Joel jgor...@cox.net wrote: [snipped] How should I configure Tomcat so that it accepts requests from other machines -- not just localhost? I am using Tomcat 6.0.18 on windows XP Professional. Yes, windows firewall is on. Either turn off Windows

Can only view web pages from loalhost

2009-03-26 Thread Joel
Windows firewall is now OFF. I still can't connect but I do get an error reply much faster with a new message of Internet explorer can not display the web page. Joel

Re: Can only view web pages from loalhost

2009-03-26 Thread Je suis la poubelle
Just to make sure it's not a silly mistake: are you using IP address in the URL? OTOH, IE could be tricky/picky to display webpages, even from LAN, if its security isn't configured correctly. All this is to say: could you try Firefox? On Thu, Mar 26, 2009 at 11:00 PM, Joel

Can only view web pages from localhost

2009-03-26 Thread Joel
I will try Firefox Joel

Re: Can only view web pages from localhost

2009-03-26 Thread Joseph Millet
Hi Joel, not sure what your problem is but please don't change your message subject each time you reply to the list, it provides an unconvenient way of reading messages here :) ... hope you'll fix that soon ! On Thu, Mar 26, 2009 at 11:10 PM, Joel jgor...@cox.net wrote: I will try Firefox

RE: Can only view pages on localhost

2009-03-26 Thread Ramesh Narayanan (ramesnar)
U have to change the Tomcat startup script to say that accept connections from outside world. I am not sure of the exact setting but the User docs should lend u some light regarding this. --Ramesh -Original Message- From: Joel [mailto:jgor...@cox.net] Sent: Thursday, March 26, 2009

RE: Can only view pages on localhost

2009-03-26 Thread Caldarale, Charles R
From: Ramesh Narayanan (ramesnar) [mailto:rames...@cisco.com] Subject: RE: Can only view pages on localhost U have to change the Tomcat startup script to say that accept connections from outside world. Utter hogwash. By default, Tomcat listens on 0.0.0.0 - which means it accepts

RE: Session lost when app. is redeployed

2009-03-26 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Session lost when app. is redeployed I've finally been able to reproduce your observations, but only by touching the .war file itself. There is a workaround to this problem. Create a META-INF/context.xml file in your webapp, with the following