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

List:       jacorb-developer
Subject:    Re: [jacorb-developer] problem running demo.dii program
From:       Gerald Brose <brose () inf ! fu-berlin ! de>
Date:       2001-06-23 10:28:35
Message-ID: 3B346F53.4CFBFF36 () inf ! fu-berlin ! de
[Download RAW message or body]

Hi,

if you look at the code, you will find that the exception "e"
is a user exception of type "IDL:dii/server/e:1.0". It is 
thrown intentionally to demonstrate how to deal with exceptions 
in DII - this is a feature, not a bug!

Regards, Gerald Brose.

Robert Ollila wrote:
> 
> Hi all,
> 
> I am having problems running the demo.dii program with jacORB1_3_21
> 
> Here is my output from the Server:
> 
> ****************************************************************
> 
> WebGain Java! JustInTime Compiler Version 4.00.007(x) for JDK 1.2
> Copyright (C) 2000 WebGain, Inc.
> 
>         JacORB V 1.3.21, www.jacorb.org
>         (C) Gerald Brose, FU Berlin, 28 March 2001
> [ POA RootPOA - ready ]
> [ New connection to 127.0.0.1:2222 ]
> [ Accepted connection from 192.132.45.56:1533 ]
> [ Accepted connection from 192.132.45.56:1535 ]
> Returning 47
> add: 7
> Notify: hallo
> Notify: hallo
> Number: 5
> Number: 5
> Number: 5
> Throwing Exception
> [ Closing connection to 192.132.45.56:1535 ]
> [ Closing connection to 127.0.0.1:2222 ]
> 
> **********************************************************************
> 
> Here is my output from the Client:
> 
> **********************************************************************
> WebGain Java! JustInTime Compiler Version 4.00.007(x) for JDK 1.2
> Copyright (C) 2000 WebGain, Inc.
> 
>         JacORB V 1.3.21, www.jacorb.org
>         (C) Gerald Brose, FU Berlin, 28 March 2001
> [ New connection to 127.0.0.1:2222 ]
> [ New connection to 192.132.45.56:1531 ]
> 0: 47
> add: 7
> 1: Number written
> 2: Number written
> .3: Number written
> java.lang.RuntimeException: IDL:dii/server/e:1.0
>         at org.jacorb.orb.dii.Request._invoke(Request.java, Compiled Code)
>         at org.jacorb.orb.dii.Request.invoke(Request.java:281)
>         at demo.dii.Client.main(Client.java, Compiled Code)
> [ Closing connection to 192.132.45.56:1531 ]
> [ Closing connection to 127.0.0.1:2222 ]
> 
> ************************************************************************
> 
> Has anyone else seen this behavior ?  Any suggestions would be appreciated.
> 
> thanks,
> 
> Bob.
> 
> =================================
> Robert G. Ollila
> Software Engineer
> Aura Networks, Inc.
> 25 Manchester Street
> Merrimack, NH 03054
> Email: robertollila@auranet.com
> Phone: 603-589-0669
> =================================
> 
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer@lists.spline.inf.fu-berlin.de
> http://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer

-- 
Gerald Brose                                Institut fuer Informatik
gerald.brose@acm.org                       Freie Universitaet Berlin
http://www.inf.fu-berlin.de/~brose                     Takustrasse 9
Phone: (++49 30) 838 75 112                                  Germany

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

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