On all my Windows machine I have turned off firewall software to help make troubleshooting easier.I'm using the same Corus domain name of "home" instead of the default ( e.g. corus -d home ).
Hi Laurence,
Another precision about the build: you require grails 1.3.3 installed and Maven 2.x. The grails 1.3.3 Maven plugin fails with Maven 3.
Since it's getting complicated, we will do a release later today with the required fix. This will ease your pains.
BTW, the bug has nothing to do with multicast. It's rather an issue with discovery logic.
On Sep 15, 2011 7:06 AM, "Yanick Duchesne" <yanickd...@gmail.com> wrote:
Hi Laurence,
yes for specifying the domain you use the -d switch. Your procedure for testing is right on.
The trunk version of Corus has the fix for the misbehavior you are mentioning (see my previous post on instructions to on how to build from source - you need to checkout from trunk/corus in the SVN repo on Google code). We will do a release shortly, but in the meantime use the trunk.
Also, with that version, using corus.server.address.pattern is not required: Corus will bind to all network interfaces by default. You use the property only to enforce binding to a specific network interface.
On Thu, Sep 15, 2011 at 12:42 AM, Laurence <lauren...@gmail.com> wrote:
>
> Yanick,
>
> Just to...
--
Yanick Duchesne
I tried the Corus trunk build on a couple of Windows machines and they
did not see each other.
...
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /deployer:
org.sapia.corus.deployer.DeployerExtension@21e554
Exception in thread "-1314816922086_-7491878183500006170Unicast@home"
java.util.MissingFormatArgumentException: Format specifier 's'
at java.util.Formatter.format(Formatter.java:2432)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at org.sapia.corus.cluster.ClusterManagerImpl.onAsyncEvent(ClusterManagerImpl.java:135)
at org.sapia.ubik.mcast.EventConsumer.notifyAsyncListeners(EventConsumer.java:318)
at org.sapia.ubik.mcast.EventConsumer.onAsyncEvent(EventConsumer.java:230)
at org.sapia.ubik.mcast.UDPUnicastDispatcher.handle(UDPUnicastDispatcher.java:274)
at org.sapia.ubik.mcast.server.UDPServer.run(UDPServer.java:57)
...
Laurence
C:\utils\corus\corus\modules\server
>echo off
log4j:WARN No appenders could be found for logger
(org.springframework.core.CollectionFactory).
log4j:WARN Please initialize the log4j system properly.
2011.09.15@17:45:17:125 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.db.DbModuleImpl as module
org.sapia.corus.client.services.db.DbModule
2011.09.15@17:45:17:140 DEBUG[org.sapia.corus.db.DbModuleImpl]: DB
module directory C:\utils\corus\corus\modules\server\db\home_33000
2011.09.15@17:45:17:203 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.os.OsModuleImpl as module
org.sapia.corus.client.services.os.OsModule
2011.09.15@17:45:17:203 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.file.FileSystemModuleImpl as module
org.sapia.corus.client.services.file.FileSystemModule
2011.09.15@17:45:17:218 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.configurator.ConfiguratorImpl as module
org.sapia.corus.client.services.configurator.Configurator
2011.09.15@17:45:17:265 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.taskmanager.CorusTaskManagerImpl as module
org.sapia.corus.taskmanager.core.TaskManager
2011.09.15@17:45:17:265 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.taskmanager.CorusTaskManagerImpl as module
org.sapia.corus.taskmanager.CorusTaskManager
2011.09.15@17:45:17:281 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.event.EventDispatcherImpl as module
org.sapia.corus.client.services.event.EventDispatcher
2011.09.15@17:45:17:296 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.http.HttpModuleImpl as module
org.sapia.corus.client.services.http.HttpModule
2011.09.15@17:45:17:312 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.port.PortManagerImpl as module
org.sapia.corus.client.services.port.PortManager
2011.09.15@17:45:17:406 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.cluster.ClusterManagerImpl as module
org.sapia.corus.client.services.cluster.ClusterManager
2011.09.15@17:45:17:453
INFO[org.sapia.corus.cluster.ClusterManagerImpl]: Signaling presence
to cluster on: 231.173.5.7:5454
2011.09.15@17:45:17:453 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.naming.JndiModuleImpl as module
org.sapia.corus.client.services.naming.JndiModule
2011.09.15@17:45:17:453 DEBUG[EventDispatcher]: Adding interceptor:
org.sapia.corus.naming.JndiModuleImpl@5a67c9 for event type: class
org.sapia.corus.core.ServerStartedEvent
2011.09.15@17:45:17:500 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.deployer.DeployerImpl as module
org.sapia.corus.client.services.deployer.Deployer
2011.09.15@17:45:17:500 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Deploy dir: C:\utils\corus\corus\modules\server\deploy\home_33000
2011.09.15@17:45:17:500 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Temporary dir: C:\utils\corus\corus\modules\server\tmp\home_33000
2011.09.15@17:45:17:500 INFO[org.sapia.corus.deployer.DeployerImpl]:
Initializing: rebuilding distribution objects
2011.09.15@17:45:17:515 INFO[org.sapia.corus.deployer.DeployerImpl]:
Distribution objects succesfully rebuilt
2011.09.15@17:45:17:515 DEBUG[EventDispatcher]: Adding interceptor:
org.sapia.corus.deployer.DeployerImpl@16546ef for event type: class
org.sapia.corus.core.ServerStartedEvent
2011.09.15@17:45:17:515
INFO[org.sapia.corus.taskmanager.CorusTaskManagerImpl]: BuildDistTask
>> No distributions
2011.09.15@17:45:17:546 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.processor.ProcessorImpl as module
org.sapia.corus.client.services.processor.Processor
2011.09.15@17:45:17:593 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.cron.CronModuleImpl as module
org.sapia.corus.client.services.cron.CronModule
2011.09.15@17:45:17:609 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.security.SecurityModuleImpl as module
org.sapia.corus.client.services.security.SecurityModule
2011.09.15@17:45:17:609
INFO[org.sapia.corus.security.SecurityModuleImpl]: Initializing the
security module
2011.09.15@17:45:17:687 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /files:
org.sapia.corus.http.filesystem.FileSystemExtension@c623af
2011.09.15@17:45:17:687 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /jmx:
org.sapia.corus.http.jmx.JmxExtension@e753
2011.09.15@17:45:17:781 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /interop/soap:
org.sapia.corus.http.interop.SoapExtension@17cec96
2011.09.15@17:45:17:781 INFO[org.sapia.corus.http.HttpModuleImpl]:
Starting http extension manager
2011.09.15@17:45:17:796 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /processor:
org.sapia.corus.processor.ProcessorExtension@1e13e07
2011.09.15@17:45:17:796
DEBUG[org.sapia.corus.taskmanager.CorusTaskManagerImpl]:
ProcessCheckTask >> Checking for stale processes...
2011.09.15@17:45:17:796
DEBUG[org.sapia.corus.taskmanager.CorusTaskManagerImpl]:
ProcessCheckTask >> Stale process check finished
2011.09.15@17:45:17:796 DEBUG[EventDispatcher]: Adding interceptor:
org.sapia.corus.processor.ProcessorImpl$ProcessorInterceptor@1b34126
for event type: class
org.sapia.corus.client.services.deployer.event.UndeploymentEvent
2011.09.15@17:45:17:796
INFO[org.sapia.corus.security.SecurityModuleImpl]: Starting the
security module
Corus server (2.1-SNAPSHOT) started on: [ host=10.0.1.13, port=33000,
type=tcp/socket ]:33000, domain: home
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Creating mplex socket connector to accept deployment connections
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Starting mplex deployment acceptor thread
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Deployment acceptor thread started
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /deployer:
org.sapia.corus.deployer.DeployerExtension@21e554
Exception in thread "-1314816922086_-7491878183500006170Unicast@home"
java.util.MissingFormatArgumentException: Format specifier 's'
at java.util.Formatter.format(Formatter.java:2432)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at org.sapia.corus.cluster.ClusterManagerImpl.onAsyncEvent(ClusterManagerImpl.java:135)
at org.sapia.ubik.mcast.EventConsumer.notifyAsyncListeners(EventConsumer.java:318)
at org.sapia.ubik.mcast.EventConsumer.onAsyncEvent(EventConsumer.java:230)
at org.sapia.ubik.mcast.UDPUnicastDispatcher.handle(UDPUnicastDispatcher.java:274)
at org.sapia.ubik.mcast.server.UDPServer.run(UDPServer.java:57)
2011.09.15@17:45:27:562
INFO[org.sapia.corus.security.SecurityModuleImpl]: Stopping the
security module
2011.09.15@17:45:27:562 INFO[org.sapia.corus.deployer.DeployerImpl]:
Could not accept client connection; server probably shutting down
java.net.SocketException: No socket available - the socket queue is
closed
at org.sapia.ubik.net.mplex.SocketQueue.getSocket(SocketQueue.java:94)
at org.sapia.ubik.net.mplex.SocketConnectorImpl.accept(SocketConnectorImpl.java:154)
at org.sapia.corus.deployer.transport.mplex.AcceptorThread.run(AcceptorThread.java:62)
at java.lang.Thread.run(Thread.java:662)
Terminate batch job (Y/N)? C:\utils\corus\corus\modules\server
>echo off
log4j:WARN No appenders could be found for logger
(org.springframework.core.CollectionFactory).
log4j:WARN Please initialize the log4j system properly.
2011.09.15@17:45:17:125 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.db.DbModuleImpl as module
org.sapia.corus.client.services.db.DbModule
2011.09.15@17:45:17:140 DEBUG[org.sapia.corus.db.DbModuleImpl]: DB
module directory C:\utils\corus\corus\modules\server\db\home_33000
2011.09.15@17:45:17:203 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.os.OsModuleImpl as module
org.sapia.corus.client.services.os.OsModule
2011.09.15@17:45:17:203 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.file.FileSystemModuleImpl as module
org.sapia.corus.client.services.file.FileSystemModule
2011.09.15@17:45:17:218 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.configurator.ConfiguratorImpl as module
org.sapia.corus.client.services.configurator.Configurator
2011.09.15@17:45:17:265 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.taskmanager.CorusTaskManagerImpl as module
org.sapia.corus.taskmanager.core.TaskManager
2011.09.15@17:45:17:265 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.taskmanager.CorusTaskManagerImpl as module
org.sapia.corus.taskmanager.CorusTaskManager
2011.09.15@17:45:17:281 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.event.EventDispatcherImpl as module
org.sapia.corus.client.services.event.EventDispatcher
2011.09.15@17:45:17:296 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.http.HttpModuleImpl as module
org.sapia.corus.client.services.http.HttpModule
2011.09.15@17:45:17:312 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.port.PortManagerImpl as module
org.sapia.corus.client.services.port.PortManager
2011.09.15@17:45:17:406 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.cluster.ClusterManagerImpl as module
org.sapia.corus.client.services.cluster.ClusterManager
2011.09.15@17:45:17:453
INFO[org.sapia.corus.cluster.ClusterManagerImpl]: Signaling presence
to cluster on: 231.173.5.7:5454
2011.09.15@17:45:17:453 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.naming.JndiModuleImpl as module
org.sapia.corus.client.services.naming.JndiModule
2011.09.15@17:45:17:453 DEBUG[EventDispatcher]: Adding interceptor:
org.sapia.corus.naming.JndiModuleImpl@5a67c9 for event type: class
org.sapia.corus.core.ServerStartedEvent
2011.09.15@17:45:17:500 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.deployer.DeployerImpl as module
org.sapia.corus.client.services.deployer.Deployer
2011.09.15@17:45:17:500 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Deploy dir: C:\utils\corus\corus\modules\server\deploy\home_33000
2011.09.15@17:45:17:500 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Temporary dir: C:\utils\corus\corus\modules\server\tmp\home_33000
2011.09.15@17:45:17:500 INFO[org.sapia.corus.deployer.DeployerImpl]:
Initializing: rebuilding distribution objects
2011.09.15@17:45:17:515 INFO[org.sapia.corus.deployer.DeployerImpl]:
Distribution objects succesfully rebuilt
2011.09.15@17:45:17:515 DEBUG[EventDispatcher]: Adding interceptor:
org.sapia.corus.deployer.DeployerImpl@16546ef for event type: class
org.sapia.corus.core.ServerStartedEvent
2011.09.15@17:45:17:515
INFO[org.sapia.corus.taskmanager.CorusTaskManagerImpl]: BuildDistTask
>> No distributions
2011.09.15@17:45:17:546 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.processor.ProcessorImpl as module
org.sapia.corus.client.services.processor.Processor
2011.09.15@17:45:17:593 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.cron.CronModuleImpl as module
org.sapia.corus.client.services.cron.CronModule
2011.09.15@17:45:17:609 DEBUG[ModulePostProcessor]: Binding
org.sapia.corus.security.SecurityModuleImpl as module
org.sapia.corus.client.services.security.SecurityModule
2011.09.15@17:45:17:609
INFO[org.sapia.corus.security.SecurityModuleImpl]: Initializing the
security module
2011.09.15@17:45:17:687 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /files:
org.sapia.corus.http.filesystem.FileSystemExtension@c623af
2011.09.15@17:45:17:687 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /jmx:
org.sapia.corus.http.jmx.JmxExtension@e753
2011.09.15@17:45:17:781 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /interop/soap:
org.sapia.corus.http.interop.SoapExtension@17cec96
2011.09.15@17:45:17:781 INFO[org.sapia.corus.http.HttpModuleImpl]:
Starting http extension manager
2011.09.15@17:45:17:796 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /processor:
org.sapia.corus.processor.ProcessorExtension@1e13e07
2011.09.15@17:45:17:796
DEBUG[org.sapia.corus.taskmanager.CorusTaskManagerImpl]:
ProcessCheckTask >> Checking for stale processes...
2011.09.15@17:45:17:796
DEBUG[org.sapia.corus.taskmanager.CorusTaskManagerImpl]:
ProcessCheckTask >> Stale process check finished
2011.09.15@17:45:17:796 DEBUG[EventDispatcher]: Adding interceptor:
org.sapia.corus.processor.ProcessorImpl$ProcessorInterceptor@1b34126
for event type: class
org.sapia.corus.client.services.deployer.event.UndeploymentEvent
2011.09.15@17:45:17:796
INFO[org.sapia.corus.security.SecurityModuleImpl]: Starting the
security module
Corus server (2.1-SNAPSHOT) started on: [ host=10.0.1.13, port=33000,
type=tcp/socket ]:33000, domain: home
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Creating mplex socket connector to accept deployment connections
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Starting mplex deployment acceptor thread
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.deployer.DeployerImpl]:
Deployment acceptor thread started
2011.09.15@17:45:17:812 DEBUG[org.sapia.corus.http.HttpModuleImpl]:
Adding HTTP extension under /deployer:
org.sapia.corus.deployer.DeployerExtension@21e554
Exception in thread "-1314816922086_-7491878183500006170Unicast@home"
java.util.MissingFormatArgumentException: Format specifier 's'
at java.util.Formatter.format(Formatter.java:2432)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at org.sapia.corus.cluster.ClusterManagerImpl.onAsyncEvent(ClusterManagerImpl.java:135)
at org.sapia.ubik.mcast.EventConsumer.notifyAsyncListeners(EventConsumer.java:318)
at org.sapia.ubik.mcast.EventConsumer.onAsyncEvent(EventConsumer.java:230)
at org.sapia.ubik.mcast.UDPUnicastDispatcher.handle(UDPUnicastDispatcher.java:274)
at org.sapia.ubik.mcast.server.UDPServer.run(UDPServer.java:57)
2011.09.15@17:45:27:562
INFO[org.sapia.corus.security.SecurityModuleImpl]: Stopping the
security module
2011.09.15@17:45:27:562 INFO[org.sapia.corus.deployer.DeployerImpl]:
Could not accept client connection; server probably shutting down
java.net.SocketException: No socket available - the socket queue is
closed
at org.sapia.ubik.net.mplex.SocketQueue.getSocket(SocketQueue.java:94)
at org.sapia.ubik.net.mplex.SocketConnectorImpl.accept(SocketConnectorImpl.java:154)
at org.sapia.corus.deployer.transport.mplex.AcceptorThread.run(AcceptorThread.java:62)
at java.lang.Thread.run(Thread.java:662)
Terminate batch job (Y/N)?
On 9/15/11, Yanick Duchesne <yanickd...@gmail.com> wrote:
> Hi Laurence,
>
> Another precision about the build: you require grails 1.3.3 installed and
> Maven 2.x. The grails 1.3.3 Maven plugin fails with Maven 3.
>
> Since it's getting complicated, we will do a release later today with the
> required fix. This will ease your pains.
>
> BTW, the bug has nothing to do with multicast. It's rather an issue with
> discovery logic.
>
> On Sep 15, 2011 7:06 AM, "Yanick Duchesne" <yanickd...@gmail.com> wrote:
>
> Hi Laurence,
>
> yes for specifying the domain you use the -d switch. Your procedure for
> testing is right on.
>
> The trunk version of Corus has the fix for the misbehavior you are
> mentioning (see my previous post on instructions to on how to build from
> source - you need to checkout from trunk/corus in the SVN repo on Google
> code). We will do a release shortly, but in the meantime use the trunk.
>
> Also, with that version, using corus.server.address.pattern is not required:
> Corus will bind to all network interfaces by default. You use the property
> only to enforce binding to a specific network interface.
>
>
>
> On Thu, Sep 15, 2011 at 12:42 AM, Laurence <lauren...@gmail.com> wrote:
>>
>> Yanick,
>>
>> Just to...
> --
> Yanick Duchesne
Thanks. I see the issue. Not network related. Will release a clean build this evening.
> Another precisio...
> <http://www.imetrik.com>
>
I'm just starting the Corus servers from the command line on Windows and OS X (I'm using the latest Corus V2.1).All test machines are WIFI connected to an Apple AirportExtreme using 10.0.1.x addresses.The OS X machine for these tests is a MacBook Air with OS X Snow Leopard running 64 bit Java 6.The 4 other Windows machines (2 Win7, 1 Xp, 1 Vista) are running 32 bit Java 6.
The fact that you cant connect with the CLI explicitely with the connect command clearly indicates a network issue: in this case no multicast is involved at all. Rather, a plain point to point tcp connection is attempted.
Could you re-enable the address pattern on 2 corus servers and restart them? Then, reattempt the connect command on each, using the addresses that are matching the pattern.
Keep me posted.
On Sep 16, 2011 10:29 PM, "Laurence" <lauren...@gmail.com> wrote:
Yanick,
> sorry about this perniciou...