[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-developer
Subject:    [jacorb-developer] RE: jacorb-developer digest, Vol 1 #139 - 5 msgs
From:       "Tiwary, Atul" <ATiwary () continuum-corp ! com>
Date:       2000-01-27 16:05:14
Message-ID: 9BF22C52C6C2D211836E00A0C9E926DF3CDEA8 () trex ! continuum-corp ! com
[Download RAW message or body]

I have been trying to run the grid example on an
SGI (Irix) box.

I have did the following:

1. started the name server:
> ns ~/public_html/NS_Ref
[ POA RootPOA - ready ]
[ POA RootPOA - oid: 00 0F 3F 40 06 36 0C 42 1E  - object is activated ]
[ Accepted connection from 128.0.2.110:17905 ]
[ POA RootPOA - rid: 0 oid: 00 0F 3F 40 06 36 0C 42 1E  opname: bind -
process request ]
[ Bound name: /grid.whatever ]
[ RequestReceptor: Connection timed out ]
[ Closing connection to 128.0.2.110:17905 ]
[ Accepted connection from 128.0.2.110:17909 ]
[ POA RootPOA - rid: 0 oid: 00 0F 3F 40 06 36 0C 42 1E  opname: resolve -
process request ]
[ New connection to 128.0.2.110:17904 ]
[ Closing connection to 128.0.2.110:17909 ]
----------------------------------------------------------------------------
-

2. Started the grid server:
> jaco demo.grid.Server
[ POA RootPOA - ready ]
[ POA RootPOA - oid: 00 11 4D 4D 4D 4D 4D 39 34 36 14 1A  - object is
activated ]
[ New connection to 128.0.2.110:17903 ]
[ Closing connection to 128.0.2.110:17903 ]
[ Accepted connection from 128.0.2.110:17910 ]
[ Accepted connection from 128.0.2.110:17911 ]
[ POA RootPOA - rid: 0 oid: 00 11 4D 4D 4D 4D 4D 39 34 36 14 1A  opname:
_get_height - invocation: system exception was thrown
(org.omg.CORBA.BAD_OPERATION[completed=MAYBE, reason=_get_height not found])
]
############################ StackTrace ############################
org.omg.CORBA.BAD_OPERATION[completed=MAYBE, reason=_get_height not found]
        at demo.grid.MyServerPOA._invoke(MyServerPOA.java:81)
        at
jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:143)
        at jacorb.poa.RequestProcessor.process(RequestProcessor.java:228)
        at jacorb.poa.RequestProcessor.run(RequestProcessor.java:250)
####################################################################
[ Closing connection to 128.0.2.110:17911 ]

3. Started the client
> jaco demo.grid.Client

[ New connection to 128.0.2.110:17903 ]
[ New connection to 128.0.2.110:17904 ]
org.omg.CORBA.BAD_OPERATION[completed=MAYBE, reason=]
        at java.lang.reflect.Constructor.newInstance(Native Method)
        at
jacorb.orb.SystemExceptionHelper.read(SystemExceptionHelper.java:99)
        at
jacorb.orb.giop.ReplyInputStream.result(ReplyInputStream.java:156)
        at jacorb.orb.Delegate.invoke(Delegate.java:327)
        at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:77)
        at demo.grid._MyServerStub.height(_MyServerStub.java:110)
        at demo.grid.Client.main(Client.java:29)


Any ideas what this problem could be. 

The problem is definately not in the nameserver... however, when I 
tried to bypass the name server and started the grid server with a file
argument so that it would write out it's ior to the file... and subsequently
started the grid client to read the server's ior from that file I got a 
message saying that the ior was an invalid one because the client
could'nt parse it. 
To check the validity of the IOR I ran the ior through dior. dior could
parse the ior without any problem:

Here are the errors that I got on the client side ( the server starts up
fine and stays up... because it is not even called.).

1. starting the server:
> jaco demo.grid.Server IOR
[ POA RootPOA - ready ]
[ POA RootPOA - oid: 00 01 37 41 0E 39 3D  - object is activated ]

2. Starting the client:
> jaco demo.grid.Client IOR
java.lang.RuntimeException: Invalid IOR format: IOR
        at jacorb.orb.ParsedIOR.parse(ParsedIOR.java:264)
        at jacorb.orb.ParsedIOR.<init>(ParsedIOR.java:50)
        at jacorb.orb.ORB.string_to_object(ORB.java:1230)
        at demo.grid.Client.main(Client.java:17)

Any ideas about this.

Thanks,
Atul 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic