Session replication/fail-over for medium sized tomcat farm

2015-07-03 Thread Charles Richard
Hi, We are currently using a product called Terracotta to do session fail-over/replication but are considering moving away from this product as it doesn't seem to support Java 7 and Tomcat 7. What products exist out there that would help with session fail-over/replication? I only know of 3: -

Re: Session replication/fail-over for medium sized tomcat farm

2015-07-03 Thread Charles Richard
On Fri, Jul 3, 2015 at 9:58 AM, Daniel Mikusa dmik...@pivotal.io wrote: On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, We are currently using a product called Terracotta to do session fail-over/replication but are considering moving away from

mod_jk NetworkError: 400 Bad Request - https://xxx.xx.xxx.xxx

2014-07-21 Thread Charles Richard
Hi, I am using Apache 2.2.3 with mod_jk 1.2.31 and Tomcat 6.0.30 . I have never had issues with using mod_jk to connect my Apache requests to a tomcat instance before now but I am now running into a situation where Apache requests going to a tomcat instance on another server are giving me an 400

Re: mod_jk NetworkError: 400 Bad Request - https://xxx.xx.xxx.xxx

2014-07-21 Thread Charles Richard
On Mon, Jul 21, 2014 at 11:39 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Mon, Jul 21, 2014 at 10:32 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, I am using Apache 2.2.3 with mod_jk 1.2.31 and Tomcat 6.0.30 . I have never had issues with using mod_jk to connect

tomcat heap gc marksweep outage

2014-06-30 Thread Charles Richard
Hi, I'm trying to help out my old company who has no IT staff to look at this. This might be a bad coding issue but I'm hoping to be able to understand this issue. They are using Tomcat 6.0.35 and Java 1.6.0_26 . The application is a Java, hibernate, c3p0 application, not really sure if it is

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-05 Thread Charles Richard
On Tue, Mar 4, 2014 at 8:57 PM, Neven Cvetkovic neven.cvetko...@gmail.comwrote: On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard charle...@thelearningbar.com wrote: On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: Can we still use Hibernate

Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Charles Richard
Hi, I am testing the jdbc pool to replace the c3p0 pool we were using for our Tomcat connection pool. We are also using Spring 2.0 and Hibernate (and Tomcat 6). When I put this in my hibernate-context.xml, our application is using the jdbc pool and appears to work: bean id=dataSource

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Charles Richard
PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 1:03 PM, Charles Richard wrote: Hi, I am testing the jdbc pool to replace the c3p0 pool we were using for our Tomcat connection pool. We are also using Spring 2.0 and Hibernate (and Tomcat 6). When I put this in my

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-04 Thread Charles Richard
On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/4/14, 2:10 PM, Charles Richard wrote: The tomcat version is 6.0.30. You should look at the changelog and security reports. I think

Re: Tomcat/Java Spring MVC 2.0/c3p0 - Consultant needed

2014-02-25 Thread Charles Richard
Hi, On Tue, Feb 25, 2014 at 1:26 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 2/24/14, 10:15 AM, Charles Richard wrote: Sorry if this is not the right forum for this kind of inquiry. I figure the best

Re: Tomcat/Java Spring MVC 2.0/c3p0 - Consultant needed

2014-02-25 Thread Charles Richard
On Tue, Feb 25, 2014 at 11:37 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Feb 25, 2014, at 10:14 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, On Tue, Feb 25, 2014 at 1:26 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE

Tomcat/Java Spring MVC 2.0/c3p0 - Consultant needed

2014-02-24 Thread Charles Richard
Hi, Sorry if this is not the right forum for this kind of inquiry. I figure the best candidates would be in this forum from personal experience. Our company is having production issues which I believe are either due to application inefficiencies or a bug somewhere in our software stack. We are

Re: Tomcat thread dump analysis

2013-05-09 Thread Charles Richard
On Wed, May 8, 2013 at 6:16 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 5/8/13 1:57 PM, Charles Richard wrote: I appreciate the friendly feedback! How do I show a lock? I don't see any threads that have

Tomcat thread dump analysis

2013-05-08 Thread Charles Richard
Hi, We have a weird issue on our site which some random trigger event will backup all c3p0 connections until it hits the max pool size. I have scripts that will do a softReset on the c3p0 connection pool when they hit their max so help us manage the issue and to also help me have time to

Re: Tomcat thread dump analysis

2013-05-08 Thread Charles Richard
Oh and sorry, we are using Tomcat 6.0.30 . Cheers! On Wed, May 8, 2013 at 9:20 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, We have a weird issue on our site which some random trigger event will backup all c3p0 connections until it hits the max pool size. I have scripts

Re: Tomcat thread dump analysis

2013-05-08 Thread Charles Richard
, Charles Richard wrote: Hi, We have a weird issue on our site which some random trigger event will backup all c3p0 connections until it hits the max pool size. I have scripts that will do a softReset on the c3p0 connection pool when they hit their max so help us manage the issue

Re: Tomcat thread dump analysis

2013-05-08 Thread Charles Richard
Just saw this which I believe describes exactly what is happening: http://forums.terracotta.org/forums/posts/list/6470.page We are using Spring as well. Trying to understand the solution: Charles On Wed, May 8, 2013 at 9:31 AM, Charles Richard charle...@thelearningbar.com wrote: We

Re: Tomcat thread dump analysis

2013-05-08 Thread Charles Richard
$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:662) Cheers, Charles On Wed, May 8, 2013 at 9:42 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 5/8/13 8:31 AM, Charles Richard

Re: Tomcat thread dump analysis

2013-05-08 Thread Charles Richard
On Wed, May 8, 2013 at 2:33 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 5/8/13 11:25 AM, Caldarale, Charles R wrote: From: Charles Richard [mailto:charle...@thelearningbar.com] Subject: Re: Tomcat thread dump

Re: Tomcat JDBC connection pool + JMX

2013-03-27 Thread Charles Richard
Hi, There might be better ways but I monitor the c3p0 connection pool using jmxterm (my jar jmxterm-1.0-alpha-4-uber.jar). For c3p0, the mbean is com.mchange.Pooled... Hope this helps a little! Cheers, Charles On Wed, Mar 27, 2013 at 9:34 AM, Jose María Zaragoza demablo...@gmail.comwrote:

Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-13 Thread Charles Richard
Hi, Not sure if this is the same issue but I believe you might need the tcp_tw_reuse and tcp_tw_recycle parameters in /proc/sys/net/ipv4 to be at a value of 1? Since you already achieved 1 connections, I'm thinking it's probably something else though. Cheers, Charles On Wed, Feb 13, 2013

Re: unknown state in VisualVM

2012-10-31 Thread Charles Richard
, Charles On Mon, Oct 29, 2012 at 11:48 AM, Charles Richard charle...@thelearningbar.com wrote: Load test users from Jmeter. Cheers, Charles On Mon, Oct 29, 2012 at 11:25 AM, André Warnier a...@ice-sa.com wrote: Charles Richard wrote: I'm doing some performance tuning on our application

Re: unknown state in VisualVM

2012-10-31 Thread Charles Richard
Actually, never mind, wrong timestamp, apache and mod_jk are seemingly down during load with no errors in Apache or mod_jk log. Thanks, Charles On Wed, Oct 31, 2012 at 3:38 PM, Charles Richard charle...@thelearningbar.com wrote: In case this would help further, I also see this in my debug

unknown state in VisualVM

2012-10-29 Thread Charles Richard
Hi, I had a thread a while back but my configuration has changed and so has my issue, so hence a new thread. My config: CentOS 5.8 Apache 2.23 3 tomcat instances (6.0.30) with each ajp_port with a connectionTimeout setting of 18 mod_jk 1.2.37 workers.properties: # Define 1 real worker

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
To add to this, apache seems to be hung up as well as it can't even serve regular non mod_jk content but there's no error messages. Cheers, Charles On Mon, Oct 29, 2012 at 9:37 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, I had a thread a while back but my configuration has

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
:39 AM, Daniel Mikusa dmik...@vmware.com wrote: On Oct 29, 2012, at 8:37 AM, Charles Richard wrote: Hi, I had a thread a while back but my configuration has changed and so has my issue, so hence a new thread. My config: CentOS 5.8 Apache 2.23 3 tomcat instances (6.0.30

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
:48 AM, Daniel Mikusa dmik...@vmware.com wrote: On Oct 29, 2012, at 9:41 AM, Charles Richard wrote: No firewall, all on one server. Right now, I'm thinking I'm either hitting some type of tcp connection maximum or something is going on with Apache or mod_jk. Think you might

Re: unknown state in VisualVM

2012-10-29 Thread Charles Richard
Load test users from Jmeter. Cheers, Charles On Mon, Oct 29, 2012 at 11:25 AM, André Warnier a...@ice-sa.com wrote: Charles Richard wrote: I'm doing some performance tuning on our application and noticed a couple of days ago that which a load of 1500 users, my threads in VisualVM

Re: Max Threads - Worker Threads clarification

2012-10-24 Thread Charles Richard
: SHA1 Charles, On 10/23/12 3:01 PM, Charles Richard wrote: I am doing load testing. I'm trying to ensure that our production site can handle as much traffic as it possibly can and I'm trying to make sure I refine my performance tuning skills on a test environment. Here are some more

Max Threads - Worker Threads clarification

2012-10-23 Thread Charles Richard
Hi, I'm testing performance of our Java application in Tomcat (6.0.30) and we have maxThreads set to 750. I noticed that when i did a netstat -an | grep my_ajp_port, i saw around 860 connections. Wanting to know what was happening, I did a jstack of my tomcat pid and inspected the track with

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Charles Richard
Hi, Thanks for the reply! The command was the following: [root@mysandbox tmp]# netstat -an | grep 8009 | wc 8565136 76184 How should i interpret this? I thought this meant that 856 threads were open while my MaxThreads is 750. I'm trying to understand if all my workerThreads are

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Charles Richard
? Tomcat would eventually not respond anymore which I was trying to understand why as my jstack dump shows TP-Processor threads waiting. Thanks! Cheers, Charles On Tue, Oct 23, 2012 at 2:22 PM, Daniel Mikusa dmik...@vmware.com wrote: On Oct 23, 2012, at 12:10 PM, Charles Richard wrote: Hi

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Charles Richard
, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles, On 10/23/12 10:45 AM, Charles Richard wrote: I'm testing performance of our Java application in Tomcat (6.0.30) and we have maxThreads set to 750. I noticed that when i did

Re: Max Threads - Worker Threads clarification

2012-10-23 Thread Charles Richard
wrote: On 23/10/2012 19:46, Charles Richard wrote: With wc removed, it looked like the following: tcp0 0 127.0.0.1:8009 127.0.0.1:37744 ESTABLISHED tcp0 0 127.0.0.1:8009 127.0.0.1:36976 ESTABLISHED tcp0 0 127.0.0.1:8009

Re: tomcat 6 virtual hosting vs apache virtual hosting

2012-09-05 Thread Charles Richard
PM, Charles Richard wrote: I've started a new job where the last sysadmin has the virtual hosting configured in Tomcat (and Apache). I'm used to only doing virtual hosting with Apache. What are the pros and cons of each method? I'm trying to understand why that would be needed. I'd

tomcat 6 virtual hosting vs apache virtual hosting

2012-09-04 Thread Charles Richard
Hi, I've started a new job where the last sysadmin has the virtual hosting configured in Tomcat (and Apache). I'm used to only doing virtual hosting with Apache. What are the pros and cons of each method? I'm trying to understand why that would be needed. Thanks, Charles