Exec Samples: Nothing Happens, no error...

Help
didyeah
2007-03-15
2013-04-08
  • didyeah
    didyeah
    2007-03-15

    HI,
    I am benchmarking the open sources jms implementations and mantaray seems really interesting to my company because of it's serverless approach. 
    But when i'm trying the examples, they failed. for example, the guitalk, with the jms queues, is launching with no problem, but there is no communication between the windows, can it run in local ?
    I tried to modify, the default_config.xml file, by changing the ip adresses and port but nothing happens.
    The logs file doesn't seem to contain anynthing wrong. 
    What could that be ? I'am joining an example of a log file for the guitalk example.
    I am working with Windows Server 2003 R2, jdk 1.5.06, mantaray 2.0.1.
    Thx for helping, 
    did

    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO MantaAgent : property 'mantaConfig'=../../../../../../config/default_config.xml
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO MantaAgent : ../../../../../../config/default_config.xml found.
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO WorldModelerLoader : Dynamic Service Creation is ENABLED.
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO MantaLogAppender : Log folder found at C:\mantaray\samples\src\sample\jms\queues\guitalk\.\logs\
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO NetworkManager : Local MantaRay peer name is 'm127.0.0.16601'.
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO PersistentConst : Persistent folder found at ./persistent
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO WBLink : WBLink starting
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO WBLink : WBLink is disabled
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO PluginManager : PluginManager is starting to load 2 plugins
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO AutoDiscoveryPlugin : Multicast Address: 228.5.6.7, Multicast Port: 6785
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO PluginManager : Loaded plugin org.mr.plugins.discovery.AutoDiscoveryPlugin
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO QueuesCoordinator : Starting DynamicQueuesCoordinator
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO PluginManager : Loaded plugin org.mr.plugins.coordinators.QueuesCoordinator
    ___________________________________________________________________________________
    03/13/07 10:49:00 AM [main] INFO MantaRMIServer : MantaRMIServer is disabled property 'enable_rmi_api' is null or false.
    ___________________________________________________________________________________
    03/13/07 10:49:01 AM [main] INFO MantaAgent : MantaRay 2.0.1 initialization completed.
    ___________________________________________________________________________________
    03/13/07 10:49:01 AM [main] INFO MantaAgent : MANTARAY LOADED (Don't Panic).
    ___________________________________________________________________________________
    03/13/07 10:49:01 AM [main] INFO MantaSession : Created local producer ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue212807224661 type=2
    ___________________________________________________________________________________
    03/13/07 10:49:02 AM [main] INFO MantaSession : Created local consumer ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue111807224664 type=1 durability=false selector=null }
    ___________________________________________________________________________________
    03/13/07 10:49:04 AM [DynamicQueuesCoordinator] INFO DynamicQueuesCoordinator : Starting to coordinate queue ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue213807224669 type=3
    ___________________________________________________________________________________
    03/13/07 10:49:14 AM [AWT-EventQueue-0] INFO MantaSession : Recalling local producer ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue212807224661 type=2
    ___________________________________________________________________________________
    03/13/07 10:49:14 AM [AWT-EventQueue-0] INFO MantaSession : Recalling local consumer ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue111807224664 type=1 durability=false selector=null }
    ___________________________________________________________________________________
    03/13/07 10:49:14 AM [Thread-13] INFO ServiceRecallShutdownHook : Recalled 0 service consumers , 0 service producers and 1 coordinators. (So long, and thanks for all the fish)
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO MantaAgent : property 'mantaConfig'=../../../../../../config/default_config.xml
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO MantaAgent : ../../../../../../config/default_config.xml found.
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO WorldModelerLoader : Dynamic Service Creation is ENABLED.
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO MantaLogAppender : Log folder found at C:\mantaray\samples\src\sample\jms\queues\guitalk\.\logs\
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO NetworkManager : Local MantaRay peer name is 'm127.0.0.16601'.
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO PersistentConst : Persistent folder found at ./persistent
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO WBLink : WBLink starting
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO WBLink : WBLink is disabled
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO PluginManager : PluginManager is starting to load 2 plugins
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO AutoDiscoveryPlugin : Multicast Address: 228.5.6.7, Multicast Port: 6785
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO PluginManager : Loaded plugin org.mr.plugins.discovery.AutoDiscoveryPlugin
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO QueuesCoordinator : Starting DynamicQueuesCoordinator
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO PluginManager : Loaded plugin org.mr.plugins.coordinators.QueuesCoordinator
    ___________________________________________________________________________________
    03/13/07 10:50:09 AM [main] INFO MantaRMIServer : MantaRMIServer is disabled property 'enable_rmi_api' is null or false.
    ___________________________________________________________________________________
    03/13/07 10:50:10 AM [main] INFO MantaAgent : MantaRay 2.0.1 initialization completed.
    ___________________________________________________________________________________
    03/13/07 10:50:10 AM [main] INFO MantaAgent : MANTARAY LOADED (Don't Panic).
    ___________________________________________________________________________________
    03/13/07 10:50:10 AM [main] INFO MantaSession : Created local producer ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue1121284291598 type=2
    ___________________________________________________________________________________
    03/13/07 10:50:11 AM [main] INFO MantaSession : Created local consumer ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue2111284291600 type=1 durability=false selector=null }
    ___________________________________________________________________________________
    03/13/07 10:50:12 AM [DynamicQueuesCoordinator] INFO DynamicQueuesCoordinator : Starting to coordinate queue ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue1131284291606 type=3
    ___________________________________________________________________________________
    03/13/07 10:50:16 AM [AWT-EventQueue-0] INFO MantaSession : Recalling local producer ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue1121284291598 type=2
    ___________________________________________________________________________________
    03/13/07 10:50:16 AM [AWT-EventQueue-0] INFO MantaSession : Recalling local consumer ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue2111284291600 type=1 durability=false selector=null }
    ___________________________________________________________________________________
    03/13/07 10:50:16 AM [Thread-13] INFO ServiceRecallShutdownHook : Recalled 0 service consumers , 0 service producers and 1 coordinators. (So long, and thanks for all the fish)
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO MantaAgent : property 'mantaConfig'=../../../../../../config/default_config.xml
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO MantaAgent : ../../../../../../config/default_config.xml found.
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO WorldModelerLoader : Dynamic Service Creation is ENABLED.
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO MantaLogAppender : Log folder found at C:\mantaray\samples\src\sample\jms\queues\guitalk\.\logs\
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO NetworkManager : Local MantaRay peer name is 'm127.0.0.16601'.
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO PersistentConst : Persistent folder found at ./persistent
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO WBLink : WBLink starting
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO WBLink : WBLink is disabled
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO PluginManager : PluginManager is starting to load 2 plugins
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO AutoDiscoveryPlugin : Multicast Address: 228.5.6.7, Multicast Port: 6785
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO PluginManager : Loaded plugin org.mr.plugins.discovery.AutoDiscoveryPlugin
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO QueuesCoordinator : Starting DynamicQueuesCoordinator
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO PluginManager : Loaded plugin org.mr.plugins.coordinators.QueuesCoordinator
    ___________________________________________________________________________________
    03/13/07 10:54:24 AM [main] INFO MantaRMIServer : MantaRMIServer is disabled property 'enable_rmi_api' is null or false.
    ___________________________________________________________________________________
    03/13/07 10:54:25 AM [main] INFO MantaAgent : MantaRay 2.0.1 initialization completed.
    ___________________________________________________________________________________
    03/13/07 10:54:25 AM [main] INFO MantaAgent : MANTARAY LOADED (Don't Panic).
    ___________________________________________________________________________________
    03/13/07 10:54:25 AM [main] INFO MantaSession : Created local producer ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue212-1125646322 type=2
    ___________________________________________________________________________________
    03/13/07 10:54:26 AM [main] INFO MantaSession : Created local consumer ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue111-1125646320 type=1 durability=false selector=null }
    ___________________________________________________________________________________
    03/13/07 10:54:28 AM [DynamicQueuesCoordinator] INFO DynamicQueuesCoordinator : Starting to coordinate queue ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue213-1125646313 type=3
    ___________________________________________________________________________________
    03/13/07 10:55:12 AM [AWT-EventQueue-0] INFO MantaSession : Recalling local producer ServiceActor{ service=SampleQueue2 id=m127.0.0.16601@SampleQueue212-1125646322 type=2
    ___________________________________________________________________________________
    03/13/07 10:55:13 AM [AWT-EventQueue-0] INFO MantaSession : Recalling local consumer ServiceActor{ service=SampleQueue1 id=m127.0.0.16601@SampleQueue111-1125646320 type=1 durability=false selector=null }
    ___________________________________________________________________________________
    03/13/07 10:55:13 AM [Thread-13] INFO ServiceRecallShutdownHook : Recalled 0 service consumers , 0 service producers and 1 coordinators. (So long, and thanks for all the fish)
    ___________________________________________________________________________________

     
    • I am having the exact same problem.  What I did find, however is that if I run two on one machine and change the broadcast IP to 127.0.0.5  (I have changed nothing else in the default configuration), the two clients are able to communicate.

      I still have not had any success getting two clients to talk to each other running on two separate machines.

      I have made sure that there is no firewall inhibiting communication between the two.  I also tried using a real IP address for the broadcast IP to no avail.

      I really want to be able to make use of Mantaray for a project that I am working on as the ability to have peer communication is highly desired.

      If anyone can shed some light on this issue, it would be greatly appreciated.

       
    • I had the same problem (working fine on one machine, not working on two machines)...I tried different configurations and even the WAN Bridge, to no avail...the only solution that I could find was to use the static world map - edit the default_config.xml and list all peers there...after that everything worked like a charm.

      Downside: No dynamic discovery means reconfiguration of all peers once a new peer should be added...