experience with Windows 7

2010-10-07 Thread Wolfgang Orthuber
The following experience may be interesting for installation of Tomcat on Windows 7 (64 Bit): First I installed jdk1.6.0_20 and then apache-tomcat-6.0.29.exe on a Windows XP (32 Bit) system and there were no problems. Then I installed the same combination on a Windows 7 (64 Bit) System, but

Re: experience with Windows 7

2010-10-07 Thread Mark Thomas
On 07/10/2010 09:29, Wolfgang Orthuber wrote: The following experience may be interesting for installation of Tomcat on Windows 7 (64 Bit): First I installed jdk1.6.0_20 and then apache-tomcat-6.0.29.exe on a Windows XP (32 Bit) system and there were no problems. Then I installed the same

Error 404 when redirected

2010-10-07 Thread arnaud icard
Hello, I am currently installing and configuring a webserver with the couple httpd/tomcat. This server hosts many tomcat applications, each one with its own hostname. My current Tomcat configuration is something like that : Host name=appli1.domain.fr appBase=/var/www/appli1

Deploy Dynamic Contexts

2010-10-07 Thread Rob Gregory
Hi Tomcat Community, Does anyone know if it is possible to dynamically create contexts on demand. I have a requirement to be able to ship a single application.war file and create multiple contexts from this without manually using the manager application etc. Tomcat is the latest version

Re: Disable class monitoring for reloading container classes

2010-10-07 Thread André Warnier
Jane Muse wrote: André - you are correct. We actually modified autoDeploy attribute on the Host element to false, and not reloadable in the application context xml, and then it worked on IBM I V7R1. Your 3rd point below is probably the key to why it works on one version of the O/S and not

Re: Error 404 when redirected

2010-10-07 Thread André Warnier
arnaud icard wrote: ... It's working for every applications except the appli2. The appli2 interprets the index.jsp which redirects to http://appli2.domain.fr/stylesheets/welcome.faces. At this point I have a 404 error : /The requested resource (/stylesheets/cas.faces) is not available./ How

RE: Error 404 when redirected

2010-10-07 Thread Caldarale, Charles R
From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] Subject: Error 404 when redirected I am currently installing and configuring a webserver with the couple httpd/tomcat. Exact versions? My current Tomcat configuration is something like that : Host name=appli1.domain.fr 

Re: Error 404 when redirected

2010-10-07 Thread arnaud icard
Hi André, this difference is due to a slight modification I made. The error is the same with the original code. André Warnier a écrit le 07/10/2010 12:33: arnaud icard wrote: ... It's working for every applications except the appli2. The appli2 interprets the index.jsp which redirects to

RE: Deploy Dynamic Contexts

2010-10-07 Thread Caldarale, Charles R
From: Rob Gregory [mailto:rob.greg...@ibsolutions.com] Subject: Deploy Dynamic Contexts I have a requirement to be able to ship a single application.war file and create multiple contexts from this without manually using the manager application So use the manager app automatically.

Re: Error 404 when redirected

2010-10-07 Thread arnaud icard
Caldarale, Charles R a écrit le 07/10/2010 13:50: I am currently installing and configuring a webserver with the couple httpd/tomcat. Exact versions? httpd : Apache/2.2.9 (Debian) tomcat : Apache Tomcat/6.0.29 My current Tomcat configuration is something like that : Host

RE: Error 404 when redirected

2010-10-07 Thread Caldarale, Charles R
From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] Subject: Re: Error 404 when redirected Second, you should not be placing Context elements in server.xml. This is not completly true Note that I said should not rather than must not. You can place Context elements in server.xml, but

RE: Deploy Dynamic Contexts

2010-10-07 Thread Rob Gregory
Thanks Chuck, After thinking about it some more I realise the servlet approach is the wrong time to tackle this issue. I will copy the contexts at installation time as we use installshield/install anywhere deployment and this makes much more sense. Regards, Rob I have a requirement to be

Re: Error 404 when redirected

2010-10-07 Thread arnaud icard
Thank you for these explanations Chuck! Caldarale, Charles R a écrit le 07/10/2010 15:38: From: arnaud icard [mailto:arnaud.ic...@univ-avignon.fr] Subject: Re: Error 404 when redirected Second, you should not be placingContext elements in server.xml. This is not completly

Re: Deploy Dynamic Contexts

2010-10-07 Thread Ronald Klop
Op donderdag, 7 oktober 2010 11:49 schreef Rob Gregory rob.greg...@ibsolutions.com: Hi Tomcat Community, Does anyone know if it is possible to dynamically create contexts on demand. I have a requirement to be able to ship a single application.war file and create multiple contexts

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-07 Thread Steve Ryder
Thanks Jason. I have added the two parameters. Hopefully I will have seen the last of this error. - Original Message - From: Jason Britton jbritto...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 06, 2010 11:57 PM Subject: Re: Tomcat5.5 MySQL14.12

Tomcat 6.0.29, Manager App, multiple virtual hosts

2010-10-07 Thread Brett Delle Grazie
Hi, I'm using Tomcat 6.0.29 with JVM 1.6.x with multiple virtual hosts. If the Tomcat manager app is only in a single vhost can the manager app be configured to control all applications in Tomcat, regardless of vhost? Or is it specific to the vhost its in? Reading the docs says its vhost

Re: Tomcat 6.0.29, Manager App, multiple virtual hosts

2010-10-07 Thread Mark Thomas
On 07/10/2010 16:26, Brett Delle Grazie wrote: Hi, I'm using Tomcat 6.0.29 with JVM 1.6.x with multiple virtual hosts. If the Tomcat manager app is only in a single vhost can the manager app be configured to control all applications in Tomcat, regardless of vhost? Or is it specific to the

Error 503 ocurring when server under load

2010-10-07 Thread Rob G
Hey all, Recently migrated a production site (mixture of Servlets and JSPs) from Oracle Application Server to Apache/Tomcat. Since then we have seen numerous HTTP Error 503 - Service unavailable errors at peak times when site is under load. mod_jk.log has the following error message(s):

RE: Tomcat auf MS Cluster?

2010-10-07 Thread Jeffrey Janner
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, October 06, 2010 9:31 AM To: Tomcat Users List Subject: Re: Tomcat auf MS Cluster? On 06/10/2010 15:16, Jeffrey Janner wrote: I agree with Mark, upgrade your Tomcat to a supported rev. If possible,

Re: Error 503 ocurring when server under load

2010-10-07 Thread André Warnier
Rob G wrote: Hey all, Recently migrated a production site (mixture of Servlets and JSPs) from Oracle Application Server to Apache/Tomcat. Since then we have seen numerous HTTP Error 503 - Service unavailable errors at peak times when site is under load. mod_jk.log has the following error

Re: Disable class monitoring for reloading container classes

2010-10-07 Thread Pid
On 06/10/2010 20:39, Jane Muse wrote: There's a backgroundProcessor method in tomcat that checks whether container classes need to be reloaded, and checks for session expirations. Is it possible to disable this method, like you can disable class reloading for the context with reloadable=false?

Re: NullPointerException when Tomcat calls org.apache.catalina.connector.Request.parseParameters

2010-10-07 Thread laredotornado
You are correct. This stack trace came from a server with 6.0.13 installed. We also observed this in our environment with 6.0.24. Right now, it is not an option to upgrade. Is there a work-around? Below is the connector info from our server.xml file and the request from the Net panel of

RE: Disable class monitoring for reloading container classes

2010-10-07 Thread Jane Muse
There are several Java's on the IBM machine. Yesterday I performed tests by changing JAVA_HOME in the catalina startup script to Sun's Java 1.5 and Sun's java 1.6. Previously it was IBM's J9 1.5.0. The results were the same with the various JVM's. The reason why there's a problem when the

Re: Disable class monitoring for reloading container classes

2010-10-07 Thread André Warnier
Jane Muse wrote: .. The reason why there's a problem when the application gets reloaded is due to we are loading a JNI native library that the application requires. According to the following link, section 11.2.4, the JVM does not allow a JNI native library to be loaded by more than one class

Re: Disable class monitoring for reloading container classes

2010-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jane, On 10/6/2010 3:39 PM, Jane Muse wrote: There's a backgroundProcessor method in tomcat that checks whether container classes need to be reloaded, and checks for session expirations. Is it possible to disable this method, like you can disable

Re: Error 503 ocurring when server under load

2010-10-07 Thread Pid
On 07/10/2010 18:31, André Warnier wrote: Rob G wrote: Hey all, Recently migrated a production site (mixture of Servlets and JSPs) from Oracle Application Server to Apache/Tomcat. Since then we have seen numerous HTTP Error 503 - Service unavailable errors at peak times when site is under

Re: Disable class monitoring for reloading container classes

2010-10-07 Thread Pid
On 07/10/2010 21:34, André Warnier wrote: Jane Muse wrote: .. The reason why there's a problem when the application gets reloaded is due to we are loading a JNI native library that the application requires. According to the following link, section 11.2.4, the JVM does not allow a JNI native

Re: Disable class monitoring for reloading container classes

2010-10-07 Thread Pid
On 07/10/2010 22:30, Christopher Schultz wrote: Jane, On 10/6/2010 3:39 PM, Jane Muse wrote: There's a backgroundProcessor method in tomcat that checks whether container classes need to be reloaded, and checks for session expirations. Is it possible to disable this method, like you can

Upgrading point releases

2010-10-07 Thread Debbie Shapiro
Hello - I see on the apache site that there are notes for upgrading from one whole version to another, but I don't see anything regarding minor point releases. Is there somewhere that someone can refer me for upgrade instructions when going from 7.0.0 to 7.0.2, for example? Is it always a full

RE: Upgrading point releases

2010-10-07 Thread Caldarale, Charles R
From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] Subject: Upgrading point releases Is there somewhere that someone can refer me for upgrade instructions when going from 7.0.0 to 7.0.2, for example? Not really, since such an upgrade should border on the trivial. But in the special

Re: experience with Windows 7

2010-10-07 Thread Pid
On 07/10/2010 09:29, Wolfgang Orthuber wrote: The following experience may be interesting for installation of Tomcat on Windows 7 (64 Bit): First I installed jdk1.6.0_20 and then apache-tomcat-6.0.29.exe on a Windows XP (32 Bit) system and there were no problems. Then I installed the same

Re: Error 503 ocurring when server under load

2010-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 10/7/2010 12:59 PM, Rob G wrote: Recently migrated a production site (mixture of Servlets and JSPs) from Oracle Application Server to Apache/Tomcat. Since then we have seen numerous HTTP Error 503 - Service unavailable errors at peak

Re: [OT] Serialization

2010-10-07 Thread Pid
On 06/10/2010 11:55, Wolfgang Orthuber wrote: The build in serialization tool of java has probably high performance (which is in the long run important for search), and needed not much time for programming, therefore it was my initial choice. There's an assumption there, and some reasoning I'm

Re: [OT] Serialization

2010-10-07 Thread Pid
On 06/10/2010 11:55, Wolfgang Orthuber wrote: This would allow to sort medical histories precisely and to learn systematically from past experience. Only relative assessment is possible, no*? So every patient who wants to share his experiences in precisely searchable form, can get the

Re: Error 503 ocurring when server under load

2010-10-07 Thread Pid
On 07/10/2010 23:17, Christopher Schultz wrote: Rob, On 10/7/2010 12:59 PM, Rob G wrote: Recently migrated a production site (mixture of Servlets and JSPs) from Oracle Application Server to Apache/Tomcat. Since then we have seen numerous HTTP Error 503 - Service unavailable errors at peak

Re: Error 503 ocurring when server under load

2010-10-07 Thread Pid
On 07/10/2010 17:59, Rob G wrote: Hey all, Recently migrated a production site (mixture of Servlets and JSPs) from Oracle Application Server to Apache/Tomcat. Since then we have seen numerous HTTP Error 503 - Service unavailable errors at peak times when site is under load. mod_jk.log has

deploy to public_html folder

2010-10-07 Thread William Biggs
I would like to know how to deploy a war to the public_html ?

Re: Error 503 ocurring when server under load

2010-10-07 Thread Rob G
Thanks to all for their replies to date. Much appreciated, I'll respond to some of the points raised. Apologies if I'm asking basic stuff but still getting my ahead around Tomcat and Apache integration. On 7 October 2010 18:31, André Warnier wrote: Your configuration looks very clean to me (no

Re: deploy to public_html folder

2010-10-07 Thread Sreeprasad Govindankutty
Upload the .WAR archive to /public_html/servlet Extract .WAR archive using Shell access using the unzip command On Thu, Oct 7, 2010 at 6:54 PM, William Biggs kc8...@gmail.com wrote: I would like to know how to deploy a war to the public_html ? -- Thanks and many regards, Sreeprasad

RE: Disable class monitoring for reloading container classes

2010-10-07 Thread Jane Muse
This happens with both DST and standard time changes. What's interesting is if we go back in time to Oct 29 2006, it does not occur. From March 2007 forward, every fall and spring we get the error when the application reloads. The DST time change rules changed in March 2007 for USA time zone.

RE: Disable class monitoring for reloading container classes

2010-10-07 Thread Jane Muse
If I changed the system time zone not to change with daylight savings time, then it would be off by an hour. I don't think our customers would like that. Or am I misunderstanding your comment? Thanks, Jane -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, October

Re: Apache/mod_jk serves random files from tomcat

2010-10-07 Thread domiguo
Has this thread has a clear answer now? -- View this message in context: http://old.nabble.com/Apache-mod_jk-serves-random-files-from-tomcat-tp18385568p29912221.html Sent from the Tomcat - User mailing list archive at Nabble.com.