jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marek.Cy...@equifax.com
Subject Error messages filling up log
Date Wed, 28 Jun 2006 12:58:46 GMT

- I have multiple caches running on different machines. I am using UDP
Discovery + random socket selection (multiple JVM's on each machine).
Things work great until I restart one of the machines. As soon as I do
that, the other caches start spilling tons of error messages:

ERROR|28 Jun 2006 08:36:37,611|Thread-25 |socket.tcp.LateralTCPService
|Could not create sender to [] -- Socket is null,
cannot connect to|
ERROR|28 Jun 2006 08:36:37,611|Thread-25
|ket.tcp.LateralTCPCacheManager|Can't fix Socket is null, cannot connect to|
ERROR|28 Jun 2006 08:36:37,612|Thread-25
|ry.lateral.LateralCacheRestore|Can't fix Can't fix Socket is null, cannot
connect to|
INFO |28 Jun 2006 08:36:38,021|Thread-27
|ry.lateral.LateralCacheMonitor|LateralCacheManager.instances.size() = 3|
INFO |28 Jun 2006 08:36:38,022|Thread-27 |ry.lateral.LateralCacheMonitor|
 1- mgr.getCaches().size() = 1|
INFO |28 Jun 2006 08:36:38,022|Thread-27
|ry.lateral.LateralCacheMonitor|Lateral Cache No Wait not in error|
INFO |28 Jun 2006 08:36:38,022|Thread-27 |ry.lateral.LateralCacheMonitor|
 2- mgr.getCaches().size() = 1|
INFO |28 Jun 2006 08:36:38,022|Thread-27
|ry.lateral.LateralCacheMonitor|found LateralCacheNoWait in error,
LateralCacheNoWait  Status = 3 cache = [
 Cache Name [eid_session_data]
 cattr =  []]|

I did some code checking and I found that there is no max number of retries
defined in LateralCacheNoWait. Would it be possible to:

a) define a new status in CacheConstants - STATUS_UNCONNECTABLE
b) add a new member variable to LateralCacheNoWait - numberOfRepairAttempts
c) modify LateralCacheRestore to increment numberOfRepairAttempts on
LateralCacheNoWait in case repair attempt failed and
d) modify LateralCacheMonitor to not try to repair LateralCacheNoWait that
are not repairable
e) add maxNumberOfReconnectRetries to ILateralCacheAttributes

That would make my live so much easier... The other option I have is to set
LOG4J output level on org.apache.jcs to FATAL, but this way I cannot see
any other issues.


Marek Cyzio
This message contains information from Equifax Inc. which may be
confidential and privileged.  If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this
information and note that such actions are prohibited.  If you have
received this transmission in error, please notify by e-mail

To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org

View raw message