Hi ,
I'm trying to configure 2 mmbase instances to access each others cloud.
It works fine if I deploy both war files on the same tomcat, but I have some
troubles getting it to work on multiple servers.
I start catalina with a policy file (both tomcats):
grant {
permission java.security.AllPermission;
};
grant {
permission java.net.SocketPermission "*:1024-65535", "accept, connect,
listen, resolve";
};
When one tomcat accesses the other, I get the following exception:
mmlog4j-staging.log 2003-12-03 16:59:33,197 ERROR
nl.leeuwarden.builders.PublishingQueueBuilder run.115 - Throwable
error:Connection refused to host: 192.168.0
.35; nested exception is:
java.net.ConnectException: Connection refused: connect
My 'cloud urls' are:
rmi://localhost:4022/staging
and
rmi://192.168.0.35:4022/live
Has anyone tried this kind of configuration?
All help appreciated (I'm no expert on rmi......)
Edwin van der Elst
Senior Developer
Finalist IT Group
Java Specialist
------------------------------------------------------------------
Rotterdam, The Netherlands
Office: +31 10 217 08 11 (Direct)
http://finalist.com
------------------------------------------------------------------