Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-21-2006
Sameerrele's Avatar
Sameerrele Sameerrele is offline
Registered User
 
Name: Sameer Rele
Organization: TRG
Project: SOA
 
Join Date: Aug 2006
Location: New York
Posts: 18
IceBox hosting java services in IceGrid

Ice-Experts,

I would appreciate if you can give an example of configuring IceGrid with IceBox which hosts multiple Java Ice services.

Thanks
__________________
Sameer Rele
Global Enterprise Solutions Architect

The Rohatyn Group
280 Park Avenue, 27th Floor - West
New York, NY 10017
Tel : (212) 984 2946
sameer.rele@rohatyngroup.com
Reply With Quote
  #2 (permalink)  
Old 08-21-2006
Sameerrele's Avatar
Sameerrele Sameerrele is offline
Registered User
 
Name: Sameer Rele
Organization: TRG
Project: SOA
 
Join Date: Aug 2006
Location: New York
Posts: 18
I have tried following

<icegrid>
<application name="JIB">
<node name="localhost">
<icebox
id="JavaIceBox"
exe="icebox"
activation="on-demand">

<service name="Hello2" entry="demo.HelloServiceI">
<adapter name="${service}" endpoints="tcp" register-process="true">
<object
identity="hello2"
type="::Demo::Hello"/>
</adapter>
<property name="Identity" value="hello2"/>
</service>
</icebox>
</node>
</application>
</icegrid>


And I get the error following error
[ icegridnode: Activator: activating server `JavaIceBox' ]
JavaIceBox: error: ServiceManager: unable to load entry point `demo.HelloService
I': invalid entry point format `demo.HelloServiceI'
[ icegridnode: Activator: detected termination of server `JavaIceBox'
exit code = 1 ]


If I try

<icegrid>
<application name="JIB">
<node name="localhost">
<icebox
id="JavaIceBox"
exe="java"
activation="on-demand">

<service name="Hello2" entry="demo.HelloServiceI">
<adapter name="${service}" endpoints="tcp" register-process="true">
<object
identity="hello2"
type="::Demo::Hello"/>
</adapter>
<property name="Identity" value="hello2"/>
</service>
</icebox>
</node>
</application>
</icegrid>


[ icegridnode: Activator: activating server `JavaIceBox' ]
Unrecognized option: --Ice.Config=c:\Ice-3.1.0\demoj\IceGrid\simple/db/node/serv
ers/JavaIceBox/config/config
Could not create the Java virtual machine.
[ icegridnode: Activator: detected termination of server `JavaIceBox'
exit code = 1 ]


Your help is appreciated

Thanks
__________________
Sameer Rele
Global Enterprise Solutions Architect

The Rohatyn Group
280 Park Avenue, 27th Floor - West
New York, NY 10017
Tel : (212) 984 2946
sameer.rele@rohatyngroup.com
Reply With Quote
  #3 (permalink)  
Old 08-21-2006
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 834
Hi Sameer,

You want IceGrid to start a Java icebox, i.e. "java IceBox.Server ...". So use exe="java" and later <option>IceBox.Server</option>.

Best regards,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #4 (permalink)  
Old 08-21-2006
Sameerrele's Avatar
Sameerrele Sameerrele is offline
Registered User
 
Name: Sameer Rele
Organization: TRG
Project: SOA
 
Join Date: Aug 2006
Location: New York
Posts: 18
Thanks Bernard,

<option> worked ! I could start IceBox server.

Is there an XSD for IceGrid? Where can I see different elements/attributes within all XMLs used in the framework?
__________________
Sameer Rele
Global Enterprise Solutions Architect

The Rohatyn Group
280 Park Avenue, 27th Floor - West
New York, NY 10017
Tel : (212) 984 2946
sameer.rele@rohatyngroup.com
Reply With Quote
  #5 (permalink)  
Old 08-21-2006
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
Hi,

No, we don't have a XSD for IceGrid descriptors. There's a complete reference of the XML IceGrid descriptors in our manual (section 36.14). You'll also find a section about IceBox integration in the IceGrid chapter.

Cheers,
Benoit.
Reply With Quote
  #6 (permalink)  
Old 08-21-2006
Sameerrele's Avatar
Sameerrele Sameerrele is offline
Registered User
 
Name: Sameer Rele
Organization: TRG
Project: SOA
 
Join Date: Aug 2006
Location: New York
Posts: 18
Thank You.
__________________
Sameer Rele
Global Enterprise Solutions Architect

The Rohatyn Group
280 Park Avenue, 27th Floor - West
New York, NY 10017
Tel : (212) 984 2946
sameer.rele@rohatyngroup.com
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does IceBox support services implemented in python zephyr007 Comments 3 01-23-2008 09:22 AM
IceBox Determining Dependent Services Sameerrele Help Center 2 09-25-2006 01:59 PM
Purify and IceBox services xdm Help Center 4 06-07-2006 04:59 PM
Share endpoint between services in IceBox rspivak Help Center 2 04-14-2006 07:18 AM
Icegrid java icebox service xdm Help Center 6 01-09-2006 04:59 AM


All times are GMT -4. The time now is 11:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.