Results 1 to 5 of 5

Thread: Question about IceBox

  1. #1
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181

    Question about IceBox

    hi,
    I know IceBox can host serveral services, but Icebox itself seems not be as a service. I mean, say, in Windows, it can not be started as a common service since its base class (c++ and java) is Application.
    This is not very convenient because the icebox app. needs a console window I did not want.
    There must be some considerations when designed. Could you please say more about it ?

    Thanks

    OrNot
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

  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
    There is no particular reason why IceBox cannot be a windows service.

  3. #3
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181
    Sorry Matthrew. . Do you mean that if icebox is used, the console window is definitely showed? Or are there some ways to run a icebox as a Windows service?
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

  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
    You cannot run it directly as a service unless you modify the source. However, you might be able to use the windows service wrapper that Microsoft provides. See http://www.microsoft.com/downloads/d...displaylang=en here for details.

  5. #5
    dhogan is offline Registered User
    Name: Dirk Hogan
    Organization: Hewlett-Packard
    Project: client-server app
    Join Date
    Jun 2006
    Posts
    39
    A .NET Foundation Class Library class - System.ServiceProcess.ServiceBase - allows you to easily write C# code that will run as a windows service. I am attempting to start multiple instances of IceBox with different hosted service instances from a ServiceBase subclass(including IceStorm). I am planning to do so by invoking a series of .bat files which are currently used to manually start the IceBox instances - scripts that look something like

    c:\ice-3.0.1\bin\icebox.exe --Ice.Config=F:\cvs_sandbox\Halo\halo\3rdGen\config\ inroom\svcconfig_icestorm.config

    I assume I will have to add the c:\ice-3.0.1\bin\ directory to the PATH so that all of the .dll depenencies from icebox.exe can be resolved. Do you have any other comments on such an approach?

    Thanks
    Dirk

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question regarding to run IceBox service
    By zaoliu in forum Help Center
    Replies: 1
    Last Post: 04-22-2008, 08:00 PM
  2. question for icebox
    By terminate in forum Help Center
    Replies: 3
    Last Post: 04-23-2007, 11:39 AM
  3. Question regarding IceBox / server side
    By ctennis in forum Help Center
    Replies: 5
    Last Post: 03-08-2006, 09:27 AM
  4. IceBox.ServiceManagerI.run() Visibility Question
    By Venkat Seeth in forum Help Center
    Replies: 8
    Last Post: 04-05-2005, 03:11 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
  •