No Store configured, persistence disabled

2008-03-09 Thread Taner Diler
Hi everyone,

I want to enable session file persistence with Tomcat 5.5.26.

on startup of Tomcat, I am getting those messages:

10.Mar.2008 00:51:37 org.apache.catalina.session.PersistentManagerBase start
SEVERE: No Store configured, persistence disabled
10.Mar.2008 00:51:37 org.apache.catalina.session.PersistentManagerBase start
INFO: Manager has already been started

Is there any wrong definition in conf/server.xml?

My configuration is :

Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

 managerClassName=
org.apache.catalina.session.PersistentManager
 expireSessionsOnShutdown=false
 useDirtyFlag=true

Manager className=
org.apache.catalina.session.PersistentManager 
Store className=org.apache.catalina.session.FileStore
directory=c:\\ /
/Manager

Membership
className=org.apache.catalina.cluster.mcast.McastService
mcastAddr=228.0.0.4
mcastPort=45564
mcastFrequency=500
mcastDropTime=3000/

Receiver
className=
org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=127.0.0.1
tcpListenPort=4001
tcpSelectorTimeout=100
tcpThreadCount=6/

Sender
className=
org.apache.catalina.cluster.tcp.ReplicationTransmitter
replicationMode=pooled/

DeployerclassName=
org.apache.catalina.cluster.deploy.FarmWarDeployer

deployDir=J:\MY_DOCUMENTS\Tomcat_Clustring_Calisma\tomcat52\webapps
watchEnabled=false/


Valve className=
org.apache.catalina.cluster.tcp.ReplicationValve

filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/
/Cluster

Taner Diler


file system session persistence in cluster

2008-03-05 Thread Taner Diler
Hi  all,

I try to use file system session persistence implementation in tomcat
cluster that has three member.
I'm confused a little bit about configuration.

The configuration for manager:

Manager className=org.apache.catalina.session.PersistentManager 
Store className=org.apache.catalina.session.FileStore
directory=c:\\sessions /
/Manager


1. Which configuration file must this manager configuration  be defined in?
conf/server.xml or webapplication/META-INF/context.xml

2. If I define that in conf/server.xml as
Cluster  managerClassName=org.apache.catalina.session.PersistentManager
Manager className=org.apache.catalina.session.PersistentManager 
Store className=org.apache.catalina.session.FileStore
directory=c:\\sessions /
/Manager
/Cluster
, this message is displayed on tomcat console
No Store element found,  persistence disabled when I start tomcat. Why?

3. If it needs to make that definition in conf/server.xml, must I define
same configuration to all cluster members?

Thank you

Best regards

Taner Diler


configuration of deployer in cluster

2008-02-25 Thread Taner Diler

Hi all,

I want to deploy war file in vertical cluster.  I'm confused a little 
bit with configuration.

I have three clustered tomcats -labeled as  (A,B,C)- in same machine.

I have put the

   Deployer
className=org.apache.catalina.cluster.deploy.FarmWarDeployer
   
watchDir=/home/tdiler/Documents/Tomcat_Clustring_Calisma/deploy/watch
   
deployDir=/home/tdiler/Documents/Tomcat_Clustring_Calisma/deploy/deploy
   
tempDir=/home/tdiler/Documents/Tomcat_Clustring_Calisma/deploy/temp

   watchEnabled=true/


configuration to only one (A) member in the cluster. This member  (A) 
can realize any change in the watchdir and copy the war file to

deployDir.
...
Feb 25, 2008 10:15:37 AM org.apache.catalina.cluster.deploy.WarWatcher check
INFO: check cluster wars at 
/home/tdiler/Documents/Tomcat_Clustring_Calisma/deploy/watch
Feb 25, 2008 10:15:37 AM 
org.apache.catalina.cluster.deploy.FarmWarDeployer fileModified
INFO: Installing webapp[/clustering_test-0.0.1] from 
/home/tdiler/Documents/Tomcat_Clustring_Calisma/deploy/deploy/clustering_test-0.0.1.war
Feb 25, 2008 10:15:37 AM 
org.apache.catalina.cluster.deploy.FarmWarDeployer remove

INFO: Cluster wide remove of web app /clustering_test-0.0.1
...

But when I list deployed web application in manager module (A member), I 
can't see the webapp[/clustering_test-0.0.1].


What should I do to see web application as deployed in all members?

1. Should I copy Deployer .../ definition to all member in the cluster 
and define separate deployDir for each member?
2. Should I define context file -includes docbase that point to war file 
in deployDir -  in tomcat5.5/conf/Catalina/localhost ?

3. Should I define context.xml file in META-INF in war file?

Thank You

Taner Diler

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]