Re: Help with Cluster Setup on Tomcat 9

2025-05-01 Thread Zoran Avtarovski
this area. Z. On 26/4/2025 5:29 am, Christopher Schultz wrote: Zoran, On 4/24/25 4:21 AM, Zoran Avtarovski wrote: Thanks Chuck, I missed that and will implement. Bigger problem is that PersistentManager is incompatible with Clusters so we have to migrate back to memory based sessions an

Re: Help with Cluster Setup on Tomcat 9

2025-04-24 Thread Zoran Avtarovski
On 24/04/2025 02:02, Zoran Avtarovski wrote: We have a cluster of tomcat servers on AWS EC2 which operate behind an AWS load balancer with sticky sessions. We have our session storage on a DB using a JDBC store which for the most part is working well, but we occasionally see duplicate session

Re: Help with Cluster Setup on Tomcat 9

2025-04-24 Thread Zoran Avtarovski
. Does anyone know why they aren't supported? Z. On 24/4/2025 11:20 am, Chuck Caldarale wrote: On 2025 Apr 23, at 20:02, Zoran Avtarovski wrote: We have a cluster of tomcat servers on AWS EC2 which operate behind an AWS load balancer with sticky sessions. We have our session storage on

Help with Cluster Setup on Tomcat 9

2025-04-23 Thread Zoran Avtarovski
We have a cluster of tomcat servers on AWS EC2 which operate behind an AWS load balancer with sticky sessions. We have our session storage on a DB using a JDBC store which for the most part is working well, but we occasionally see duplicate session ids which create issues where a new session w

Re: Spring Scheduled Task is triggered multiple times

2015-07-14 Thread Zoran Avtarovski
the most informative lists. Z. On 6/07/2015 12:50 am, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Zoran, > >On 7/3/15 2:41 AM, Zoran Avtarovski wrote: >> I have a context.xml in the META-INF directory which sets up a d

Re: Spring Scheduled Task is triggered multiple times

2015-07-03 Thread Zoran Avtarovski
Neven, You¹re a genius. The web.xml was fine but you got me thinking about spring configuration. We had one of our young guys run into an issue with spring. He implemented some work around and nobody bothered checking because it was minor bit of code on the periphery of the app. Anyway I searche

Re: Spring Scheduled Task is triggered multiple times

2015-07-02 Thread Zoran Avtarovski
of executions, which makes sense. It looks like I need to find out why the spring config is loaded multiple times. I have a context.xml in the META-INF directory which sets up a db container and jndi datasource realm, could this be the issue? Z. On 2/07/2015 3:22 pm, "

Re: Spring Scheduled Task is triggered multiple times

2015-07-02 Thread Zoran Avtarovski
Hi Andre, On 2/07/2015 11:59 pm, "André Warnier" wrote: >Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Zoran, >> >> On 7/2/15 1:22 AM, Zoran Avtarovski wrote: >>> We have a struts2 based ap

Re: Spring Scheduled Task is triggered multiple times

2015-07-02 Thread Zoran Avtarovski
Hi Christopher, On 2/07/2015 11:52 pm, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Zoran, > >On 7/2/15 1:22 AM, Zoran Avtarovski wrote: >> We have a struts2 based app that uses spiring scheduling to trigger >>

Re: Spring Scheduled Task is triggered multiple times

2015-07-02 Thread Zoran Avtarovski
/login-error.jsp Thanks again. Z. On 2/07/2015 5:20 pm, "André Warnier" wrote: >Zoran Avtarovski wrote: >> We have a struts2 based app that uses spiring scheduling to trigger a >>task >> every morning at 6am. >> >> The prob

Spring Scheduled Task is triggered multiple times

2015-07-01 Thread Zoran Avtarovski
We have a struts2 based app that uses spiring scheduling to trigger a task every morning at 6am. The problem we have is that task in triggered multiple times, simultaneously. We have an Ubuntu 14.04.1 Server using the standard tomcat 7 installed using apt-get and running on oracle java 8. Tomcat

Re: Tomcat 8.0.22 - Putting all Libraries in a Separate Folder to reduce War file size

2015-05-26 Thread Zoran Avtarovski
We use GIT for deployment. This way you are only uploading the delta. Have a look at how OpenShift does it for the mechanics. I wasn¹t involved in setting up the system we use but I know the team who did leaned heavily on what was done on OpenShift. I can tell you from experience deployments are

Re: Help in diagnosing server unresponsiveness

2013-02-20 Thread Zoran Avtarovski
Also, I forgot to add the details of the memory histogram: Heap Classes: 3,999, Instances: 6,333,516, Kilo-Bytes: 592,665 Class Size (Kb) % size Instances % instances int[]243,29641151,0842 char[]153,148251,699,59426 java.lang.String36,70861,174,68318 byte[]29,6505120,3661 java.lang.Ob

Re: Help in diagnosing server unresponsiveness

2013-02-20 Thread Zoran Avtarovski
Hi Guys, It's been a while but the nature of this problem means it may be a while between crashes. But we just had a big one which hung the system and required a reboot. I have changed the tomcat options as follows inline with all the advice and material I read to be as follows: -server -Xms1460

Re: Help in diagnosing server unresponsiveness

2013-02-05 Thread Zoran Avtarovski
Thanks Igor, I just stumbled upon that same document. I think you may be on to something here. I have a feeling that the GC may not be configured well. Z. On 6/02/13 2:15 PM, "Igor Cicimov" wrote: >On Wed, Feb 6, 2013 at 1:15 PM, Zoran Avtarovski >wrote: > >

Re: Help in diagnosing server unresponsiveness

2013-02-05 Thread Zoran Avtarovski
Here's some updated observations after a not quite incident (CPU and memory spiked but the app is still running): 1. Yesterday we had a 90% CPU spike at a time where there was absolutely no server traffic. Verified through both the HTTP logs and the mod_jk logs. The CPU spiked and recovered back t

Re: Help in diagnosing server unresponsiveness

2013-02-02 Thread Zoran Avtarovski
Hi Howard, The move to linux was part of a move in-house for our client as the web services are only accessible behind the firewall. My gut feeling is that the issue isn't related to the WS as they run on a scheduled task 3 times a day. I think the issue lies in our app and struggling with not be

Re: Help in diagnosing server unresponsiveness

2013-02-02 Thread Zoran Avtarovski
z Castaños" wrote: >On 01/02/2013 20:08, Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Zoran, >> >> On 1/31/13 8:36 PM, Zoran Avtarovski wrote: >>> We have a application running on the latest Tomcat7 and we are

Re: Help in diagnosing server unresponsiveness

2013-02-02 Thread Zoran Avtarovski
Hi Edson, We do have some background threads as we use Quartz for scheduling tasks but we haven't had any issues with it in the past. I also checked the monitoring and I'm seeing anything strange during the execution of the scheduled tasks. Z. --

Re: Help in diagnosing server unresponsiveness

2013-02-02 Thread Zoran Avtarovski
pe is that once I can work out what's happening I can then fix the cause, but at the moment I'm flying blind on this. Z. On 2/02/13 6:08 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Zoran, > >On 1/31/13 8:36 PM,

Re: Help in diagnosing server unresponsiveness

2013-02-02 Thread Zoran Avtarovski
I'm using the Sun JVM 1.6.0_31-b04. We had other performance issues with openJDK. Z. On 3/02/13 2:41 PM, "Edson Richter" wrote: >Em 03/02/2013 01:35, Zoran Avtarovski escreveu: >> Thanks for the advice. >> >> All libraries are within the apps WEB-INF folder

Re: Help in diagnosing server unresponsiveness

2013-02-02 Thread Zoran Avtarovski
gt;> got the point, right? >> >> By using good server hardware (ECC memory, SCSI disks, etc), a stable >> linux distro (my preference is for CentOS 64bit), and following the >> rules above, I manage to have web apps that run withing 2Gb of memory >> (on 8Gb of ha

Re: Help in diagnosing server unresponsiveness

2013-01-31 Thread Zoran Avtarovski
Current Java Version is 1.6.0_31-b04 Sun MicroSystems The old Windows version was the Sun 1.6 as well but I can't remember which specific release. Z. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Help in diagnosing server unresponsiveness

2013-01-31 Thread Zoran Avtarovski
ther relevant data when Tomcat crashes? Z. On 1/02/13 12:36 PM, "Zoran Avtarovski" wrote: >Hi Guys, > >We have a application running on the latest Tomcat7 and we are getting a >server crash or becoming unresponsive. This occur every few days at no >fixed >intervals or

Help in diagnosing server unresponsiveness

2013-01-31 Thread Zoran Avtarovski
Hi Guys, We have a application running on the latest Tomcat7 and we are getting a server crash or becoming unresponsive. This occur every few days at no fixed intervals or time of day and they certainly don't correlate to any app function ­ at least not according to the logs. We set setup monitor