[OT] RE: Tomcat Hang on Linux (hangs the entire system)

2005-03-30 Thread Peter Crowther
[Marked off-topic as almost certainly not directly Tomcat-related] > From: Steve Vanspall [mailto:[EMAIL PROTECTED] > My only option is to reboot the machine. > But it hangs half way and has to be physically powered off. As others have suggested, this may well be bad RAM - or I've had similar sy

Re: Tomcat Hang on Linux (hangs the entire system)

2005-03-30 Thread vignesh
Hi, You can try the following step by step approach 1) Check whether you are able to run the examples application in tomcat. If you are not able to run that there's a problem with tomcat configuration or the JVM. 2) If that runs smoothly without any problems, check your application and ensure

Re: Tomcat Hang on Linux (hangs the entire system)

2005-03-30 Thread Drew Jorgenson
Check your RAM, might be bad Drew. On Wed, 2005-03-30 at 23:38, Steve Vanspall wrote: > Hi there, > > I am posting this in a few areas because I cannot pinpoint where the > > problem stems from. > > I have a standard Pentium III bases pc running linux. > > It has only 380 meg (or therabo

Re: Tomcat Hang on Linux (hangs the entire system)

2005-03-30 Thread Viorel Dragomir
It might be a hardware related problem. Try to change the memory. Viorel Dragomir . .. --- - Original Message - From: Steve Vanspall To: tomcat-user@jakarta.apache.org Sent: Thursday, March 31, 2005 09:38 Subject: T

Tomcat Hang on Linux (hangs the entire system)

2005-03-30 Thread Steve Vanspall
Hi there, I am posting this in a few areas because I cannot pinpoint where the problem stems from. I have a standard Pentium III bases pc running linux. It has only 380 meg (or therabouts) of ram Using IBM JVM 1.4.1 and tomcat 4.1.18 (I know there are later version, but they all hang)

Re: how to get application real path

2005-03-30 Thread Kanchan Deshpande
Hi Pradeep, I do not get a very clear idea about the problem, but I can suggest you to try the following: String realPath = getServletContext().getRealPath(configPath); You can try getRealPath() method on the Servlet Context. Thanks, ~Kanchan. On Thu, 31 Mar 2005 12:53:28 +0530, Pradeep Chau

how to get application real path

2005-03-30 Thread Pradeep Chauhan
Hi , How we can get real path of application in java. ? thanks and regards, Pradeep DISCLAIMER: This message, including any attachments contains confidential and privileged information for the sole use of the intended recipient(s), and is protected by law. If you are not the intended reci

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Lakshmi Narayanan K.
Hi Mladen, I visited that site and took/downloaded version "Revision 1.4" of tomcat5.exe where the comment says "Latest Tomcat5 and Tomcat5w binaries. Fixes the environment and JvmMs and JvmMx parsing." Then I issued the command "tomcat5 //US//OvTomcatA --JvmSs 256" This was able to set the regi

[ANN] JK 1.2.10 Released

2005-03-30 Thread Mladen Turk
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.10. The release contains a significant number of bug fixes and new features. Please see the http://jakarta.apache.org/tomcat/connectors-doc/changelog.html for a full list of changes. With

Re: Long Startup Time

2005-03-30 Thread Antony Paul
On what hardware it is running ?. Check for other processes running ?. Any antivirus scanner runnign ?. Check for ContextListeners and Servlets which are set to load on startup. Look at the web.xml to find such things. The bottleneck should be in your application. On Wed, 30 Mar 2005 15:55:39 -05

Closed Input Stream across firewall

2005-03-30 Thread Vineet Chopra
I am using a web application deployed on Tomcat 4.0 to receive and route incoming XML messages to destination web application also deployed on Tomcat 4.0. A firewall exists between these servers. All firewall policies are enabled for incoming and outgoing traffic. The ServletInputStream is already

Manager in other webapp subdirectories hosts/contexts

2005-03-30 Thread John B. Moore
I know I saw the info on this topic somewhere, but for the life of me, I can not relocate it.. (can not come up with the magic search strings...) I have various subdirectories under webapps that are configured as separate hosts and contexts i.e. /webapps/someapp In that directory I have a web a

Re: Data file owner and group difficulties

2005-03-30 Thread QM
On Wed, Mar 30, 2005 at 08:23:04AM -0500, James T. Studebaker wrote: : Yes, Tomcat runs as tomcat:nobody. I can not run Tomcat as jims:jims since : jims is a virtual host account. I should have mentioned this in my initial : email. Yes, since the statement "The app user is jims and my group is j

RE: Apache as front-end for several tomcat

2005-03-30 Thread Montz, James C. (James Tower)
Are the Tomcat instance running on the same physical server and you are just using IP Aliases, or are the workers running on 3 sperate backend machines? You apache config looks OK, so I don't believe its an issue with Apache Virtual Host configuration. I believe all work in being forwarded to Demo

Re: Apache as front-end for several tomcat

2005-03-30 Thread Dan Barron
If you are running multiple instances of Tomcat, from what I understand and from my configuration (i run two Tomcat/mod_jk2 with Apache) you would then need each of them to listen on a different port. Right now the only instance that will receive requests via the worker is the instance that is

Re: Apache as front-end for several tomcat

2005-03-30 Thread Didier McGillis
check in your access_log for apache, what do they say From: Christophe Lemaire <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: "Tomcat Users List" Subject: Re: Apache as front-end for several tomcat Date: Wed, 30 Mar 2005 23:33:24 +0200 Not sure. I have seen several config of name based vir

Re: Apache as front-end for several tomcat

2005-03-30 Thread Christophe Lemaire
Not sure. I have seen several config of name based virtual hosts that listen on the same port. On 30-mars-05, at 23:02, Didier McGillis wrote: would it be the fact that your sending the requests through the same port number? From: Christophe Lemaire <[EMAIL PROTECTED]> Reply-To: "Tomcat Users L

RE: Apache as front-end for several tomcat

2005-03-30 Thread Didier McGillis
would it be the fact that your sending the requests through the same port number? From: Christophe Lemaire <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: tomcat-user@jakarta.apache.org Subject: Apache as front-end for several tomcat Date: Wed, 30 Mar 2005 22:12:27 +0200 Hello, I would lik

Long Startup Time

2005-03-30 Thread Mike Cherichetti \(Renegade Internet\)
Hi, I'm running Tomcat 5.0.28 with JDK 1.5.0_01 on Fedora Core 3. The problem that I'm having is pretty odd. It's taking Tomcat about 30 minutes to fully start up and start accepting connections. Here's where it's getting hung up at from the startup logs: Mar 30, 2005 10:52:10 AM org.apache.ca

Apache as front-end for several tomcat

2005-03-30 Thread Christophe Lemaire
Hello, I would like to setup a Apache 2.0.53 as front-end for several Tomcat 5.0.19. I use JK1.2.8 as connector. I have defined one worker per tomcat server. I use three name based virtual hosts in the apache config. The problem is only the first virtual host works. In the mod_jk.log, I can se

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Mladen Turk
Lakshmi Narayanan K. wrote: Are you doing this from the tomcat5 binary from TC 5.0.30? I ask this because we have already rolled out TC 5.0.28 onto production systems, and if so, I cant roll out the newer TC 5.0.30 on them. : Use that one: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connec

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Lakshmi Narayanan K.
Hi Mladen, Thank you very very much for having replied to my query. > > If there are many developers on this list, then > > why aren't there any replies? :( > > Well, I replied to you already, and I wrote the damn thing :). > Please don't mistake my statement above. I only meant that there wer

RE: Tomcat-juli in 5.5.9

2005-03-30 Thread Lucuk, Pete
I had the same problem, I set my JAVA_HOME env on Windows XP SP1 and it fixed the problem Pete -Original Message- From: Brent Sims [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 5:40 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat-juli in 5.5.9 >

Ampersand in an init-praram in web.xml

2005-03-30 Thread Jason Bainbridge
I need to specify a password that has an ampersand in it for an init-param in my applications web.xml when specifying the password of a service account of course with it being XML it complains about the ampersand so when you use it's entity reference & then that doesn't work for the password. Is t

Re: Tomcat 5/Apache 2 in-process

2005-03-30 Thread Mladen Turk
Faine, Mark wrote: Has anyone succeeded in getting Tomcat 5 to run in-process with Apache 2 using mod_jk? Does anyone know of a howto on this? I've read the docs, I've searched the web, I have it working using AJP13 but I have had no luck on getting it to work in-process. I don't even know where

Tomcat 5/Apache 2 in-process

2005-03-30 Thread Faine, Mark
Has anyone succeeded in getting Tomcat 5 to run in-process with Apache 2 using mod_jk? Does anyone know of a howto on this? I've read the docs, I've searched the web, I have it working using AJP13 but I have had no luck on getting it to work in-process. I don't even know where to start. Thanks,

Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Mladen Turk
Lakshmi Narayanan K. wrote: If there are many developers on this list, then why aren't there any replies? :( Well, I replied to you already, and I wrote the damn thing :). So, as usual, your replies are eagerly awaited... Try to use the tomcat5.exe from 5.0.30 or better from 5.5.8. I have not tried

Re: JK 1.2.9 Apache - Tomcat thread synchronization

2005-03-30 Thread Mladen Turk
e wrote: I watched the JBoss webinar, which was very helpful, but I still can't understand how to tune the thread settings. I use tc 5.5.7 and worker apache2. In the webinar, it was stated that apache maxclients should be the same value as maxThreads on tomcat. On a heavily loaded apache, with 10

AW: possibly stupid question

2005-03-30 Thread Bernhard Slominski
Hi, we use this instructions to log to a file. Sounds a bit complicated, but should work: Follow the following steps to setup a file named tomcat.log that has internal Tomcat logging output to it: 1. Create a file called log4j.properties with the following content and save it into common/class

isUserInRole

2005-03-30 Thread e-Denton Subscriber
I see that the session object is stored in the request object (request.getSession). And, I suppose, the methods such as isUserInRole from the request are actually querying the stuff from the session object. So, if the session is gone (invalidated), then there is no authorization info. Does this m

RE: Data file owner and group difficulties

2005-03-30 Thread Peter Crowther
> From: James T. Studebaker [mailto:[EMAIL PROTECTED] > Yes, Tomcat runs as tomcat:nobody. I can not run Tomcat as > jims:jims since > jims is a virtual host account. I should have mentioned this > in my initial > email. I am one of numerous users who have an account that has access > tomcat.

1.5 settings with Tomcat 5.28

2005-03-30 Thread Paulo Alvim
Hi, Is there any documentation related to JVM 1.5 settings for Tomcat 5.0.28 (or any other versions)? (ex: how to configure "-server" as service, memory pools, best GC strategy, etc...) Thanks! Alvim - To unsubscribe, e-mail:

Re: Data file owner and group difficulties

2005-03-30 Thread James T. Studebaker
Yes, Tomcat runs as tomcat:nobody. I can not run Tomcat as jims:jims since jims is a virtual host account. I should have mentioned this in my initial email. I am one of numerous users who have an account that has access tomcat. The file structure of the account has a webapps directory where I i

JK 1.2.9 Apache - Tomcat thread synchronization

2005-03-30 Thread e
I watched the JBoss webinar, which was very helpful, but I still can't understand how to tune the thread settings. I use tc 5.5.7 and worker apache2. In the webinar, it was stated that apache maxclients should be the same value as maxThreads on tomcat. On a heavily loaded apache, with 10 tc worke

RE: Tomcat -- port 80 for Linux

2005-03-30 Thread FRANCOIS Dufour
somwere your going to see this in your server xml under /conf of your tomcat_home folder if there you say 80 it will run on 80 exept if there is alredy somting on port 80? Define a non-SSL HTTP/1.1 Connector on port 8080<- [EMAIL PROTECTED] administrateur http://monteregiechat.org

Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread Lakshmi Narayanan K.
Hi QM, Thanks for your reply. If there are many developers on this list, then why aren't there any replies? :( I've tested this problem on all my available windows boxes, and the value always gets set to 0. Can somebody else try this out and see if they too are getting the same behavior? I am rea

Re: JDK usage with Tomcat

2005-03-30 Thread QM
On Wed, Mar 30, 2005 at 12:33:52PM +0530, Gurunandan G Rao wrote: : Which JDK is mostly used with Tomcat in production environment?. My guess is that most people use the standard Sun JVM, but that really depends on the OS. (For example: I don't think Sun makes a JVM for HP-UX, so that's not an op

Re: multiple domain name support for https

2005-03-30 Thread QM
On Wed, Mar 30, 2005 at 12:40:34AM -0600, Sasisekar S Sundaram wrote: : Few browsers (like Mozilla) are giving a warning message ==> " Security Error: : Doamin Name Mismatch" with https. : [snip] : It is important for me to over ride this Warning : message in our production environment. I read som

Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-30 Thread QM
On Wed, Mar 30, 2005 at 10:02:50AM +0530, Lakshmi Narayanan K. wrote: : No replies yet??? :( : Is it possible that this is a possible bug in the tomcat5.exe : executable? Can this thread be forwarded to the other mailing list, : the tomcat-developers one??? Rest assured, there are several develope

Re: Data file owner and group difficulties

2005-03-30 Thread QM
On Tue, Mar 29, 2005 at 09:31:42PM -0500, James T. Studebaker wrote: : My servlets create data files. The webapp is running on a Linux system. The : app user is jims and my group is jims. I have to set permissions to 777 in : order for tomcat to read data files. When data files are created, the

RE: Tomcat -- port 80 for Linux

2005-03-30 Thread Pete Stevens
On Wed, 30 Mar 2005, Peter Crowther wrote: > > From: Jury Levykin [mailto:[EMAIL PROTECTED] > > I use tomcat 5.5 as main web server at Linux host. Me need > > run tomcat in port 80. > > > > To solve this task I see two way: > > 1. Running tomcat as daemon in port 80 by jsvc command. > > 2. Running

RE: Tomcat -- port 80 for Linux

2005-03-30 Thread Peter Crowther
> From: Jury Levykin [mailto:[EMAIL PROTECTED] > I use tomcat 5.5 as main web server at Linux host. Me need > run tomcat in port 80. > > To solve this task I see two way: > 1. Running tomcat as daemon in port 80 by jsvc command. > 2. Running apache in port 80 and use mod_jk to redirect users >

Re: Tomcat -- port 80 for Linux

2005-03-30 Thread Pete Stevens
On Wed, 30 Mar 2005, Jury Levykin wrote: > Hello! > I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in > port 80. > > To solve this task I see two way: > 1. Running tomcat as daemon in port 80 by jsvc command. > 2. Running apache in port 80 and use mod_jk to redirect users re

Re: Tomcat -- port 80 for Linux

2005-03-30 Thread Trond G. Ziarkowski
Hi, I would suggest using jsvc as it seems that many people are struggling with mod_jk / mod_proxy. Be sure to use latest version from cvs though, not the one that comes with Tomcat, to save you some trouble with restarting etc. (at least with 5.0.28). Trond Jury Levykin wrote: Hello! I use tom

Re: possibly stupid question

2005-03-30 Thread teknokrat
cheers, that clears that up David Causse wrote: teknokrat wrote: No, I am running it using startup.bat though I have tries catalina.bat start too. I am not seeing any log file output for anything that writes to stdout. Hi Teknokrat, it's normal, the stdout is on the win32 console, you have to re

Tomcat -- port 80 for Linux

2005-03-30 Thread Jury Levykin
Hello! I use tomcat 5.5 as main web server at Linux host. Me need run tomcat in port 80. To solve this task I see two way: 1. Running tomcat as daemon in port 80 by jsvc command. 2. Running apache in port 80 and use mod_jk to redirect users request to tomcat. What way is most secure? --

Re: possibly stupid question

2005-03-30 Thread David Causse
teknokrat wrote: No, I am running it using startup.bat though I have tries catalina.bat start too. I am not seeing any log file output for anything that writes to stdout. Hi Teknokrat, it's normal, the stdout is on the win32 console, you have to redirect yourself stdout if you want to have a log

Re: possibly stupid question

2005-03-30 Thread teknokrat
No, I am running it using startup.bat though I have tries catalina.bat start too. I am not seeing any log file output for anything that writes to stdout. Dale, Matt wrote: Are you running it as a service? If so you may find that the output is going to stdout.log Ta Matt -Original Message---

RE: possibly stupid question

2005-03-30 Thread Dale, Matt
Are you running it as a service? If so you may find that the output is going to stdout.log Ta Matt -Original Message- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: 30 March 2005 10:54 To: tomcat-user@jakarta.apache.org Subject: possibly stupid question I am running tomcat 5.5 on win

possibly stupid question

2005-03-30 Thread teknokrat
I am running tomcat 5.5 on windows XP. There is no catalina.out file being produced. Is this usual? How do i get a file of of everything going to stdout? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands