jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul.Lewandow...@kohls.com
Subject Additional information on RMI error on trying to stop remote server
Date Wed, 19 Jul 2006 16:09:44 GMT

I put the logging to debug mode and received the following information when
trying to execute the stopRemoteCache.sh script:

The specific problem line from below is:

[DEBUG] RemoteCacheServerFactory - -looking up server
//:1099/org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheService
Exception in thread "main" java.rmi.ConnectException: Connection refused to
host: 10.1.192.21; nested exception is:

>From this it is clear that I need to specify the bottom NIC card address of
10.1.193.21 or I will continue to get this exception.

How do I do this?

Thanks.

Paul




[DEBUG] RemoteUtils - -props.size=40
[DEBUG] RemoteUtils - -
registry.port = 1099
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds = 93600
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount = 300000
jcs.default.elementattributes = org.apache.jcs.engine.ElementAttributes
jcs.auxiliary.RCluster.attributes.RemoveUponRemotePut = false
jcs.auxiliary.DC.attributes.MaxPurgatorySize = 10000000
jcs.default.elementattributes.IsEternal = false
thread_pool.disk_cache_event_queue.minimumPoolSize = 1
jcs.default.cacheattributes.ShrinkerIntervalSeconds = 60
jcs.auxiliary.DC.attributes.DiskPath = ${user.dir}/jcs_swap
jcs.auxiliary.DC.attributes.EvenQueuePoolName = disk_cache_event_queue
jcs.auxiliary.DC.attributes.ShutdownSpoolTimeLimit = 60
jcs.default.elementattributes.IsSpool = true
jcs.auxiliary.RCluster.attributes =
org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
thread_pool.disk_cache_event_queue.useBoundary = false
jcs.auxiliary.DC.attributes =
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.default.cacheattributes.MaxObjects = 40000
jcs.auxiliary.RCluster.attributes.GetOnly = false
thread_pool.disk_cache_event_queue.startUpSize = 1
jcs.auxiliary.RCluster.attributes.LocalClusterConsistency = true
registry.host = 10.1.193.21
jcs.auxiliary.RCluster = org.apache.jcs.auxiliary.remote.RemoteCacheFactory
jcs.default.elementattributes.IsLateral = false
jcs.auxiliary.DC.attributes.EventQueueType = POOLED
jcs.auxiliary.DC =
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
remote.cluster.LocalClusterConsistency = false
jcs.default.cacheattributes.MemoryCacheName =
org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinker = false
thread_pool.disk_cache_event_queue.keepAliveTime = 3500
jcs.auxiliary.DC.attributes.MaxRecycleBinSize = 5000
jcs.default.elementattributes.IsRemote = true
jcs.auxiliary.DC.attributes.MaxKeySize = 1000000
jcs.default = DC
jcs.auxiliary.RCluster.attributes.RemoteTypeName = CLUSTER
jcs.default.elementattributes.IdleTime = 1800
thread_pool.remote_cache_client.maximumPoolSize = 15
jcs.default.cacheattributes =
org.apache.jcs.engine.CompositeCacheAttributes
remote.cache.service.port = 1099
jcs.default.elementattributes.MaxLifeSeconds = 93600
jcs.auxiliary.RCluster.attributes.ClusterServers = 10.1.193.21:1102
[DEBUG] RemoteCacheServerFactory - -looking up server
//:1099/org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheService
Exception in thread "main" java.rmi.ConnectException: Connection refused to
host: 10.1.192.21; nested exception is:
        java.net.ConnectException: A remote host refused an attempted
connect operation.
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:585)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:203)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:189)
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:329)
        at
sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
        at java.rmi.Naming.lookup(Naming.java:96)
        at
org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory.main(RemoteCacheServerFactory.java:272)
Caused by: java.net.ConnectException: A remote host refused an attempted
connect operation.
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:336)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:201)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.connect(Socket.java:428)
        at java.net.Socket.<init>(Socket.java:335)
        at java.net.Socket.<init>(Socket.java:150)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:144)
        at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:580)
        ... 6 more


CONFIDENTIALITY NOTICE: 
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of the contents
of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify us immediately
at 262-703-7000.

CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve
and read any message created, sent and received.  Kohl's reserves the right to monitor messages
by authorized Kohl's Associates at any time
without any further consent.


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


Mime
View raw message