tomcat6 status results into dead state

2011-02-16 Thread rahul vatsa
Hi, When i start tomcat6 two times without a stop in between, rctomcat6 status results into dead state. I checked the rctomcat6 start script, in this case when the tomcat6 is already running and a rctomcat6 start is done, it display a msg that process already running, but it continues in the

Re: tomcat6 status results into dead state

2011-02-16 Thread André Warnier
Hi. This startup script is not part of the standard Tomcat distribution from http://tomcat.apache.org It was created by whoever created the distribution-specific tomcat package on your brand of system (we don't know which, because you do not say). (e.g. : apt-get install tomcat6 on a Debian

Re: Tomcat 7 - does unpackWars=false work

2011-02-16 Thread Mark Thomas
On 15/02/2011 21:47, Caldarale, Charles R wrote: From: afk...@gmail.com [mailto:afk...@gmail.com] On Behalf Of Afkham Azeez Subject: Tomcat 7 - does unpackWars=false work In my server.xml file, I have set unpackWars to false as follows: Host name=localhost appBase=webapps

Tomcat 6 - Multiple JMX Remote Lifecycle Listeners

2011-02-16 Thread Brett Delle Grazie
Hi, I'm running Tomcat 6.0.23 and Sun Java 1.6.0.22 on RHEL 5.6 x86_64. I've currently got one JMX Remote Lifecycle listener configured in server.xml: Listener className=org.apache.catalina.mbeans.JmxRemoteLifecycleListener rmiRegistryPortPlatform=X

Re: Tomcat 7 - does unpackWars=false work

2011-02-16 Thread Afkham Azeez
I explicitly set antiJARLocking and antiResourceLocking to false and now it is is working as expected. I;m using Embedded Tomcat. Thanks guys. Azeez On Wed, Feb 16, 2011 at 4:05 PM, Mark Thomas ma...@apache.org wrote: On 15/02/2011 21:47, Caldarale, Charles R wrote: From: afk...@gmail.com

Automated installer for war files

2011-02-16 Thread chris derham
All, I have been reading Continuous Integration: Improving Software Quality and Reducing Risk. It recommends having an automated installer for all deployments, so that the everything is the same on all environments. We typically have multiple instances of tomcat, allowing us to segregate

Re: Automated installer for war files

2011-02-16 Thread André Warnier
chris derham wrote: .. - Check for existing installation - if one found - shutdown existing service - remove existing service - remove existing tomcat instance - deploy new war, along with appropriate configuration files - register service - startup service I do not

Re: Automated installer for war files

2011-02-16 Thread chris derham
Maybe you should be more precise as to what exactly you want to be able to update mechanically. Fair question. We have different environments - test, uat and prod. We want the environments to be the same. We install multiple tomcat instances, so we don't typically customize the tomcat install

Re: Automated installer for war files

2011-02-16 Thread André Warnier
chris derham wrote: ... safer to remove service. That way if we make any tweaks to the service configuration, they would be propagated to all environments. (currently we update the windows service to add a variable to tell the app which environment it is running under) Can you expand a bit on

Re: Tomcat 6 - Multiple JMX Remote Lifecycle Listeners

2011-02-16 Thread Brett Delle Grazie
Hi, On 16 February 2011 11:18, Brett Delle Grazie brett.dellegra...@gmail.com wrote: Hi, I'm running Tomcat 6.0.23 and Sun Java 1.6.0.22 on RHEL 5.6 x86_64. I've currently got one JMX Remote Lifecycle listener configured in server.xml:        Listener

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/15/2011 5:57 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] OutOfMemoryError: GC overhead limit exceeded This error occurred /once/ at 16:39 EDT and it's 17:39 EDT now

Re: Automated installer for war files

2011-02-16 Thread chris derham
Can you expand a bit on the above ? (That seems to be the only part which is really Windows-specific). Such as, what variable are you talking about, defined where ? So currently we set catalina_home and catalina_base, cd into catalina_home\bin and run service install myApp then manually

Re: Replicate session-object after values in object has been changed

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 2/15/2011 3:46 PM, Martin Grotzke wrote: This is how it's implemented for memcached-session-manager (msm): when loading the session from memcached (either due to a tomcat failover or when loading a non-sticky session) the hash of the

Re: Struts application used as a web service (large number of sessions)

2011-02-16 Thread Denis . Laroche
Ok thanks, your explanations were very useful. I'll do what you suggested, i.e. not create a session for the Struts actions matching the web service clients. -- DL André Warnier a...@ice-sa.com 2011-02-15 06:02 PM Please respond to Tomcat Users List users@tomcat.apache.org To Tomcat

RE: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded Here's what jmap reports this morning: PS Old Generation capacity = 134217728 (128.0MB) used = 61911720 (59.043617248535156MB) free = 72306008

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Leon Rosenberg
On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded Here's what jmap reports this morning: PS Old Generation    capacity =

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 2/16/2011 11:53 AM, Leon Rosenberg wrote: On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] OutOfMemoryError: GC

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/16/2011 11:37 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded Here's what jmap reports this morning: PS Old Generation

Re: Performance Tuning Tomcat 7...

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 2/15/2011 2:43 PM, Pid wrote: On 2/15/11 2:34 PM, Christopher Schultz wrote: Pid, On 2/14/2011 5:39 AM, Pid wrote: On 2/13/11 8:15 PM, Tony Anecito wrote: Hi Mark, Here is the link to the screenshot I tried to send as an attachement.

Tomcat 7.0.8 JARs in Maven repos

2011-02-16 Thread Afkham Azeez
Hi folks, Can I know from which Maven repo I can fetch the JARs of the latest Tomcat release? repo1 seems to be having only upto the 7.0.6 JARs. Thanks Azeez

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Ronald Klop
Op woensdag, 16 februari 2011 18:17 schreef Christopher Schultz ch...@christopherschultz.net: Chuck, On 2/16/2011 11:37 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] OutOfMemoryError: GC overhead limit exceeded

Re: Tomcat 7.0.8 JARs in Maven repos

2011-02-16 Thread Mark Thomas
On 16/02/2011 17:46, Afkham Azeez wrote: Hi folks, Can I know from which Maven repo I can fetch the JARs of the latest Tomcat release? repo1 seems to be having only upto the 7.0.6 JARs. Search the archives. That question was asked and answered a couple of days ago. Mark

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 2/16/2011 12:48 PM, Ronald Klop wrote: I see the same problem with jstack and friends if a process is gc'ing a lot. Interesting. I don't have verbose GC enabled (can you enable that after JVM launch using JConsole or something like

Re: Replicate session-object after values in object has been changed

2011-02-16 Thread Filip Hanik - Dev Lists
On 2/15/2011 1:04 PM, Thomas Andraschko wrote: Hmm not really but the tcp cluster with BackupManager would be enough (if it would check for modification). That can be easy, or hard :) If you know how to check for modification, then you can implement a simple filter that adds the attribute

hi

2011-02-16 Thread Anup Niroula
Hi, How can i configure my localhost:8080 tomcat so that the site could be accessible through ip address by other computers in the network. Sincerely, Anup

Re: hi

2011-02-16 Thread Ozgur Ozdemircili
Well, Actually tomcat comes configured on port 8080. You just need to start it and make sure you dont have any firewall in your server blocking this port. Thats it. Best! Özgür Özdemircili http://www.acikkod.org Code so clean you could eat off it On Wed, Feb 16, 2011 at 7:42 PM, Anup Niroula

RE: hi

2011-02-16 Thread Caldarale, Charles R
From: Anup Niroula [mailto:anup.niro...@gmail.com] Subject: hi How can i configure my localhost:8080 tomcat so that the site could be accessible through ip address by other computers in the network. Assuming there are no firewalls in the way, you already have. The other computers would

Re: Automated installer for war files

2011-02-16 Thread André Warnier
chris derham wrote: Can you expand a bit on the above ? (That seems to be the only part which is really Windows-specific). Such as, what variable are you talking about, defined where ? So currently we set catalina_home and catalina_base, cd into catalina_home\bin and run service install

Re: hi

2011-02-16 Thread Anup Niroula
Hi, Thanx for the reply. Is there any way i can provide domain namewww.abc.cominstead of ip address to be accessed with in network. ? Sincerely, Anup On Wed, Feb 16, 2011 at 12:48 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anup Niroula [mailto:anup.niro...@gmail.com]

Re: hi

2011-02-16 Thread David kerber
On 2/16/2011 2:04 PM, Anup Niroula wrote: Hi, Thanx for the reply. Is there any way i can provide domain namewww.abc.cominstead of ip address to be accessed with in network. ? If your internal dns server will resolve it to the correct ip address, it will work. Sincerely, Anup On

Re: Tomcat 7.0.8 maven repository

2011-02-16 Thread Mark Thomas
On 14/02/2011 21:47, George Vagenas wrote: Thanks Mark My bad. There was an incorrect version in a config file. 7.0.8 files have been uploaded and should sync shortly. Mark On Sun, Feb 13, 2011 at 12:32 PM, George Vagenas gvage...@gmail.com wrote: Hi guys, I am trying to locate the

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Ronald Klop
Op woensdag, 16 februari 2011 19:18 schreef Christopher Schultz ch...@christopherschultz.net: Ronald, On 2/16/2011 12:48 PM, Ronald Klop wrote: I see the same problem with jstack and friends if a process is gc'ing a lot. Interesting. I don't have verbose GC enabled (can you enable

Re: hi

2011-02-16 Thread Anup Niroula
Hi, could you please explain me in detail. How can i provide a domain name for my website like www.lsctesting.com using tomcat 7 to be accessed in the network. Sincerely, Anup On Wed, Feb 16, 2011 at 1:07 PM, David kerber dcker...@verizon.net wrote: On 2/16/2011 2:04 PM, Anup Niroula wrote:

RE: hi

2011-02-16 Thread Caldarale, Charles R
From: Anup Niroula [mailto:anup.niro...@gmail.com] Subject: Re: hi Hi, could you please explain me in detail. How can i provide a domain name for my website like www.lsctesting.com using tomcat 7 to be accessed in the network. This has nothing to do with Tomcat. Contact your network

Re: Replicate session-object after values in object has been changed

2011-02-16 Thread Martin Grotzke
On Wed, Feb 16, 2011 at 5:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: On 2/15/2011 3:46 PM, Martin Grotzke wrote: This is how it's implemented for memcached-session-manager (msm): when loading the session from memcached (either due to a tomcat failover or when loading a

Tomcat 6.0.20/AJP connector issues - errors in apache log

2011-02-16 Thread Shaun Qualheim
*Basics:* Tomcat 6.0.20 (5 instances) Apache 2.2.13 using mod_proxy_ajp to connect to the tomcat instances Dell Poweredge 1950 running Fedora Core We're noticing that we frequently have a buildup in the morning of AJP errors in our apache error_log along the following lines: *[Wed Feb 16

Re: huge info messages about mod_jk

2011-02-16 Thread Yu Kikuchi
Mr.Schultz Here's my Apache, mod_jk and JBoss(Tomcat) configurations. I think it seems the same setting between MaxClients and maxThreads, and they have no problems about the Timeout settings. Would you find any mistakes in these files? [httpd.conf](preforkMPM) MaxClients 81 Listen 8008

Re: Tomcat Secuirty Problem

2011-02-16 Thread jamana ramesh
Hi, I am new to Tomcat server. I have installed Tomcat 6 and deployed a web application. This application has to decrypt some files and store in a temp folder. I have created a folder with name temp' in WEB-INF folder of my applciation. But When I am running my application, at the time of

Tomcat Security Problem

2011-02-16 Thread jamana ramesh
Hi, I am new to Tomcat server. I have installed Tomcat 6 and deployed a web application. This application has to decrypt some files and store in a temp folder. I have created a folder with name temp' in WEB-INF folder of my applciation. But When I am running my application, at the time of

RE: Tomcat Secuirty Problem

2011-02-16 Thread Caldarale, Charles R
From: jamana ramesh [mailto:ramesh.jam...@gmail.com] Subject: Re: Tomcat Secuirty Problem I am new to Tomcat server. And unaware of basic etiquette: 1) Don't cross-post. 2) Always provide the exact Tomcat version, JVM level, and OS you're running on. This application has to decrypt some

Re: [OT] OutOfMemoryError: GC overhead limit exceeded

2011-02-16 Thread Leon Rosenberg
On Wed, Feb 16, 2011 at 6:16 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 2/16/2011 11:53 AM, Leon Rosenberg wrote: On Wed, Feb 16, 2011 at 5:37 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From:

error when tomcat is shutting down

2011-02-16 Thread James Godrej
/opt/apache-tomcat-5.5.31/bin/bootstrap.jar 2011-02-17 12:50:38,919 ERROR main org.apache.catalina.startup.Catalina - Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at