|
|
|
|||||
|
Question regarding to run IceBox service
I am writing a simple program to run the IceBox java services.
The simple configuration for the IceBox is like below: IceBox.InstanceName=ServiceIceBox IceBox.ServiceManager.Endpoints=tcp -p 10000 IceBox.ServiceManager.RegisterProcess=1 IceBox.Service.SimpleTest=service.MessageServiceI SimpleTest.Endpoints=tcp -p 10001 But when I use the command to run the IceBox: java IceBox.Server ‑‑Ice.Config=./service.cfg I got the exception like below: error: ServiceManager: Ice.InitializationException reason = "object adapter "IceBox.ServiceManager" requires configuration." Ice.InitializationException reason = "object adapter "IceBox.ServiceManager" requires configuration." at Ice.ObjectAdapterI.<init>(ObjectAdapterI.java:789) at IceInternal.ObjectAdapterFactory.createObjectAdapt er(ObjectAdapterFactory.java:183) at Ice.CommunicatorI.createObjectAdapter(Communicator I.java:71) at IceBox.ServiceManagerI.run(ServiceManagerI.java:13 1) 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) To my understand, the only necessary configuration for ServiceManager is the endpoints. Is there anything I am missing? Thanks, Zao |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IceGrid Registry - can this be run as a Windows Service? | amercieca | Help Center | 4 | 10-09-2007 10:32 AM |
| how to install and run the service of IceStorm and IcePack in solaris9 system | freshman | Help Center | 1 | 05-18-2005 01:49 AM |
| IceBox.ServiceManagerI.run() Visibility Question | Venkat Seeth | Help Center | 8 | 04-05-2005 04:11 PM |
| Can IcePack Service and server run in different hosts? | eyexercise | Help Center | 11 | 12-19-2004 09:41 PM |
| Cannot run icepackregistry as a service? | annekat | Help Center | 4 | 10-23-2004 02:22 PM |