Results 1 to 6 of 6

Thread: IceStorm cannot work well in RH AS4

  1. #1
    karl_ma is offline Registered User
    Join Date
    Sep 2005
    Posts
    6

    Question IceStorm cannot work well in RH AS4

    I have run IceStorm and the clock demo in winxp, it work well.
    But when I run IceStorm in RH AS4, and run publisher and subscriber in winxp.
    The publisher raise the Ice::ConnectionRefusedException when it call clock->tick(). I suprise that it have connected with server when it call manager->retrieve("time") and why it's can't connected when it call clock->tick() .

    My config file as follow:
    Code:
      Clock.Subscriber.Endpoints=tcp
      IceStorm.TopicManager.Proxy=IceStorm/TopicManager:tcp -h 192.168.6.2 -p 10000
      IceStorm.TopicManager.Endpoints=tcp -h 192.168.6.2 -p 10000
      IceStorm.Publish.Endpoints=tcp
      IceStorm.Trace.TopicManager=2
      IceStorm.Trace.Topic=1
      IceStorm.Trace.Subscriber=1
      IceStorm.Trace.Flush=1
      IceStorm.Flush.Timeout = 200
    My config_service file as follow:
    Code:
      IceBox.ServiceManager.Endpoints=tcp -p 9998
      IceBox.Service.IceStorm=IceStormService,21:create --Ice.Config=config
      Freeze.DbEnv.IceStorm.DbHome=db
    Last edited by karl_ma; 09-26-2005 at 09:18 PM.
    Karl Ma
    SuperPhone(http://www.superphone.com)
    For task of evaluating ICE.

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458

  3. #3
    karl_ma is offline Registered User
    Join Date
    Sep 2005
    Posts
    6

    Red face A new problem

    I have resolve the first problem. Because I set the property IceStorm.TopicManager.Endpoints to tcp, so the server listen on 127.0.0.1, and the publisher runing on anthoer computer can't connect to it.

    Now I run the IceStorm server on a machine with public IP(202.208.1.1), and run publisher and subscriber in a machine with private IP. The subscriber can't receive the message published by publisher. I think that the server want to connect to a private IP(192.168.6.2), but can't, so it remove the subscriber form it's queue.

    What can I do for this?

    Thanks in advance.
    Karl Ma
    SuperPhone(http://www.superphone.com)
    For task of evaluating ICE.

  4. #4
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Currently the subscriber has to be directly accessible. That means you'll need to punch a hole in your firewall, and port forward to the server. You'll need to set the PublishedEndpoint property also so that the correct address is advertised by your server. See the Ice manual for details, or the FAQ in issue3 of connections.

    There is another solution which doesn't require opening a hole in the firewall which is to use bi-directional connections (see demo/Ice/bidir, and the Ice manual for details). Unfortunately, IceStorm doesn't support this at present. Its not a hard change to make it do so, however.

    If you have a commercial need for this feature please contact us at sales@zeroc.com.

  5. #5
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    We have been discussing this issue internally. Can you tell us why you want to run a bi-directional connection directly to IceStorm? What is the network configuration that leads you to want to do this?

  6. #6
    karl_ma is offline Registered User
    Join Date
    Sep 2005
    Posts
    6

    Lightbulb How can I decrease the cache size?

    I want to trasfer some messages and files from one client(publisher) to another client(subscriber). the IceStrom server is in public network, but the both clients are in the private network(after NAT).
    Now, I have another problem when I test the IceStorm:
    the publisher send a file(the file size >20M) to a subscriber, and the subscriber receive slowly, when the publisher have finished, the subscriber received 10% only. That is said, the IceStorm stored the file data in a cache.
    How can I decrease the cache size?
    or How can I control the publisher's speed to match the subscriber?
    Karl Ma
    SuperPhone(http://www.superphone.com)
    For task of evaluating ICE.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. RH AS3 Installation
    By amorlupi in forum Help Center
    Replies: 3
    Last Post: 11-11-2005, 10:02 AM
  2. ICE for RH linux
    By greggo1105 in forum Help Center
    Replies: 2
    Last Post: 06-01-2005, 03:50 PM
  3. Unable to compile Ice-2.0.0 on RH ES Linux
    By vsonnathi in forum Bug Reports
    Replies: 2
    Last Post: 11-23-2004, 01:26 PM
  4. Compiling Ice 1.2.0 on RH 9.0
    By Jan_Holst in forum Help Center
    Replies: 2
    Last Post: 02-02-2004, 11:38 AM
  5. This should work!
    By catalin in forum Help Center
    Replies: 3
    Last Post: 12-11-2003, 03:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •