So the proper location for a Cluster element is inside
a Host element?
Host
Does this mean I need to
have a separate Cluster element for each virtual host?
yes, unfortunately, the better solution is to do the virtual hosting in your
apache server.
That way you only need one cluster config.
you would have to write a valve or other component that queries the
Tomcat internal classes yourself,
If you do come up with something very useful, we would love to include
it into the code base.
Filip
John MccLain wrote:
How can I get a picture of session state for each node in a
you would need to write a component that queries the cluster classes
(internal tomcat components) yourself.
I believe you can reach the cluster object through JMX and through the
tomcat classes (host etc)
the interface CatalinaCluster.getMembers() returns all members in a cluster.
Filip
Two suggestions:
1. Make sure the farm war deployer is really turned off, and by the way,
the farm war deployer doesn't deploy into webapps, instead into the dir
you specify in server.xml
2. Check your scripts again, chances are you are the one redeploying
your own old code.
Filip
Todd
turn on logging, see Tomcat docs
then through log4j you can turn on logging for only
org.apache.catalina.cluster
and you will be able to see all messages going through.
Filip
John MccLain wrote:
We have a webapp that runs fine in 1 tomcat instance.
We have insured that all classes being
Configure the PersistenceManager as your session manager
hang zhao wrote:
Hi, everyone
I am trying some configuration with my small tomcat
cluster (2 tomcats, 1 apache, connected with mod_jk2
as load balancer).
The problem is that I want to use a shared database
(Mysql) to do session replication
or like we do, we pipe the output through cronolog
Filip
Tim Funk wrote:
There shouldn't be anything going to standard output (Unless your code
is writing to System.out)
An overly simple way to rotate logs in unix ...
cd $tomcat_log_dir
cp -f catalina.out catalina.out.`date +%Y.%m.%d`
cat
Make sure your WAR file gets properly installed on both instances
SEVERE: Unable to install WAR file
java.io.FileNotFoundException: C:\tmp\war-deploy\clustertest.war (The
system cannot find the path specified)
Durfee, Bernard wrote:
I am ready to set Tomcat up in a clustered environment. So to
install tomcat 4.1.31 on your new server
Mendez, Eric wrote:
Hello,
I recently installed Apache/Tomcat v 4.1.18 on my new server, and I have a JSP page that
extracts values from an Oracle database, if the value in the database is an empty String
(), it returns as a null value in my JSP page. I
its fixed in 5.5.x, you need a patch for 5.0.x?
Dan Carwin wrote:
I also experienced cluster failure when restarting a downed cluster
member in 5.0.
I tested with Tomcat 5.0.30.
Randall, what version of Tomcat did you succeed with?
Thanks,
Dan
-Original Message-
From: Richard Mixon
, even though it can pick up the sessions from the
other nodes, my HttpSessionBindingListener and HttpSessionListener were
not called at all during the replication.
Joseph
On Fri, 25 Feb 2005, Filip Hanik - Dev Lists wrote:
there is a flag you can set so that listeners don't get called, its optional
As Richard says, don't store your request in the session, not a good idea.
Richard Mixon (qwest) wrote:
CoyoteRequestFacade is the first element in the stack trace - it is not
the session stored object that is causing the NotSerializableException.
As I said in my prior posting, to resolve this
your multicast isn't working.
Filip
Randall Svancara wrote:
I have a problem in my tomcat logs. I am using tomcat 5.5.7 and
whenever I start up tomcat for the first time, I receive this error
message.
INFO: Manager[/testapp], skipping state transfer. No members active in
cluster group.
After the
there is a flag you can set so that listeners don't get called, its optional
its called notifyListenersOnReplication, see server.xml for example,
default is true
Filip
Jesper Ekberg wrote:
Hello!
My first mail to this list. :)
I have read it for a long time tho.
We have a tried to cluster 3
unless the session is primary, the last accessed time wont matter, when
the session becomes primary, the last access time gets set immediately.
Filip
Joseph Lam wrote:
Found that only when a replication is explicitly triggered by
set/removeAttribute(), the other nodes'
there is a difference between a crashed tomcat and a shutdown tomcat.
Filip
Filip Hanik - Dev Lists wrote:
there is a flag you can set so that listeners don't get called, its
optional
its called notifyListenersOnReplication, see server.xml for example,
default is true
Filip
Jesper Ekberg
there is an attribute mcastBindAddr
that allows you to bind to the interface.
Joseph Lam wrote:
Hi,
If I have two LAN cards and I want my Tomcat to mcast through one of them,
what parameter should I set?
Regards,
Joseph
-
To
you can also use DNS round robin,
www.mysite.com resolves to two or more IP addresses.
Filip
Andrew Miehs wrote:
We use F5 BigIPs, but they are probably overkill for your application
- The cisco probably will be as well.
A 'Cheap' software solution might be to work with redirects, and 2
Rossbach [mailto:[EMAIL PROTECTED]
Sent: Sat 2/12/2005 9:22 AM
To: Tomcat Users List
Cc:
Subject:Re: dodgy session class
Hmm,
please check that all your applications with distributable=true have no
configured Manager in there context.xml's
regards
Peter
Filip Hanik - Dev schrieb
in there context.xml's
regards
Peter
Filip Hanik - Dev schrieb:
Any chance you have a test case to reproduce this?
Shouldn't happen, unless the way sessions are created have changed.
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday
Any chance you have a test case to reproduce this?
Shouldn't happen, unless the way sessions are created have changed.
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, February 11, 2005 11:47 AM
Subject: dodgy session class
Hi,
I'm
probably is the multi cast receiver that freaks out.
This can happen if the network cable is unplugged. I will add in a sleep on the
receiver so that even in this case it wont freak
out.
so in the scenario above, its a known problem, checking in a fix right now.
if you do provide a dump however,
=org.apache.catalina.cluster.tcp.ReplicationTransmitter
replicationMode=asynchronous/
What is the better way?
Filip Hanik - Dev wrote:
probably is the multi cast receiver that freaks out.
This can happen if the network cable is unplugged. I will add in a sleep on
the receiver so
@jakarta.apache.org
Sent: Thursday, February 10, 2005 3:43 PM
Subject: Re: Tomcat 5 cluster spins out of control periodically
hmm
is there any difference in performance with pooled vs async? The OS is
HPUX 11
Filip Hanik - Dev wrote:
ah, you might be having problems with the java.nio package
put it in the /bin/catalina.sh script
Filip
- Original Message -
From: Rodrigo Avila [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, February 04, 2005 10:57 AM
Subject: java.awt.headless=true in tomcat startup
Hi!
I try to use some awt\swing
put your class in server/classes, valves should not be common
Filip
- Original Message -
From: Asim Alp [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, February 03, 2005 10:28 AM
Subject: Valves
I'm using Tomcat 5.5.5 on Windows Server 2003. I
Costin Wrote:
( BTW - if you plan to participate in any open source project - be
prepared for a lot of hurt feelings and negative comments, if you can't
handle it, stay out. It happens to all of us. Track the problem, send a
patch and friendly reminders if it gets ignored - and be prepared to
Getting a VISA is the biggest concern. I wouldn't suggest coming to the US,then
looking for a VISA sponsor, do it the other way
around.
Filip
- Original Message -
From: Aris Javier [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, February 01, 2005
feel free to open a bug report, so that this issue can be tracked.
- Original Message -
From: Robert Wille [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Wednesday, February 02, 2005 1:25 PM
Subject: RE: Memory leak in tomcat 5.0.28
I've figured out my problem. I'm posting
start your own thread
- Original Message -
From: sulaiman jrar [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 31, 2005 1:54 PM
Subject: Re: JK, Session Replication/Clustering, SSL and failover in Tomcat 5
I am having problem doing
try mcastBindAddr
could be a type somewhere
Filip
- Original Message -
From: Mitchell K. McCuiston [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday, January 28, 2005 10:54 AM
Subject: mcastBindAddress problem
I'm having a problem getting my cluster to work as I'd
SEO companies feed you a bunch of bologni (one of the recent scames IMHO),
don't waste your money
you can read up on it their self
http://www.google.com/webmasters/
Filip
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Friday,
' from 1 maps
[Wed Jan 26 17:16:00 2005] [6040:4016] [debug]
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context
URI '/stars/*'
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 26, 2005 4:10 PM
To: Tomcat Users List
Subject
. But this does not seem
to be enough.
But where can I find information on configuring the
JvmRouteSessionIDBinderListener with
JvmRouteSessionIDBinderListenerLifecycle?
Thank you - Richard Mixon
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27
disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.
1.140:4001,192.168.1.140,4001, alive=258218]
TOMCAT LOG - SRV2 END
Thank you again - Richard
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 9:02 AM
To: Tomcat Users List
Cc
Mixon (qwest) [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 11:26 AM
To: Richard Mixon (qwest); Tomcat Users List
Cc: Filip Hanik - Dev [EMAIL PROTECTED]
Subject: RE: JK, Session Replication/Clustering, SSL and failover in
Tomcat 5
Never mind. Sorry for the dumb questions, its in my
-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 10:34 AM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: JK, Session Replication/Clustering, SSL and failover in
Tomcat 5
As mentioned, you can't have the persistence manager, with clustering.
DEBUG TP
:/jakarta-tomcat-5.5.7-deployer/build/w ebapp
watchEnabled=false/
/Cluster
Thank you - Richard
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 10:34 AM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: JK
be an actual bug. I'll try to get this running tomorrow.
Filip
Richard Mixon (qwest) wrote:
Filip Hanik - Dev lists wrote:
expireSessionsOnShutdown=true
set this property to false!
this will not kill the sessions on the other servers during shutdown.
but, yes kill -9 or taskmanager killing
I meant, if you have time to create a simple test app, that I can work
with, it will speed up the process
Filip
Filip Hanik - Dev lists wrote:
Interesting, I haven't done any work with the latest work of tomcat
because of engagements elsewhere. but you have the time to create a
very small
another thought,
this object com.ltoj.webapp.util.ClassGrid
does it contain a reference to a struts object, and maybe that is why
the loading doesn't work, just a thought.
Filip
Filip Hanik - Dev lists wrote:
Interesting, I haven't done any work with the latest work of tomcat
because
.
Let me see what I can dig up before I send you off to do something crazy :)
Filip
Richard Mixon (qwest) wrote:
Filip Hanik - Dev lists wrote:
another thought,
this object com.ltoj.webapp.util.ClassGrid
does it contain a reference to a struts object, and maybe that is why
the loading doesn't work
the tomcat clustering code and the PersistentManager are not supposed to work
together.
No members active in cluster group.
means that your multicast discovery isn't working
Filip
- Original Message -
From: Simon Whiteside [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent:
you haven't mentioned anything about your environment. but my guess is that you
might have linux and those boxes are multihomed. if
this is the case, its a little tricky to enable multicasting, there is a
property mcastBindAddr to set the actual interface that
sends and receives the multicasting
ifconfig -a
multihomed simply means there is more than one network card
ping doesn't verify UDP and multicast.
Filip
- Original Message -
From: Simon Whiteside [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January 26, 2005 3:43 PM
Subject:
are you running iptables firewall? that might also be blocking your multicast.
I do suggest you get a little utility that tests your multicast.
Filip
- Original Message -
From: Simon Whiteside [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, January
try with a regular tcp loadbalancer like pen (http://siag.nu/) first, otherwise
you are debugging a whole stack at once.
so use pen, and your two tomcats, try failover and go from there.
also, enable debugging for your logging, and a lot more will be spit out in the
logs
Filip
- Original
maxThreads=150
your server can handle a maximum of 150 concurrent clients
minSpareThreads=25
if your server is idle, it will at least have 25 threads waiting to handle
requests
maxSpareThreads=75
if your server is idle, it will have no more than 75 threads waiting to handle
requests
you get
can't resist asking a question about optimal values.
Since the answer is obviously it depends let me put
my question this way. If you were running craigslist
(I assume you've heard of it) what would these values
be? How about ebay?
--- Filip Hanik - Dev [EMAIL PROTECTED] wrote:
maxThreads=150
Filip
- Original Message -
From: Dola Woolfe [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 24, 2005 3:50 PM
Subject: Re: Meaning of threads
That's counterintuitive, isn't it?
How come?
--- Filip Hanik - Dev [EMAIL PROTECTED] wrote:
the number
just enable debugging in the logs and you'll see what is going on.
multicast is only used for membership, not for replication. TCP is used for
that.
Filip
- Original Message -
From: Edmon Begoli [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday,
file a bug for tracking, and I will look into it
Filip
- Original Message -
From: LAM Kwun Wa Joseph [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Tuesday, December 28, 2004 2:41 AM
Subject: Cluster nodes create extra sessions on top of the replicated one
Hi,
I found
watch out for free support - most people make this mistake and it ends up
sucking up all their time.
Charge a time and materials fee when shit hits the fan such as out of disk
space etc, a shopping cart isn't working.
Make it their responsibility to QA the site, and when they are done, have them
depends on what connection pool you use. but in almost all causes, its a pretty
trivial thing (unless your code is funky of course)
in our system, all we did was to switch the driver name (to the pooled driver),
and it would pick up our connection pool.
so it was a one line change.
Filip
-
path=/dev/null could work
- Original Message -
From: T K [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 4:23 PM
Subject: StandardManager always persists session data. Bug?
Hi all,
we have observed that, at least 4.1.31, always
persists session data upon
expireSessionsOnShutdown=false - on shutdown - expire sessions locally, but
do not propagate to the cluster
expireSessionsOnShutdown=true - on shutdown - expire sessions locally, and
propagate to the cluster
stupid name for the variable, I agree
- Original Message -
From: Christoph
am I being silly?
char ch = (char)myint;
Filip
- Original Message -
From: Robert Harper [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 10:01 AM
Subject: RE: off topic - how do i convert an int to char
The offset starts at '0' == 48 ( 0x30
By looking at the following log entries
INFO: Received member
disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2
:4010,172.26.102.2,4010, alive=232390]
07-dic-2004 18:34:46 org.apache.catalina.cluster.tcp.SimpleTcpCluster
memberAdded
INFO: Replication member
if you want to see cluster output, just configure debug for
org.apache.catalina.cluster
using log4j for example
to setup log4j all I did was to add log4j.xml into common/classes and log4j.jar
into common/lib
Filip
- Original Message -
From: Pablo Carretero [EMAIL PROTECTED]
To:
there are several different ways to install an app into tomcat,
putting a war file under webapps/ is one way, read the docs to find out the
others
Filip
- Original Message -
From: Venkat Radha Venkataramanan [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday,
yes, this is a known bug. Should be fixed in .29 or .30.
Filip
- Original Message -
From: Ina Skåre [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 06, 2004 6:47 AM
Subject: problems with session replication
Hi,
I'm a newbie to tomcat session replication. I have a web
This is a TCP connection, using the tcpListenAddress and tcpListenPort
attributes.
You are probably broadcasting an invalid address, check those two attributes
Filip
- Original Message -
From: marc ratun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 06, 2004 3:08 AM
is send and the new member receives any messages). Do you have
any idea whats going on here?
Thank you ,
Ina!.
- Original Message -
From: Filip Hanik - Dev [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 06, 2004 3:00 PM
Subject: Re: problems with session
simialr. I was using 5.5.4
Allistair.
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: 06 December 2004 14:41
To: Tomcat Users List
Subject: Re: another problem with session replication
This should work fine. What do your logs say?
Filip
- Original
not available id: +id);
return;
}
String test = (String) _session.getValue(killer);
out.println(The killer value of session with ID + id + is +test);
%
Regards,
Nandish Rudra
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 5:23
for the fastest and easiest solution, just use mod_proxy, it will only take you
a few minutes to setup
Filip
- Original Message -
From: Warron French [EMAIL PROTECTED]
To: User Tomcat (E-mail) [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 2:53 PM
Subject: JBoss + Tomcat +
Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 3:56 PM
To: Tomcat Users List
Subject: Re: JBoss + Tomcat + Apache-1.3.33
for the fastest and easiest solution, just use
as I said, if you wish to compile an old mod_jk, have a fun weekend :)
Filip
- Original Message -
From: Warron French [EMAIL PROTECTED]
To: Users Apache (E-mail) [EMAIL PROTECTED]
Cc: User Tomcat (E-mail) [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 3:44 PM
Subject: Where do I get
port 8080? Is that a lot more work to do it?
Merry Christmas Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
Vienna, VA 22182
Desk: 703-821-6110
Main: 703-821-6000
Fax: 703-827-0374
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL
Year!
Warron French
Sr. Network Engineer
Xtria, LLC
8045 Leesburg Pike #400
Vienna, VA 22182
Desk: 703-821-6110
Main: 703-821-6000
Fax: 703-827-0374
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 4:51 PM
To: Tomcat Users List
Subject: Re
, VA 22182
Desk: 703-821-6110
Main: 703-821-6000
Fax: 703-827-0374
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Friday, December 03, 2004 4:51 PM
To: Tomcat Users List
Subject: Re: Where do I get mod_jk
as I said, if you wish to compile an old mod_jk, have
man, you are stubborn, you wish to go down the hard route :)
- Original Message -
From: Warron French [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 03, 2004 3:57 PM
Subject: RE: Where do I get mod_jk
OK, I found that link. I downloaded the:
the logs are showing that everything is replicating fine.
you can't change the browser url when switching to the other server,
how are you testing if it works or not?
Filip
- Original Message -
From: Dale, Matt [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday,
how about you correct the spelling :)
Filip
- Original Message -
From: Elihu Smails [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:17 PM
Subject: Re: compiling mod_proxy_ajp
when I try to set up balancing, I get the following
Apache
use Pen as a load balancer instead
siag.nu/pen
Filip
- Original Message -
From: Steve Burns [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 12:28 PM
Subject: Need a working example of Tomcat 5 clustering
Has anyone gotten clustering to work? In an example I
are you using frames or in anyway have your system setup to access the same
session by more than one thread?
Filip
- Original Message -
From: Ronald Klop [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: Ronald Klop [EMAIL PROTECTED]
Sent: Friday, November 19, 2004 5:35 AM
I fixed this, in cvs head and tomcat 5.0 branch. please try it out.
Filip
- Original Message -
From: Filip Hanik - Dev [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: Ronald Klop [EMAIL PROTECTED]
Sent: Friday, November 19, 2004 10:17 AM
Subject: Re: NoSuchElementException
I've updated the delta request to avoid these errors in the next release of
tomcat5.0 and tomcat 5.5
Filip
- Original Message -
From: Ronald Klop
To: Filip Hanik - Dev
Sent: Friday, November 19, 2004 10:44 AM
Subject: Re: NoSuchElementException in cluster
Yes, but we
What version of tomcat?
It fails when it tries to write the principal information to the stream.
Since I don't know what version of tomcat you are using, I can't tell you
exactly what went wrong.
maybe something in the principal returns null
Filip
- Original Message -
From:
filter = portable standard
valve = tomcat specific
- Original Message -
From: David Boyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 11:48 AM
Subject: Q: valve versus filter
We're using IIS 6 with the JK2 ISAPI filter (Tomcat 5.0.28).
I have several
:55 AM
Subject: RE : Problem clustering tomcat when a failed server is restarting
We are using Tomcat 5.0.27.
-Message d'origine-
De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 17 novembre 2004 18:27
À : Tomcat Users List
Objet : Re: Problem clustering tomcat when
a link to open bugzilla report?
Or more recent versions of Tomcat can they correct this problem ?
-Message d'origine-
De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 17 novembre 2004 19:10
À : Tomcat Users List
Objet : Re: Problem clustering tomcat when a failed server
if you dont get webmin fixed, I recommend cronolog instead.
You cant just rotate it, cause then tomcat loses the file handle, and you will
lose all further output.
with cronolog you simply pipe it through cronolog like this
your java start command | /usr/local/sbin/cronolog
rotated logs in Directory
Same directory as log file
Default (Same directory as log file)
3) Extension for rotated filenames Default
Should not this maintain the file handle?
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:19 PM
this was not the case when using a java.io.FileOutputStream(), so I assume you
tried and verified this :)
Filip
- Original Message -
From: [EMAIL PROTECTED]
To: Filip Hanik - Dev [EMAIL PROTECTED]
Cc: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:16 PM
Subject
You need your fail over to be higher up in your network stack
Filip
- Original Message -
From: Steve Kirk [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004 9:35 AM
Subject: RE: Multi-Site Clustering? (hot failover)
I've
: Wednesday, November 10, 2004 12:39 PM
Subject: RE: Multi-Site Clustering? (hot failover)
thanks for replying, but can you be a bit more specific please? I'm stll
not understanding how this can be done.
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent
to the second cluster.
I would talk to your service provider. the smaller shops don't offer
it, so you'll have to talk to a bigger ISP.
peter
On Wed, 10 Nov 2004 12:52:17 -0600, Filip Hanik - Dev
[EMAIL PROTECTED] wrote:
Even a datacenter by itself plugs in to more than one backbone (network
Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Wednesday 10 November 2004 19:14
To: Tomcat Users List; Peter Lin
Subject: Re: Multi-Site Clustering? (hot failover)
which might also give you the idea, if you control your own
DNS, you could manually switch
looks pretty normal, this shows that a connection was broken between one server
and the other,
you need to figure out why it breaks? restart? network?
Filip
- Original Message -
From: Ronald Klop [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 10:02 AM
Subject:
timeout settings? Or maybe something else.
I have everything as default now.
Ronald.
On Tue Nov 09 17:21:47 CET 2004 Filip Hanik - Dev [EMAIL PROTECTED] wrote:
looks pretty normal, this shows that a connection was broken between one
server and the other,
you need to figure out why it breaks? restart
you can setup context listeners, and when the context is stopped you will
receive an event and can stop your bg thread
Filip
- Original Message -
From: TK Banks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 4:40 PM
Subject: Killing threads during context
not at this time
- Original Message -
From: Norris Shelton [EMAIL PROTECTED]
To: Tomcat [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 1:45 PM
Subject: Can application scope data be replicated
Is there a way to replicate application scope data like there is
a way to replicate
turn off keep alive
- Original Message -
From: Andrew Miehs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 29, 2004 10:45 AM
Subject: Re: Tomcat in a High Traffic Environment
Hi Yoav,
I have not read the Servlet Spec, so please pardon my ignorance.
The main webapp is a webservice that will be used constantly, and needs
to be fast.
he he, on the joking side, one could argue that for a webservice, how can it be fast,
given that XML/SOAP adds not only extra bytes
to transfer over raw data but adds parsing overhead in your system.
If you
distributable/
/web-app
- Used all the packaged cluster settings.
Thanks,
Matthew
Filip Hanik - Dev wrote:
I'm expecting a null from
the following line
No, you would not expect null. The session replication mechanism is
supposed to survive context reloads.
But you
I'm expecting a null from
the following line
No, you would not expect null. The session replication mechanism is supposed to
survive context reloads.
But you should not be getting a ClassCastException, if you are I would love for you to
submit a test case.
When a context is reloaded, it will
I still need to know how I am to wait without burning the CPU while I am waiting
sleep() or wait() does wait without burning CPU
Filip
- Original Message -
From: Robert Harper [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, October 18, 2004 2:40 PM
Subject: RE:
yes, in web.xml, and then you can read the parameter from the ServletContext object
Filip
- Original Message -
From: Hubble, Christopher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 11, 2004 10:38 AM
Subject: Custom configuration tags
Is there a way to define custom
looks like you need to enable multicast on your second machine
Filip
- Original Message -
From: Vijaya [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 7:24 AM
Subject: Tomcat 5.0.27 Clustering and session replication
Dear All,
I'm facing 2 different problems
1 - 100 of 225 matches
Mail list logo