HTTP-threads blocked in java.net.SocketOutputStream.socketWrite0 and Tomcat gets stuck

2008-08-04 Thread Hartikainen, Ville
Between random intervals our website running with Liferay + Tomcat 6.0.14 gets Stuck with all http-worker threads runnable, but hanging in java.net.SocketOutputStream.socketWrite0. I have also taken a netstat with 30s interval, and we see trend of growing number of connections in SYN_RECV and

Tomcat Service is stopped automatically???

2008-08-04 Thread Thangavel Sankaranarayanan
Hi, I have a problem with tomcat 4.1.27. Operating system is Windows2000. I am running tomcat as a window service. The problem is tomcat service is automatically stopped.There is no clues found in logs and what be the best solution for it.Please suggest any good methods other than Tomcat

5.5.27 Security Release When?

2008-08-04 Thread David Rees
With the 3 known security vulnerabilities in 5.5.26, when will 5.5.27 be scheduled for release? http://tomcat.apache.org/security-5.html I am particularly worried about CVE-2008-2370 myself. I would rather not have to go through and completely test 6.0.18 which has been released and has the 3

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread André Warnier
Thangavel Sankaranarayanan wrote: Hi, I have a problem with tomcat 4.1.27. Operating system is Windows2000. I am running tomcat as a window service. The problem is tomcat service is automatically stopped.There is no clues found in logs and what be the best solution for it.Please suggest any

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Thangavel Sankaranarayanan
Thanks Andre, Andre wrote: 1) call up the services applet on that system, and look for the Service named Apache Tomcat or similar. On that line, in the 4th column, it should say Automatic or Manual. Which is it ? Thang It is Automatic. 2) in the 3rd column, it should show if the service is

RE: Configuration information in tomcat as a window service...

2008-08-04 Thread Peter Crowther
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] I have a tomcat 4.1.27 running as a window service and operating system is Windows2000. I went to the service .Right click on my tomcat service--select properties--Then select Recovery tab...i can see the following items which are

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread André Warnier
Thangavel Sankaranarayanan wrote: From the previous items, we can thus deduce that there is nothing fundamentally wrong in the Tomcat setup and in its setup as a service. It runs most of the times, it's just that sometimes it apparently crashes. 5) Once it stops, if you examine the System

RE: Configuration information in tomcat as a window service...

2008-08-04 Thread Thangavel Sankaranarayanan
Hi, I went to tomcat service .Right click on my tomcat service--select properties--Then select Recovery tab...i can see the following items

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Thangavel Sankaranarayanan
Hi , Thanks Andre, I can find the following information in it The Apache Tomcat Service has terminated unexpectedly.It has done this 7 time(s).The following Corrective Action will be taken in 0 milliseconds:No Action Regards, Thangavel Sankaranarayanan

Configuration information in tomcat as a window service...

2008-08-04 Thread Thangavel Sankaranarayanan
Hi, I have a tomcat 4.1.27 running as a window service and operating system is Windows2000. I went to the service .Right click on my tomcat service--select properties--Then select Recovery tab...i can see the following items which are marked in red.. can any one say what they are exactly

Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread André Warnier
Thanks, a lot. It will take me some time to digest this, and some more time to be in the conditions to actually try it out. But you have indeed given me already more hints than what I could have reasonably hoped for. As far as filter B init parameters are concerned, I guess the line

Re: Configuration information in tomcat as a window service...

2008-08-04 Thread André Warnier
Well, I guess one could use this stuff to restart Tomcat automatically when it crashes.. But don't do that, or you will actually never know why it crashes in the first place. So, stay away from this for now, and leave them at take no action. Thangavel Sankaranarayanan wrote: Hi, I went to

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Johnny Kewl
- Original Message - From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, August 04, 2008 9:08 AM Subject: Tomcat Service is stopped automatically??? Hi, I have a problem with tomcat 4.1.27. Operating system is Windows2000. I am running

Re: Configuration information in tomcat as a window service...

2008-08-04 Thread Thangavel Sankaranarayanan
But my application is going down atleat once a day,.. The problems that i am facing are one among the following.. 1.Reached maxthreads..all threads are busy waiting (i could'nt do a thread dump as tomcat is a window service... so i increased no of connector threads to 150) 2. the

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Thangavel Sankaranarayanan
Hi, Thanks , No information from logs(tomcat as well as applicatoin logs) System Event logs shows: The Apache Tomcat Service has terminated unexpectedly.It has done this 7 time(s).The following Corrective Action will be taken in 0 milliseconds:No Action On making Netstat -an Only tomcat listens

Manager configuration when using load balancer and clustering

2008-08-04 Thread Pavan Singaraju
Hi all, I have successfully configured the load balancer using Apache and clustering in Tomcat. I have a question here for managing the container of Tomcat using Tomcat Manager. If i want to do the management of the container, how can i specify the specific web container of Tomcat 1. This

Tomcat 6 Windows Service

2008-08-04 Thread Skondras Panos
Hi all, I install Tomcat 6 as a services in windows 2000. I follow the how-to and all went ok. Now i want to install another service of tomcat 6 BUT for this service i want to get a different server.xml file than the other service. I want to do this without having to copy the dir of tomcat and

Custom web application as default web app

2008-08-04 Thread sasuke
Hello all. I have recently started developing J2EE applications using Tomcat and have come across a stumbling block. Suppose I want to run Tomcat in an environment close to what it would be in production; to do I need to do the following: • Make sure Tomcat is running on port 80 so that there

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread André Warnier
Thangavel Sankaranarayanan wrote: Hi, Thanks , No information from logs(tomcat as well as applicatoin logs) System Event logs shows: The Apache Tomcat Service has terminated unexpectedly.It has done this 7 time(s).The following Corrective Action will be taken in 0 milliseconds:No Action

Re: Custom web application as default web app

2008-08-04 Thread André Warnier
sasuke wrote: Hello all. I have recently started developing J2EE applications using Tomcat and have come across a stumbling block. Suppose I want to run Tomcat in an environment close to what it would be in production; to do I need to do the following: 1. • Make sure Tomcat is running on

Re: configure tomcat

2008-08-04 Thread David Smith
A couple of suggestions: 1. Drop the CLASSPATH from bashrc. It'll cause all sorts of weird problems. Plus the jars you added are automatically added by tomcat's own internal classloader. No need to explicitly declare them anyway. 2. Check you logs for what happened during startup up to

Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread André Warnier
André Warnier wrote: Thanks, a lot. [etc..] I have one more question, if you would be so kind and if it is not too heavy to handle here (and at the risk of sounding very amateur) : In the standard condiguration, the JCIFS filter comes as a jar, which gets placed in the WEB-INF/lib sub-dir

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Thangavel Sankaranarayanan
Thanks Andre , I will try this and get back to you. about the results :) Regards, Thangavel Sankaranarayanan André Warnier [EMAIL PROTECTED]

Re: enabling/disabling a servlet filter conditionally

2008-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | I have one more question, if you would be so kind and if it is not too | heavy to handle here (and at the risk of sounding very amateur) : Hey, this list is what its members make of it. If [all of] you want to discuss

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Thangavel Sankaranarayanan
Hi, I dont find any Hkey..instead i find a Hkey_Current_user.. I have loggged in to a remote system through RDC... and i could'nt find any system or other things in it... Regards, Thangavel Sankaranarayanan

Re: Manager configuration when using load balancer and clustering

2008-08-04 Thread Gabe Wong
Hi Pavan, If you want to access a specific Application Server, then in Apache, just create individual VirtualHosts for each in addition to the LB. Regards Pavan Singaraju wrote: Hi all, I have successfully configured the load balancer using Apache and clustering in Tomcat. I have a

RE: JK ISAPI redirector delay

2008-08-04 Thread Peter Gallagher
If you can reproduce easily and it is not a heavy traffic application. Increase log level to debug until it happens again and make the log available plus the information, between which timestamps you think there is such a delay. Below is an excerpt from the ISAPI redirector log. The last 3

Re: JK ISAPI redirector delay

2008-08-04 Thread Rainer Jung
Peter Gallagher wrote: If you can reproduce easily and it is not a heavy traffic application. Increase log level to debug until it happens again and make the log available plus the information, between which timestamps you think there is such a delay. Below is an excerpt from the ISAPI

Re: Manager configuration when using load balancer and clustering

2008-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabe, Gabe Wong wrote: | Hi Pavan, | If you want to access a specific Application Server, then in Apache, | just create individual VirtualHosts for each in addition to the LB. If sticky servers are being used, you could always set the jvmroute on

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread André Warnier
Thangavel Sankaranarayanan wrote: Hi, I dont find any Hkey..instead i find a Hkey_Current_user.. I have loggged in to a remote system through RDC... and i could'nt find any system or other things in it... Oh well, that means you (or rather your user-id) are probably not a Local Administrator

Re: Tomcat 6 Windows Service

2008-08-04 Thread Mark Thomas
Skondras Panos wrote: Hi all, I install Tomcat 6 as a services in windows 2000. I follow the how-to and all went ok. Now i want to install another service of tomcat 6 BUT for this service i want to get a different server.xml file than the other service. I want to do this without having to copy

Cool SSL/TLS Deployment Trick! How Does It Work?

2008-08-04 Thread Warren Killian
Hello users@tomcat.apache.org, The company I recently started working at does a very interesting trick in order to facilitate SSL/TLS connections and I am baffled as to how it actually works. First, some background: === Tomcat Version: jakarta-tomcat-5.5.9 OS: SuSE Enterprise

Re: Tomcat Service is stopped automatically???

2008-08-04 Thread Johnny Kewl
- Original Message - From: Thangavel Sankaranarayanan [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, August 04, 2008 3:53 PM Subject: Re: Tomcat Service is stopped automatically??? Hi, I dont find any Hkey..instead i find a Hkey_Current_user.. I have

Error deploying struts application in tomcat

2008-08-04 Thread ramya lekha
HI, I had written a build.xml file for my struts application.. this file creates a .war file which i can deploy in a tomcat server. I am able to create a .war file... and wen I deploy it in the server and start calling the application servername/proj/index.jsp i can view the jsp page and wen i

RE: Error deploying struts application in tomcat

2008-08-04 Thread Tandel, Aswin
Hi, I think ur context name in incorrect. Check your context name on your admin console. It is generally ur war file name. Give that context name before the action path and it should work. In ur case /proj/bookList.do proj should be replaced with the context name.. Thanks and Regards,

Tomcat 6 Cluster Woes

2008-08-04 Thread Zachariah Zachariah
Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication. Although failover seems to be working with each node aware of the other, Session replication does not work quite as expected. I get the error WARNING: Context manager doesn't exist

Failing over is failing when tomcats are on different machines

2008-08-04 Thread János
Hi, I setup a three node cluster on my Mac and tested a fail over with three nodes successfully. My next step was to setup tomcat on my Windows 2000 machine too and migrate one of the nodes over there. After completing the setup I tried fail over again, but it is not working. The two

RE: Tomcat Service is stopped automatically???

2008-08-04 Thread Martin Gainty
did you try IBM support? Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse

Where to find source code for RequestDumper Valve?

2008-08-04 Thread Hashmir Shamshir
Hi all, Can anyone point me to the Tomcat 6.0 source file that contains the code for the RequestDumper Valve? Thanks!

Re: Where to find source code for RequestDumper Valve?

2008-08-04 Thread Mark Thomas
Hashmir Shamshir wrote: Hi all, Can anyone point me to the Tomcat 6.0 source file that contains the code for the RequestDumper Valve? Thanks! http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/valves/RequestDumperValve.java?view=log Mark

Re: Where to find source code for RequestDumper Valve?

2008-08-04 Thread Hashmir Shamshir
Thanks Mark! On Mon, Aug 4, 2008 at 3:38 PM, Mark Thomas [EMAIL PROTECTED] wrote: Hashmir Shamshir wrote: Hi all, Can anyone point me to the Tomcat 6.0 source file that contains the code for the RequestDumper Valve? Thanks!

Re: configure tomcat

2008-08-04 Thread Nadun Herath
David and others Thanks a lot. I will remove that from classpath and see. Thanks again. On Mon, Aug 4, 2008 at 6:16 PM, David Smith [EMAIL PROTECTED] wrote: A couple of suggestions: 1. Drop the CLASSPATH from bashrc. It'll cause all sorts of weird problems. Plus the jars you added are

Can two Tomcat's safely share the same webapps directory?

2008-08-04 Thread Richard M
I looked through the documentation and searched the user list and web for the answer to this. I found a lot of postings that talked about using NFS sharing to share the actual Tomcat software directories, but none that dealt with trying to share an expanded web application between two instances