Archived
This forum has been archived. Please start a new discussion on GitHub.
Help in IceStorm
bintangtriatmo
in Help Center
Hello, I'm really new in Ice literally new and I need some help using the IceStrom.
I want to develop Java application which using publish subscribe IceStrom mechanism, and I'm a Mac user.
I tried to run the Clock demo using terminal, but I can't run it. It said command not found. So I decided to run using Eclipse. And I can't run it either. It says I have Ice.ConnectionRefusedException when it tried to run this line :
IceStorm.TopicManagerPrx manager = IceStorm.TopicManagerPrxHelper.checkedCast(
communicator().propertyToProxy("TopicManager.Proxy"));
Is it possible to run this demo in Eclipse? And is there something I need to do before running the code? Like maybe turn on the IceStrom server??
I want to develop Java application which using publish subscribe IceStrom mechanism, and I'm a Mac user.
I tried to run the Clock demo using terminal, but I can't run it. It said command not found. So I decided to run using Eclipse. And I can't run it either. It says I have Ice.ConnectionRefusedException when it tried to run this line :
IceStorm.TopicManagerPrx manager = IceStorm.TopicManagerPrxHelper.checkedCast(
communicator().propertyToProxy("TopicManager.Proxy"));
Is it possible to run this demo in Eclipse? And is there something I need to do before running the code? Like maybe turn on the IceStrom server??
0
Comments
-
The README file in the demo directory contains instructions for running the demo.
You may also be interested in these documents:
0 -
IceStrom is a C++ IceBox service, you must run it from the command line.
$ icebox --Ice.Config=config.icebox
If icebox isn't in your PATH you must need to add Ice bin directory to your path. There is notes about how to use the binary distributions in the release notes Release Notes - Ice 3.5 - ZeroC.
The Subscriber and Publisher are Java applications and can be run from eclipse.0 -
I've put the Ice bin directory to my path using the instruction inside the link that you gave me.
export CLASSPATH=/Library/Developer/Ice-3.5.0/lib/Ice.jar:$CLASSPATH
that's the way right? even not only for Ice, I put IceStorm lib and IceBox too.
export CLASSPATH=/Library/Developer/Ice-3.5.0/lib/IceBox.jar:$CLASSPATH
export CLASSPATH=/Library/Developer/Ice-3.5.0/lib/IceStorm.jar:$CLASSPATH
However when I tried to turn on the IceBox Service, it's still wont work. It says command not found in my Terminal.0
