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 acq
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/A
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 an
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 f
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
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 tomc
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 u
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 that
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 w
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
resul
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
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 t
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 th
hreadPoolExecutor.java:886)
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
wrote:
>
> From: Jason Britton [mailto:jbritto...@gmail.com]
> > Subject: Re: tomcat 6.0.
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 prob
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 wrote:
> Hello, I'm trying to figure out how to solve a very stupid pr
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 command to no
avail. After I reproduce my application deadlock again this morning
On Thu, Oct 21, 2010 at 2:25 AM, Pid 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 p
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. The
Thankfully when I pulled up jvisualvm on the server and issued thread dumps,
even though the stacktraces for the threads did not come up within jvisualvm
the thread stacktraces were dumped to stdout. So I did get thread
stacktraces in my tomcat log.I won't post entire stacktraces here but
almo
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. Proce
og"
>>
>>
>> (I'm running Tomcat from inside NetBeans, in Windows platform - I have
>> also similar configuration in Ubuntu Server 10.10 with Tomcat alone).
>>
>>
>> Edson.
>>
>>
>> Em 19/10/2010 20:43, Jason Britton escreveu:
&g
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 this logging.properties file is the
one being used for your logging config. If your prefix remains catalina..
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 wrote:
> Hello all,
>
> I'm trying
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 1
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
Jaso
ions on that file and see what
happens. Thanks for your insights.
Jason
On Wed, Sep 22, 2010 at 10:54 AM, Pid 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
So even if my context still exists in exploded form in the webapps directory
and I remove the .war form of the context, it'll remove the associated
context.xml from the conf/Catalina/HOST/ directory?
On Sat, Sep 11, 2010 at 8:12 AM, Wesley Acheson wrote:
> On Fri, Sep 10, 2010 at 6:36 P
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/
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/
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
>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, so
What version tomcat?
On Mon, Aug 30, 2010 at 3:38 PM, Steffen Heil 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 found a scenario w
:) 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 eith
me session, a change 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
>>
context is un-deployed.**
On Tue, Aug 24, 2010 at 1:19 PM, Mark Thomas 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 fram
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
domain as your "Home" and "Admin" links. This doesn't seem to have anything
to do with Tomcat though.
On Tue, Aug 24, 2010 at 1:53 PM, Hisham wr
> 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
>
>
> 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
I'm trying to configure a tomcat context that I could deploy the classes,
libs, web.xml using a .war file but the actual jsp's, html, web content
would not be packed up in the .war file and would live in a directory
outside of the exploded war directory. I need to be able to redeploy my
classes/li
40 matches
Mail list logo