Re: Webapp reloading issue and intermittent 404 errors

2010-08-09 Thread Tomislav Petrović
Caldarale, Charles R said on 8.7.2010 3:31: From: Caldarale, Charles R Subject: RE: Webapp reloading issue and intermittent 404 errors Given the test on lines 129-130, it is impossible to have a -1 at line 131 - unless there's a JVM bug. 6u21 was just released tonight, so you might give that

64 bit version for linux

2010-08-09 Thread Angelo Chen
Hi, in this link: http://tomcat.apache.org/download-60.cgi#6.0.29 it has 32 and 64 bits version of tomcat for Windows. but for Linux, there is only one version, why? Thanks, Angelo -- View this message in context: http://old.nabble.com/64-bit-version-for-linux-tp29386189p29386189.html Sent

Cluster Logging

2010-08-09 Thread Oscar Segarra Rey
Hi, I would like to monitor cluster as it was in tomcat 5.5 with the clause doClusterLog in tomcat 6.0.24. I have added the following lines in logging.properties: org.apache.catalina.tribes.MESSAGES.level = FINE org.apache.catalina.tribes.level = FINE org.apache.catalina.ha.level = FINE And

Re: 64 bit version for linux

2010-08-09 Thread Mladen Turk
On 08/09/2010 11:40 AM, Angelo Chen wrote: Hi, in this link: http://tomcat.apache.org/download-60.cgi#6.0.29 it has 32 and 64 bits version of tomcat for Windows. but for Linux, there is only one version, why? Windows versions are distributed with tomcat native and service wrapper

RE: Session ID changes when a node goes down

2010-08-09 Thread Oscar Segarra Rey
Hi, I have changed flag sticky_session in my workers.properties file: worker.lb_worker.sticky_session=0 But system is experiencing the same behaviour: FINE: Cluster is standalone: reset Session Request Delta at context /SUE 09/08/2010 12:20:24

Re: 64 bit version for linux

2010-08-09 Thread Angelo Chen
Thanks for the quick reply, I just downloaded 6.0.29, and it works in a Centos 5.5 64 bit, but is the tomcat 64 bit version? Mladen Turk-3 wrote: On 08/09/2010 11:40 AM, Angelo Chen wrote: Hi, in this link: http://tomcat.apache.org/download-60.cgi#6.0.29 it has 32 and 64 bits version

Re: 64 bit version for linux

2010-08-09 Thread Mladen Turk
On 08/09/2010 01:07 PM, Angelo Chen wrote: Thanks for the quick reply, I just downloaded 6.0.29, and it works in a Centos 5.5 64 bit, but is the tomcat 64 bit version? If it's on 64-bit jvm, then yes :) Regards -- ^TM -

Re: 64 bit version for linux

2010-08-09 Thread André Warnier
Angelo Chen wrote: Thanks for the quick reply, I just downloaded 6.0.29, and it works in a Centos 5.5 64 bit, but is the tomcat 64 bit version? Tomcat itself is java so it does not care. What matters here is : 1) is the Java JVM that you use to run Tomcat, 32 or 64-bit 2) if you use the native

Re: 64 bit version for linux

2010-08-09 Thread Angelo Chen
the standard tomcat(apache-tomcat-6.0.20.tar.gz) is running in a 64 bit version of Centos. so can my app use memory bigger than 4G? I believe the 2G is the limit for 32 bit version of Linux. awarnier wrote: Angelo Chen wrote: Thanks for the quick reply, I just downloaded 6.0.29, and it

RE: Session ID changes when a node goes down

2010-08-09 Thread Petrov, Petar
Hi, 2. I have tried to add the sticky_sessions=0 but I got the same behaviour. -- If the sticky_session is set to 0 the load balancer can forward your request to any tomcat instance. If stiky session is set to 1 then if the tomcat instance where the session is created is alive receives the

Re: 64 bit version for linux

2010-08-09 Thread Tobias Crefeld
Am Mon, 9 Aug 2010 04:52:55 -0700 (PDT) schrieb Angelo Chen angelochen...@yahoo.com.hk: the standard tomcat(apache-tomcat-6.0.20.tar.gz) is running in a 64 bit version of Centos. so can my app use memory bigger than 4G? I Which JVM-version does your Tomcat use? IIRC there are different

RE: Session ID changes when a node goes down

2010-08-09 Thread Oscar Segarra Rey
Hi, In our infraestructure we have a Radware hardware load balancing which keeps the sticky session. We have a apache webserver wich serves requests to a single tomcat We have implemented a pooled session replication method between all our tomcat nodes. With this infraestructure, is

Re: 64 bit version for linux

2010-08-09 Thread Angelo Chen
this is the version i use: java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) Tobias Crefeld-2 wrote: Am Mon, 9 Aug 2010 04:52:55 -0700 (PDT) schrieb Angelo Chen angelochen...@yahoo.com.hk: the

RE: Session ID changes when a node goes down

2010-08-09 Thread Petrov, Petar
Hi, As written by Mark: Don't code your application assuming the session ID is constant. If you remove the line your apache webserver will lose the http session after vm stops. A new http session will be created when request comes. Regards, Petar -Original Message- From: Oscar

Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
Hi all, I'm using Tomcat version 5.5.30, and I'm having a serious issue: Tomcat unexpectedly shuts down, I have my JVM tuned with enough memory and many option that warranty proper garbage collector and monitoring: -Xms5000m -Xmx5000m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC

RE: 64 bit version for linux

2010-08-09 Thread Caldarale, Charles R
From: Angelo Chen [mailto:angelochen...@yahoo.com.hk] Subject: Re: 64 bit version for linux this is the version i use: java version 1.6.0_21 Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode) Then you've answered your

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] Subject: Tomcat unexpectedly shuts down I'm using Tomcat version 5.5.30, and I'm having a serious issue: Tomcat unexpectedly shuts down Often caused by a webapp calling System.exit(). -Xms5000m -Xmx5000m Do you have enough RAM + swap

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
Hi, Thanks for your email Do you have enough RAM + swap space to support that large a heap, along with the other memory requirements of the Tomcat process and all other processes on the system? If not, you may well be getting hit by the Linux OOM-killer, which leaves few traces.

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread B. Balakrishna Rao
Hi, We have enabled the GC logs on our production and our tomcat server crashed too!! Apparently, GC logs takes high CPU and eventually, tomcat server crashes due to high CPU utilization of GC logs. Remove them, your problem will be solved. What I believe is, enabling GC logs are not

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] Subject: RE: Tomcat unexpectedly shuts down Yes we do, we have 6GB total memory That might not be enough. Besides the Java heap, there's a ton of other stuff that has to fit in the process space and overall RAM. Try shrinking your heap

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
From: B. Balakrishna Rao [mailto:balakrishna_...@persistent.co.in] Subject: RE: Tomcat unexpectedly shuts down Apparently, GC logs takes high CPU and eventually, tomcat server crashes due to high CPU utilization of GC logs. Your analysis is seriously flawed. High CPU utilization will not

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-09 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Rainer, I've gone through the install of 6.0.28, I can successfully launch my webapp from localhost. When I try accessing using the AJP/1.3, I am getting HTTP:404 errors The page cannot be found. I have not seen error messages in my isapi_redirect.log, any help would be great. Seems as though the

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
What would be the minimum memory needed by OS in order to have jvm/tomcat running properly? Our system will grow five times more and we were thinking to get a total of 20GB ram memory, we were planning to assign 18GB to jvm/tomcat and leave 2Gb to the OS. Is there a kind of rule for

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] Subject: RE: Tomcat unexpectedly shuts down What would be the minimum memory needed by OS in order to have jvm/tomcat running properly? There's no general answer to that. It depends entirely on what you're running in your environment.

Re: java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServlet

2010-08-09 Thread javagrl
Which version of tomcat are you using ? tomcat 7.x? -- View this message in context: http://old.nabble.com/java.lang.NoSuchMethodException%3A-org.apache.catalina.deploy.WebXml--addServlet-tp29221308p29388719.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Two-way SSL setup as Tomcat as a client

2010-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, On 8/7/2010 6:24 PM, Steve Johnson wrote: I can confirm that the Apache HTTPClient module is a good way to go. In fact, it works with zero configuration. You simply give it a normal 'https' URL, and it does the right thing automagically.

Re: 64 bit version for linux

2010-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mladen, On 8/9/2010 6:13 AM, Mladen Turk wrote: On 08/09/2010 11:40 AM, Angelo Chen wrote: Hi, in this link: http://tomcat.apache.org/download-60.cgi#6.0.29 it has 32 and 64 bits version of tomcat for Windows. but for Linux, there is only

Re: Tomcat unexpectedly shuts down

2010-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerardo, On 8/9/2010 10:26 AM, Gerardo Corro wrote: What would be the minimum memory needed by OS in order to have jvm/tomcat running properly? I have had Tomcat 5.5.x running with my own webapp in as little as 32MiB of allocated (-Xmx) heap on a

RE: 64 bit version for linux

2010-08-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: 64 bit version for linux Windows versions are distributed with tomcat native and service wrapper pre-compiled binaries, thus we have separate 32 and 64-bit flavors. Fox *nix platforms you will need to build

Re: 64 bit version for linux

2010-08-09 Thread Mladen Turk
On 08/09/2010 05:45 PM, Caldarale, Charles R wrote: jsvc, although I think it does an exec*() call to get the JVM going, so it probably doesn't matter if it's 32- or 64-bit. Nope it loads the jvm in process, so it has to match the arch. This allows to decrease the security credentials while

RE: 64 bit version for linux

2010-08-09 Thread Caldarale, Charles R
From: Mladen Turk [mailto:mt...@apache.org] Subject: Re: 64 bit version for linux jsvc, although I think it does an exec*() call to get the JVM going, Nope it loads the jvm in process Thanks for the correction. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Procrun problems with Tomcat 6 on Windows 64-bit

2010-08-09 Thread Stewart, Kevin L. (GSFC-417.0)[CONSTELLATION SOFTWARE ENGINEERING]
Hi, I've been looking on the web and the Tomcat wiki and haven't found any solution to this problem. I have a 64-bit Windows 2008 server with Java 1.6_20 (64-bit) and 64-bit tomcat 6.0.26 (6.0.29 also) installed as a service. I also have a Liferay portal that I need to install. But I am

Can Tomcat's port be set as an argument?

2010-08-09 Thread JohnRodey
I have a script that starts multiple processes, one of which being a Tomcat server. I would like to allow the user to specify the port for tomcat in my property file, and on startup that property be read and passed to tomcat, thus ignoring the 8080 set in the server.xml file. This way if 8080

java.lang.RuntimePermission accessClassInPackage.org.apache.catalina

2010-08-09 Thread Rashid Jilani
Hi: Gurus I am having the following exception when I try to fire Tomcat with -security option with JAAS Realm. java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.catalina) I am using Tomcat 6.0.29 on windows XP machine, with JDK

Re: Cluster Logging

2010-08-09 Thread Mark Eggers
How about something like this: handlers = 1catalina.org.apache.juli.FileHandler, \ 2localhost.org.apache.juli.FileHandler, \ 3manager.org.apache.juli.FileHandler, \ 4host-manager.org.apache.juli.FileHandler, \ java.util.logging.ConsoleHandler, \ 5cluster.org.apache.juli.FileHandler

Re: Can Tomcat's port be set as an argument?

2010-08-09 Thread JohnRodey
I was able to find this article, I'm going to try this. http://www.altuure.com/2008/11/12/tomcat-port-configuration/ -- View this message in context: http://old.nabble.com/Can-Tomcat%27s-port-be-set-as-an-argument--tp29390220p29390275.html Sent from the Tomcat - User mailing list archive at

Re: Cluster Logging

2010-08-09 Thread Mark Eggers
Let me try that again since my copy/paste failed. # # add an extra handler to direct to a different file # handlers = 1catalina.org.apache.juli.FileHandler, \ 2localhost.org.apache.juli.FileHandler, \ 3manager.org.apache.juli.FileHandler, \ 4host-manager.org.apache.juli.FileHandler, \

RE: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-09 Thread Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00
Chuck, I was able to get everything working on my end. There is a *significant* performance decrease when running my application through IIS and Tomcat using the isapi_redirect.dll, as opposed to port 8080. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]

Re: 64 bit version for linux

2010-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mladen, On 8/9/2010 12:17 PM, Mladen Turk wrote: On 08/09/2010 05:45 PM, Caldarale, Charles R wrote: jsvc, although I think it does an exec*() call to get the JVM going, so it probably doesn't matter if it's 32- or 64-bit. Nope it loads the

Re: java.lang.RuntimePermission accessClassInPackage.org.apache.catalina

2010-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rashid, On 8/9/2010 1:24 PM, Rashid Jilani wrote: Hi: Gurus I am having the following exception when I try to fire Tomcat with -security option with JAAS Realm. java.security.AccessControlException: access denied (java.lang.RuntimePermission

RE: Can Tomcat's port be set as an argument?

2010-08-09 Thread Caldarale, Charles R
From: JohnRodey [mailto:timothydd...@yahoo.com] Subject: Re: Can Tomcat's port be set as an argument? I was able to find this article, I'm going to try this. http://www.altuure.com/2008/11/12/tomcat-port-configuration/ Also read the Tomcat doc:

RE: java.lang.RuntimePermission accessClassInPackage.org.apache.catalina

2010-08-09 Thread Rashid Jilani
Hi; Chris, I am attaching the stack trace log file with this email. If you don't prefer attachments please let me know. BTW there is no jars in webapps/lib directory, so the problem is somewhere else. Regards, RJ. -Original Message- From: Christopher Schultz

RE: java.lang.RuntimePermission accessClassInPackage.org.apache.catalina

2010-08-09 Thread Rashid Jilani
Hi: Chris in case you can't see attachments here is the stack trace Aug 9, 2010 3:12:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

Re: Tomcat unexpectedly shuts down

2010-08-09 Thread André Warnier
Gerardo Corro wrote: What would be the minimum memory needed by OS in order to have jvm/tomcat running properly? Our system will grow five times more and we were thinking to get a total of 20GB ram memory, we were planning to assign 18GB to jvm/tomcat and leave 2Gb to the OS. Is there a

Re: Tomcat 6.0.18/ IIS 6.0 /SSL

2010-08-09 Thread André Warnier
Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: Chuck, I was able to get everything working on my end. There is a *significant* performance decrease when running my application through IIS and Tomcat using the isapi_redirect.dll, as opposed to port 8080. No way to know what you mean by

Re: java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServlet

2010-08-09 Thread ashelton3
javagrl wrote: Which version of tomcat are you using ? tomcat 7.x? I think I got this problem to go away by telling the Eclipse Tomcat server to genearate only XMK files. I'm not sure what that means, exactly, but it worked... -- View this message in context: