Session Replication jk2

2005-01-31 Thread sulaiman jrar
Hi I am trying to do session repliction with
tomcat-528 and apache 2 I am haveing this problem.
any ideas
Stopping httpd:   
[  OK  ]
Starting httpd: [Mon Jan 31 06:43:40 2005] [notice]
config.update(): done logger
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done config:
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done channel.socket:localhost:8009
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done ajp13:localhost:8009
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done channel.socket:localhost:8011
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done ajp13:localhost:8011
[Mon Jan 31 06:43:40 2005] [notice]
config.setAttribute() Error setting lb:balanced
timeout 90
[Mon Jan 31 06:43:40 2005] [notice]
config.setAttribute() Error setting lb:balanced
attempts 3
[Mon Jan 31 06:43:40 2005] [notice]
config.setAttribute() Error setting lb:balanced
recovery 90
[Mon Jan 31 06:43:40 2005] [notice]
config.setAttribute() Error setting lb:balanced
StickySession 0
[Mon Jan 31 06:43:40 2005] [notice]
config.setAttribute() Error setting lb:balanced
noworksMsg Server busy please retry after some time
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done lb:balanced
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done shm
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done uri:/SessionRepTest/*
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done status:
[Mon Jan 31 06:43:40 2005] [notice] config.update():
done uri:/jkstatus/*
  
[  OK  ]

my worker.properties 
[logger]
level=DEBUG

[config:]
file=/etc/httpd/conf/workers.properties
debug=0

#Socket communication balace for Tomcat1
[channel.socket:localhost:8009]
host=localhost
port=8009
tomcatId=Tomcat1
group=lb:balanced
lb_factor=1
route=Tomcat1Route

[ajp13:localhost:8009]
channel=channel.socket:Tomcat1


#Socket communication balace for Tomcat2
[channel.socket:localhost:8011]
host=localhost
port=8011
tomcatId=Tomcat2
group=lb:balanced
lb_factor=1
route=Tomcat2Route

[ajp13:localhost:8011]
channel=channel.socket:Tomcat2



#load balancing
[lb:balanced]
worker=ajp13:localhost:8009
worker=ajp13:localhost:8011
timeout=90
attempts=3
recovery=90
StickySession=0
noworksMsg=Server busy please retry after some time


[shm]
file=/etc/httpd/conf/jk2.shm
size=100






[uri:/SessionRepTest/*]
context=/SessionRepTest
workers.properties 65L, 951C 
info=Display status information and checks the config
file for changes.


[status:]

[uri:/jkstatus/*]
group=status
workers.properties 65L, 951C  

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JK, Session Replication/Clustering, SSL and failover in Tomcat 5

2005-01-31 Thread sulaiman jrar
/
  watchEnabled=false/
/Cluster
--
!--this added by me sulaiman jrar to test
session clustring --


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

managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false
 useDirtyFlag=true

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=auto
tcpListenPort=4002
tcpSelectorTimeout=100
tcpThreadCount=6/
Sender
   
className=org.apache.catalina.cluster.tcp.ReplicationTransmitter
replicationMode=synchronous/

Valve
className=org.apache.catalina.cluster.tcp.ReplicationValve
  
filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/
/Cluster

 Logger
className=org.apache.catalina.logger.FileLogger
 directory=logs 
prefix=localhost_log. suffix=.txt
timestamp=true/
  !-- /Context --
  /Host
!-- --
/Engine

  /Service

/Server




__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]