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
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
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
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
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
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
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
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
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
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
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
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
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
)
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
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
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
, 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
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
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
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.
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.
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:
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
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
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
, 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
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
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
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
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
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,
:) 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
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
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
: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
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
36 matches
Mail list logo