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 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
Edmon
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 cluster
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 st
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 Hu
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 in
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 /dev/
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 tes
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 (qw
, 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 opt
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 d
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 issu
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
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' session.getLastAccessedTime
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 Tomca
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
separate
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 unsu
s with distributable=true have no
configured Manager 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
Regards,
Vlad
-Original Message-
From: Peter 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 c
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:
Sent: Friday, February 11, 2005 11:47 AM
Subject: dodgy session class
Hi,
I'm running tomcat 5.0.30 on two
t;Tomcat Users List"
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 ja
ation.
I did notice that on our test servers, it doesn't happen as frequently.
And in the production server.xml we had:
In the test one it was:
What is the better way?
Filip Hanik - Dev wrote:
>probably is the multi cast receiver that freaks out.
>This can happen if the netwo
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,
put it in the /bin/catalina.sh script
Filip
- Original Message -
From: "Rodrigo Avila" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, February 04, 2005 10:57 AM
Subject: java.awt.headless=true in tomcat startup
Hi!
I try to use some awt\swing classes to convert rtf strings
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 t
put your class in server/classes, valves should not be common
Filip
- Original Message -
From: "Asim Alp" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, February 03, 2005 10:28 AM
Subject: Valves
I'm using Tomcat 5.5.5 on Windows Server 2003. I have implemented a
new val
feel free to open a bug report, so that this issue can be tracked.
- Original Message -
From: "Robert Wille" <[EMAIL PROTECTED]>
To:
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 what I've discovered for th
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"
Sent: Tuesday, February 01, 2005 7:52 PM
Subject: OT: Java /
start your own thread
- Original Message -
From: "sulaiman jrar" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
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 sessionreplication
apache give me
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:
Sent: Friday, January 28, 2005 10:57 AM
Subje
try "mcastBindAddr"
could be a type somewhere
Filip
- Original Message -
From: "Mitchell K. McCuiston" <[EMAIL PROTECTED]>
To:
Sent: Friday, January 28, 2005 10:54 AM
Subject: mcastBindAddress problem
I'm having a problem getting my cluster to work as I'd expect. I have two
physica
perly.
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
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 o
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
could 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 ta
prevent JK from continuing to route traffic to this instance.
I also tried using "ant stop" from the tomcat-deployer, but this results
in a "HTTP Status 503 - This application is not currently available"
message.
I feel like I'm very close, but not quite there.
Thank you - Ri
e entire
server.xml if necessary).
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, Session Replicat
ay, 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 application
ontext. - Richard
-Original Message
IL PROTECTED] at
/stars
INFO Cluster-MembershipReceiver
org.apache.catalina.cluster.tcp.SimpleTcpCluster - Received member
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 Messa
erListenerLifecycle"?
Thank you - Richard Mixon
-----Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 7:29 AM
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Re: JK, Session Replication/Clustering, SSL and failover in
Tomcat
uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
'/styles/messages.css' 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
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 M
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"
Sent: Wednesday, January 26, 2005 3:49 PM
Subject
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"
Sent: Wednesday, January 26, 2005 3:43 PM
Subject: Re: Session replication not
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 multicastin
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:
Sent: Wednesday, January 26, 200
Filip
- Original Message -
From: "Dola Woolfe" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
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
emory?
I 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 <[EM
>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
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"
Sent: Friday, January 14, 2005 12:07 PM
Subj
file a bug for tracking, and I will look into it
Filip
- Original Message -
From: "LAM Kwun Wa Joseph" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, December 28, 2004 2:41 AM
Subject: Cluster nodes create extra sessions on top of the replicated one
Hi,
I found that in my 4-node TC5.5.5 clus
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 t
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: "Chris
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: Tue
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: "'
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
added:org.apa
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
t just in case this is the same thing ..
sounds 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
>
>
o attribute must change before a
notification 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]&g
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
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 w
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:
jak
gineer
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: Where do I get mod_jk
as I
ght foot here.
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 PROTECTED]
Sent: Friday, Decemb
+ Apache-1.3.33
How do I set it up to use 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---
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
proxy? Is that correct?
Merry Christmas & 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 th
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 + Apa
uot;);
HttpSession _session =
request.getSession().getSessionContext().getSession(id);
if(_session == null){
out.println("session not available id: "+id);
return;
}
String test = (String) _session.getValue("killer");
out.println("The killer value of session with ID "
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: Thursd
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
Apac
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 exampl
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, b
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
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, 20
a failed server is restarting
Could you give me 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
Obje
ROTECTED]>
Sent: Wednesday, November 17, 2004 11: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 U
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 sever
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: "LERBSCH
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]>
S
and owned by user
and group
2) Store old 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 PRO
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
| /usr/local/sbin/cronolog
"$CATALINA_BASE$"/logs/%Y-%m-%d.catalina.o
failed. It seems to me that
> occasionally, some DNSs also
> > seem to miss changes in SOA, which can be disastrous if you
> move your DNS to
> > a new ISP.
> >
> > As far as I can see, there is no way to get around these
> glitches because
> > the seco
s DNS will pick and route
the traffic 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
s List'" <[EMAIL PROTECTED]>
Sent: 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-
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)
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
using a cluster under load.
I am thinking about 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
>
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
Sub
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 ignoranc
>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 tra
ot; + e);
> }
> }
>
> %>
>
>
> :MyObject.java
> package testpkg;
>
> public class MyObject implements java.io.Serializable {
> public int i = 0;
> }
>
> web.xml
>
>
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2
>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
Subj
>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
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 cus
>As for how often the sessions are updated, I
>don't know. I'd like it to be often enough that if a user was shifted
he asked how often are your sessions updated? not the cluster :)
The cluster will replicate changes, if any, to the other servers at the end of each
request.
the replication reque
1 - 100 of 226 matches
Mail list logo