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
Nice catch Vlad,
I'll look into it.
Filip
[EMAIL PROTECTED] wrote:
thanks for your reply Peter.
unfortunately none of the applications has explicitly configured sessions
manager.
I have managed to consistently reproduce the problem. The problem involves two
webapps, app1 and app2. App1 is
Actually, I didn't get your attachments, could you open a bug in
bugzilla and attach them there.
Filip
[EMAIL PROTECTED] wrote:
thanks for your reply Peter.
unfortunately none of the applications has explicitly configured sessions
manager.
I have managed to consistently reproduce the problem.
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 it, will work too
Filip
Richard Mixon (qwest) wrote:
Filip,
Thanks so much for some reason taking the Manager statement
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
25 matches
Mail list logo