> -----Original Message----- > From: Smuts, Aaron [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 27, 2005 4:21 PM > To: JCS Users List > Subject: RE: remote cache: connection to 127.0.0.1 refused (?) > > Did you start the registry? What script did you use. You > need to start the registry on the machine. By default, the > remote cache server will start the registry if the server is > localhost, otherwise it doesn't. In one of the startup > scripts I start the registry.
As mentioned my the previously posted configuration, the remote server is configured as localhost (otherwise it doesn't startup, BTW): # won't work with external IP #registry.host=10.10.10.3 registry.host=localhost registry.port=1102 And actually the client *can* lookup the remote object! The registry it up and running and the client can lookup and does get a reference to the remote object actually. But the actual remote method invocation doesn't work anyway. 234 [main] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheManager - looking up server //10.10.10.3:1102/org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheS ervice 1734 [main] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheManager - server found 1734 [main] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheManager - remoteService = org.apache.jcs.auxiliary.remote.server.RemoteCacheServer_Stub[RemoteStub [ref: [endpoint:[ 127.0.0.1:1102](remote),objID:[1975b59:106a1195c3a:-8000, 0]]]] 1750 [Thread-2] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheMonitor - Monitoring daemon started 1750 [Thread-2] DEBUG org.apache.jcs.auxiliary.remote.RemoteCacheMonitor - FAILURE DRIVEN MODE: cache monitor waiting for error 2719 [main] ERROR org.apache.jcs.auxiliary.remote.RemoteCacheManager - Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect 2719 [main] DEBUG org.apache.jcs.auxiliary.remote.RemoteCache - Construct> cacheName=default 2719 [main] DEBUG org.apache.jcs.auxiliary.remote.RemoteCache - irca = --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]