#19 Running Mantaray over the WAN

closed
None
5
2005-04-20
2004-08-23
Gabi M
No

Hi
I have am using mantaray for an application I wrote for
work.
At the office the application and mantaray runs well (we
have a LAN there)
But when I try it at home (I use 2 computer connected
to the internet) and it does not work.
It seems that the mantaray layers do not find each
other - the world.xml is not modified like it did in the
office.
The logs looks fine (if you want I will attach them)
Is there a workaround?
Have you seen this before?

Thanks
Gabi

PS
I tried to run the samples too:
set
CP=.;./;./test/;./manta.jar;.;.\ext\antlr.jar;.\ext\bsh-
1.2b3.jar;.\ext\commons-
logging.jar;.\ext\concurrent.jar;.\ext\inria.jar;.\ext\jgroup
s.jar;.\ext\jms.jar;.\ext\log4j-1.2.8.jar;.\ext\xerces.jar

java -DmantaHome="." -cp %CP% Chat -u
ACCOUNTING -t SampleTopic1

java -DmantaHome="." -cp %CP% Chat -u SALES -t
SampleTopic1

Discussion

  • Amir Shevat

    Amir Shevat - 2004-08-23

    Logged In: YES
    user_id=1038557

    Hi

    By default, Mantaray is configured for a LAN environment -
    the automatic discovery plug-in (multicast based) does not
    work well in an internet environment.
    You can easily disable the plug-in in the mantaray
    configuration file:
    Remove the value
    org.mr.plugins.discovery.AutoDiscoveryPlugin from the
    property PluginList in the default_config.params configuration
    file.

    After removing the plug-in you must manually add all the
    mantaray layers in your application to the world.xml
    For example:
    You have 2 programs each running a mantaray layer, one
    layer called FOO and the other called BAR
    You need to have both of the added to the world.xml
    (located at /config in each layer folder) like this

    <agent name='FOO' >
    <transport ip='[foo ip] port='[foo port]' type='TCP' />
    </agent>
    <agent name='BAR' >
    <transport ip='[bar ip]' port='[bar port]' type='TCP' />
    </agent>

    Were [foo ip] and [bar ip] are the IP on the machines were
    the application reside and [foo port] and [bar port] are the
    TCP ports that the mantaray layer listens too.

    After that the mantaray will work without using automatic
    discovery.

    Hope that helps

    Amir Shevat
    Mantaray Team:
    http://sourceforge.net/projects/mantaray/
    Mantaray Home page:
    http://www.mantamq.org/

     
  • Amir Shevat

    Amir Shevat - 2004-08-23
    • assigned_to: nobody --> ashevat
     
  • Amir Shevat

    Amir Shevat - 2004-09-14
    • labels: 648098 -->
     
  • Amir Shevat

    Amir Shevat - 2004-09-14

    Logged In: YES
    user_id=1038557

    We should create an ability to discover elements in the WAN
    (in cases JGroups will not do)

     
  • Amir Shevat

    Amir Shevat - 2004-09-14
    • assigned_to: ashevat --> nobody
    • summary: Problem running Mantaray over the internet --> Running Mantaray over the WAN
     
  • Amir Shevat

    Amir Shevat - 2004-10-12
    • assigned_to: nobody --> urish31
     
  • Amir Shevat

    Amir Shevat - 2005-04-20

    Logged In: YES
    user_id=1038557

    MantaRay WAN Bridge (MWB) solves the problem of
    MantaRay WAN communication

     
  • Amir Shevat

    Amir Shevat - 2005-04-20
    • status: open --> closed
     

Log in to post a comment.