Home Help Center

Error during launching IceStorm

SameerreleSameerrele Member Sameer ReleOrganization: TRGProject: SOA
I am evaluating Ice as an enterprise solution for service oriented architecture within our firm.

I am using JDK1.5 and Ice3.1

I am interested in getting IceStorm started. I understand that to do so I need to use IceBox.

My configuration parameters for IceBox are as follows :

IceBox.ServiceManager.Endpoints=tcp -p 9998
IceBox.Service.Hello=demo.HelloServiceI
Hello.Endpoints=tcp -p 10000
IceBox.Service.IceStorm=IceStormService,31:createIceStorm --Ice.Config=icestorm.config


And icestorm.config looks like below
Freeze.DbEnv.IceStorm.DbHome=db
IceStorm.TopicManager.Endpoints=tcp -p 9999
IceStorm.Publish.Endpoints=tcp


Without IceStorm, IceBox works well (which indicates that ice.jar is in classpath).

However when I include IceStorm (as in the above scenario) I get the following error :
error: ServiceManager: class IceStormService,31:createIceStorm not found
IceBox.FailureException
reason = "ServiceManager: class IceStormService,31:createIceStorm not found"
at IceBox.ServiceManagerI.start(ServiceManagerI.java:273)
at IceBox.ServiceManagerI.load(ServiceManagerI.java:222)
at IceBox.ServiceManagerI.run(ServiceManagerI.java:106)
at IceBox.Server.run(Server.java:50)
at Ice.Application.main(Application.java:114)
at Ice.Application.main(Application.java:30)
at IceBox.Server.main(Server.java:28)
Caused by: java.lang.ClassNotFoundException: IceStormService,30:createIceStorm
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at IceBox.ServiceManagerI.start(ServiceManagerI.java:258)
... 6 more


I know I am missing something very trivial and any help from you would be appreciated.

Thanks

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Hi,

    Welcome to the ZeroC forums! Please see this post regarding our support policy here on these forums.

    Regards,
    Dwayne
  • SameerreleSameerrele Member Sameer ReleOrganization: TRGProject: SOA
    As an FYI :

    I am starting IceBox using java IceBox.Server --Ice.Config=config_service

    When I start IceBox using icebox.exe, it works !

    Isnt icebox.exe equivalent to starting IceBox.Server?
  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    IceStorm is a C++ service, therefore you must use the C++ container (icebox.exe). The Java container (IceBox.Server) can only host Java services.

    Take care,
    - Mark
  • SameerreleSameerrele Member Sameer ReleOrganization: TRGProject: SOA
    Thank You,

    That resolves the issue.

    Any plans to make IceStorm a Java service?
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    This service typically requires high performance and as such Java isn't really a suitable implementation language. Why do you want a Java version?

    However, if you wanted to sponsor such an effort please contact us at [email protected].
  • SameerreleSameerrele Member Sameer ReleOrganization: TRGProject: SOA
    Thanks Mattew.

    Appreciate your response.
Sign In or Register to comment.