mod_jk load balancing to Tomcats or SonicWall NetScaler?

2016-05-09 Thread Jason Britton
Hello Good People - I'm trying to determine the best route in which to load balance multiple tomcats, what should I be taking into consideration when choosing between SonicWall's NetScaler or in continuing to use mod_jk? This question isn't meant to fuel a purchase decision as we have already

Re: Zero downtime deployments

2015-12-22 Thread Jason Britton
On Tue, Dec 22, 2015 at 4:01 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Jason, > > On 12/21/15 12:22 PM, Jason Britton wrote: > > Following back up after perusing Chris' very helpful presentation ( > > > http://people.apache.org/~schultz/Apache

handling tomcat failover - session transition to new node

2015-12-22 Thread Jason Britton
Questions on particulars of session fail over in my on going quest for zero downtime deployments - My current plan is to use JDBCStore for persisting to a database table shared by all tomcats powering apps. But this has brought up a couple concerns... If while a tomcat node is being shut down

Re: Zero downtime deployments

2015-12-21 Thread Jason Britton
Following back up after perusing Chris' very helpful presentation ( http://people.apache.org/~schultz/ApacheCon%20NA%202015/Load-balancing%20Tomcat%20with%20mod_jk.pdf) on load balancing tomcats with mod_jk. One part not mentioned was session fail over. Which my current plan is to use JDBCStore

Zero downtime deployments

2015-12-02 Thread Jason Britton
Hello Good People - I was looking for information for how those on the list achieve zero downtime deployments of their tomcat hosted web applications. I imagine this can be achieved in a variety of ways, but would love to hear what works for you. In our current environment we front multiple

Re: Zero downtime deployments

2015-12-02 Thread Jason Britton
Thank you Christopher, reading now and we'll see if I can swing the conference :) On Wed, Dec 2, 2015 at 4:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Jason, > > On 12/2/15 4:07 PM, Jason Britton wrote: > > I was looking for information for how thos

Re: SSL and Virtual Hosting

2015-10-21 Thread Jason Britton
Hi Björn - Look in tomcat/conf at the server.xml, you'd just define multiple host entries, one host entry would have a name of "alice.example.com" the other with "bob.example.com". Each host entry would also have its own appBase (alice-webapps & bob-webapps), meaning both sites could be deployed

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-01 Thread Jason Britton
OP here. I really appreciate the objective well thought out responses, this community has never disappointed me. A more qualified list of respondents I will not find elsewhere. George I should have said Windows Server 2012 R2. A lot of our Windows servers are still 2008 R2 but any new ones

Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-09-30 Thread Jason Britton
Hello Good People - We currently have multiple Tomcat instances deployed on RHEL in production with no issues but I am getting asked why we shouldn't migrate everything to run on Windows 2008 R2 Server instead. My stomach churns at the thought but I am looking for more concrete information about

Re: Connection Leak

2010-11-03 Thread Jason Britton
Since you're using an Oracle database - another way to identify areas in your code that aren't closing connections. In the sql below substitute YOURDBUSER with the name of the database user your connections connect to your database with and YOURWEBSERVER with the name of your webserver. The

Re: tomcat 6.0.29 hung

2010-10-26 Thread Jason Britton
I've further traced the root cause of my problems with threads sitting on socket read, never timing out, never throwing an exception and sometimes causing application deadlock (depending on where the socket read occurs) down to the network. By comparing the output of lsof -i :1521 | grep on

Re: Login page timeout

2010-10-22 Thread Jason Britton
Top result doing google search http://www.mindspill.org/kiwiThread$msgnum=207 See Mark's response bottom of page: https://issues.apache.org/bugzilla/show_bug.cgi?id=3839#c14 On Fri, Oct 22, 2010 at 3:15 AM, Gabriele Bulfon gbul...@sonicle.comwrote: Hello, I'm trying to figure out how to

Re: tomcat 6.0.29 hung

2010-10-22 Thread Jason Britton
So while working on reproducing tomcat webapp hang as earlier discussed, a different tomcat serving up a single webapp on same box also stopped responding, jvm for this tomcat is still running but when trying to reach it via browser I get error page of unable to connect. Thread dumps for both

Re: tomcat 6.0.29 hung

2010-10-22 Thread Jason Britton
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) On Fri, Oct 22, 2010 at 6:34 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Jason Britton [mailto:jbritto...@gmail.com] Subject: Re: tomcat 6.0.29 hung My thoughts

Re: tomcat 6.0.29 hung

2010-10-22 Thread Jason Britton
one of two of the hanging applications are doing db connection validation. The application using DBCP configures it's SharedPoolDataSource using setValidationQuery(select 'validationQuery' from dual); setTestOnBorrow(true); Funny enough, thread stacktrace below shows

Re: tomcat 6.0.29 hung

2010-10-22 Thread Jason Britton
Thanks for the insight Dave. I have several threads sitting spinning on socket read at the moment and dba reports zero database locks of any kind on database they're trying to read from (a qa database). Quite baffled as to what's happening to these database connections and why every now and then

Re: [OT] VisualVM, (was Re: tomcat 6.0.29 hung)

2010-10-21 Thread Jason Britton
, Oct 21, 2010 at 2:25 AM, Pid p...@pidster.com wrote: On 21/10/2010 00:11, Jason Britton wrote: Highly recommend trying out jvisualvm (it's in your jdk bin) if you're running 1.6. There's a standalone release - 1.3.1 - with more plugins some slightly shinier toys. https

Re: tomcat 6.0.29 hung

2010-10-21 Thread Jason Britton
Hi Martin, In researching my jstack not working issue I too came across the make sure you run jstack as the same user that tomcat is running as. So I did try su'ing to my tomcat user and issuing the jstack -F -l -m pid command to no avail. After I reproduce my application deadlock again this

Re: Problems with logging.properties

2010-10-20 Thread Jason Britton
in Ubuntu Server 10.10 with Tomcat alone). Edson. Em 19/10/2010 20:43, Jason Britton escreveu: Just for your sanity, to make sure there are no other logging.properties files in your classpath, change the prefix for your FileHandler to something other than catalina so you can be sure

tomcat 6.0.29 hung

2010-10-20 Thread Jason Britton
I have a tomcat instance hanging up (and currently still hung up) and would really appreciate pointers on how to debug further. A belated thanks to Konstantin for the info on kill -QUIT pid to retrieve thread dumps But I was only able to pull thread dumps on the hung process using jvisualvm.

Re: tomcat 6.0.29 hung

2010-10-20 Thread Jason Britton
commons-dbcp-1.2.1.jar and commons-pool-1.3.jar I have a connection handler class that I wrote around a static instance of SharedPoolDataSource. SharedPoolDataSource gets initialized in static block. Locking shown in stacktrace is occurring within aSharedPoolDataSource.getConnection() call.

Re: Struts 2 help with Tomcat 6

2010-10-18 Thread Jason Britton
This gives a little more detail than whatever you're currently looking at http://struts.apache.org/2.2.1/docs/create-struts-2-web-application-with-artifacts-in-web-inf-lib-and-use-ant-to-build-the-application.html On Mon, Oct 18, 2010 at 7:07 PM, Josh Gooding josh.good...@gmail.comwrote:

Tomcat hung - still processing a request that has yet to finish

2010-10-12 Thread Jason Britton
Hi all, Tomcat 6.0.29 on 64bit RHEL 5.5. This particular tomcat instance had been running fine for several days, today hung, stopped responding to requests, no interesting log messages appeared until calling shutdown.sh. Then the following appeared: (appears multiple times at end of log) ERROR

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-06 Thread Jason Britton
To your mysql Resource definition below I would add validationQuery=SELECT 1 That should prevent your application from getting handed stale db connections from your pool. Take a look at the testOnBorrow and validationQuery definitions here http://commons.apache.org/dbcp/configuration.html Jason

Re: conf/Catalina/HOST/contextname.xml being removed

2010-09-22 Thread Jason Britton
what happens. Thanks for your insights. Jason On Wed, Sep 22, 2010 at 10:54 AM, Pid p...@pidster.com wrote: On 10/09/2010 01:03, Jason Britton wrote: Could anyone give me an explanation what might cause my webapp's context configuration to be deleted out of the tomcat/conf/Catalina/[HOST

Re: context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-11 Thread Jason Britton
, 2010 at 6:36 PM, Jason Britton jbritto...@gmail.com wrote: Could anyone give me an explanation what might cause my webapp's context configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/ directory? I've got a foo.war file in the webapps directory, it gets exploded upon

context.xml being deleted out of conf/Catalina/[HOST]/ directory

2010-09-10 Thread Jason Britton
Could anyone give me an explanation what might cause my webapp's context configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/ directory? I've got a foo.war file in the webapps directory, it gets exploded upon startup. It has its context definition residing in the file

conf/Catalina/HOST/contextname.xml being removed

2010-09-09 Thread Jason Britton
Could anyone give me an explanation what might cause my webapp's context configuration to be deleted out of the tomcat/conf/Catalina/[HOST]/ directory? I've got a foo.war file in the webapps directory, it gets exploded upon startup. It has its context definition residing in the file

Re: interaction between .forward() and security-constraint

2010-09-04 Thread Jason Britton
I would look at a servlet filter to provide this sort of dynamic access control. Map urls of your choosing to pass through this servlet filter, the servlet filter could look up potentially changing list of access control rules and route request to login page or whatever page you'd like if user is

Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Jason Britton
What version tomcat? On Mon, Aug 30, 2010 at 3:38 PM, Steffen Heil li...@steffen-heil.de wrote: Hi I am sorry, I am asking something not really related to tomcat here. While this may sound like a beginners question, I think I really what I am doing in java, but this time I suspect I have

Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-30 Thread Jason Britton
From your original post The exception is only thrown under 64bit Linux Server-VM, within tomcat. It is neither thrown under 64bit Windows, nor on the very same Linux VM as standalone testcase, nor when a debugger is remotely attached. Sounds like you're saying it only happens within Tomcat,

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-25 Thread Jason Britton
:) I got a good laugh out of your response Christopher and I appreciate you taking the time to guide a possibly astray developer but let me hopefully put your mind somewhat at ease in regards to our development practices/environment. Not claiming we have anything resembling a perfect process

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Jason Britton
The short answer is: you can't separate the components of a webapp out into separate locations. Thanks for the response P. Understood and agreed as to the function and purpose of .war file. The reasoning for the separation is that in our current environment we have users from 3 or so

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Jason Britton
In Tomcat 7 you could use an alias. Mark Definitely interested. Is there a time frame on when 7 will have a non-beta release? Thanks for the heads up. Jason

Re: separating deployment of classes/lib/config from web content (jsp's/html)

2010-08-24 Thread Jason Britton
:19 PM, Mark Thomas ma...@apache.org wrote: On 24/08/2010 20:00, Jason Britton wrote: In Tomcat 7 you could use an alias. Mark Definitely interested.  Is there a time frame on when 7 will have a non-beta release? Thanks for the heads up. The more people that test it and report

Re: Session problem

2010-08-24 Thread Jason Britton
to the session value in one window will effect the session value in the others. Stephen Caine On Aug 24, 2010, at 5:21 PM, Jason Britton wrote: I would make sure that the link for your Messages tab is going to the same domain as that your session was established under and is hitting the same