Greg Hennebury | 6 Jan 2004 12:08
Favicon

Re: downloading orbacus fails

Hi Julie,

As you have purchased the Orbacus development kit (without support),
please always direct your support requests to ob-users <at> orbacus.com.
Our engineers monitor the group regularly and there are a large number
of customers using this site who may be able to help you with issues you
may have. I have cc'd your requst to the ob-users community with this
response.

> 
> I have one more issue. I've got Orbacus evaluation
> copy running on my linux/redhat 9. The client and
> server work fine when my machine is networked. When my
> machine is off network, the client will throw an
> java.net exception. Since I am using pc and often work
> from home, I hope there is a way to tell Orbacus to
> use my localhost instead of ip address.
> 

As you may be aware, RedHat has announced that it plans to drop official
support for RH9 ( and may have already done so) in favour of more
commercial versions of its products. As a result, to avoid a logistical
nightmare, we do not officially support RH9. Our engineers have
conducted some preliminary tests (before we were aware of RedHat
dropping support for RH9) and have come across two issues you will have
to be aware of for getting RH9 and Orbacus to work together. They are:

1) gethostbyname() failure

This may be the issue you are experiencing above. You can work around
(Continue reading)

Kégli Zoltán | 6 Jan 2004 15:15
Picon

Compiling orbacus on Sun with SUN Forte Developer 7 C++ 5.4

Hi,
We tried to install OB-4.1.2 but could not make the stuff on Sun Solaris 8 with SUN Forte Developer 7 C++ 5.4.
Below you'll find the output:
-------------------------------------------------------------------------------------------------------------------
The runconfig:

************************
* ORBacus Configurator *
************************

Enter 'c' if you use a C shell, or 'b' for a bourne shell:
[b] 

Please select from the following compiler/platform combinations:

(1) SUN Forte 6 update 2 C++ 5.3         SUN Solaris 2.6, 7 and 8
(2) GCC 2.95.3                           SUN Solaris, Linux
(3) GCC 3.1.1                            Linux
(4) SGI C++ 7.2 or 7.3                   SGI Irix 6.5
(5) HP aC++ A.03.31                      HP-UX B.11.00
(6) AIX VisualAge C++ 5.0                AIX Version 4.3.x
(7) Compaq C++ 6.5-026                   Compaq Tru64 V5.1

Please choose your compiler/platform combination:
[1] 

Do you want to create shared libraries?
[yes] 

Do you want optimized code to be generated?
(Continue reading)

David Weir | 6 Jan 2004 15:41
Favicon

Re: Compiling orbacus on Sun with SUN Forte Developer 7 C++ 5.4

Hi Zoltan,

On Tue, Jan 06, 2004 at 03:15:36PM +0100, Kégli Zoltán wrote:
> Hi,
> We tried to install OB-4.1.2 but could not make the stuff on Sun Solaris 8 
> with SUN Forte Developer 7 C++ 5.4. Below you'll find the output:
> --------------------------------------------------------------------------
> The runconfig:
> 
> ************************
> * ORBacus Configurator *
> ************************
> 
> Enter 'c' if you use a C shell, or 'b' for a bourne shell:
> [b] 
> 
> Please select from the following compiler/platform combinations:
> 
> (1) SUN Forte 6 update 2 C++ 5.3         SUN Solaris 2.6, 7 and 8
> (2) GCC 2.95.3                           SUN Solaris, Linux
> (3) GCC 3.1.1                            Linux
> (4) SGI C++ 7.2 or 7.3                   SGI Irix 6.5
> (5) HP aC++ A.03.31                      HP-UX B.11.00
> (6) AIX VisualAge C++ 5.0                AIX Version 4.3.x
> (7) Compaq C++ 6.5-026                   Compaq Tru64 V5.1
> 
> Please choose your compiler/platform combination:
> [1] 
> 
> Do you want to create shared libraries?
(Continue reading)

David Weir | 6 Jan 2004 17:35
Favicon

Re: IMR-URGENT

Hello Yogabrata,

On Tue, Dec 23, 2003 at 04:31:10PM +0530, Yogabrata Mukhopadhyay wrote:
> 
> Hi All,
> 
> Is it possible to know from the client while the server goes down? I don't
> want to use any callback mechanism. In my server I already have a Pingable
> interface defined, and my main interface is derived from Pingable itself.
> My server is also registered in the IMR. Are these information is of any
> use?
> 
> regards
> yogabrata

There is a mechanism available on the client side that allows the application
to register a callback with the client side transport layer to be notified 
before connections are closed. For more information on this, please refer to
the "OCI Info" demo shipped with Orbacus (ob/demo/oci_info).

This may not be what you are looking for, however. Since you will only be
notified before the connection is closed, this mechanism may not be 
reliable to handle unexpected server shutdowns, which is probably what 
you're most concerned with. This would depend on the protocol used for 
communication and if a "close" is sent even when the server terminates 
unexpectedly.

Cheers,
Dave

(Continue reading)

John Franklin | 7 Jan 2004 22:01
Favicon

question...

I am using Orbacus 4.0.5.

Here are the options I set for the ORB in the server side.
       props.put("org.omg.CORBA.ORBClass","com.ooc.CORBA.ORB");
       props.put("org.omg.CORBA.ORBSingletonClass",
                 "com.ooc.CORBA.ORBSingleton");
       props.put("ooc.orb.conc_model", "threaded");
       props.put("ooc.orb.oa.conc_model", "thread_per_request");
       orb = org.omg.CORBA.ORB.init(args, props);

I try to set the server model to thread_per_client or
thread_per_request. But I am not able to do that. In the servant I have
two methods, one takes a while to process (purposely put some sleep into
it) and the other one does nothing but returns immediately.

>From client1 I call the first method. It is waiting for the server to be
done with the processing.

Meanwhile via another client I call the second method. The second client
waits till the first client's request is returned and then comes back.

So it works like a threaded server where the user code is serialized.
What should I do to get the server really multi threaded?

Regards,
Johnf

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
(Continue reading)

Yogabrata Mukhopadhyay | 8 Jan 2004 13:10
Picon

need clarification on CONNECTION_REUSE_POLICY

Hi,

Let me explain the broad architecture of my application. It has got two
CORBA servers, say SERVER1 and SERVER2. SERVER1 acts as a client for
SERVER2. I have overridden
OB::CONNECTION_REUSE_POLICY_ID to false. This has to be done because my
SERVER2 process mainly makes MQSeries calls. So if I use default
connection_reuse policy then my MQ functionality's are not working as
expected.

Now the issue is ..... yes it is the number of threads. My doubt is if I
override CONNECTION_REUSE_POLICY to false, does it mean that it will keep
on spawning threads? At this point let me explain my SERVER2 architecture.
My SERVER2 has an EntryPoint servant which is registered in a persistent
POA. SERVER1 once resolved the EntryPoint reference makes calls through
this only. My assumption is for each EntryPoint reference in SERVER1 it
should spawn one and only one new reader/writer thread. But while executing
I found there are more than one thread getting spawned while I am making
several calls through that connection only. Infact CONNECTION_REUSE_POLICY
not yet very clear in my mind. I have had some strange feeling that if I
use CONNECTION_REUSE_PPOLICY then it makes recursive calls to the server
methods. Any sort of help on this will be highly appreciated.

Thanks in advance

Regards
Yogabrata

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
(Continue reading)

Michael Bricout | 9 Jan 2004 12:21
Favicon

Re: cpp-code generation via idl.exe erroreneous with multiple modules in one IDL file ?!


Hi Frank,

Regarding your issue with non compilable idl-generated code:

I discovered a possible issue with the (forward) declaration of
struct in stub headers generated by our IDL compiler. This only happens
under certain conditions. I will keep you posted. Please note that an
up to date support contract would entitle you to a patch for your version
of Orbacus as soon as the problem gets fixed.

Best regards,

Michael 

--

-- 
Michael Bricout - Senior Engineer
Team Orbacus - Your CORBA Source
E-Mail: mailto:michael.bricout <at> iona.com
Phone: +1(709) 738-3725 ext 19
WWW: http://www.orbacus.com

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Corrado Toso | 9 Jan 2004 12:38

Orbacus 4.1.2 vs HP-UX 11i

Hi all,
only one question, is Orbacus 4.1.2 compatible with HP-UX 11i ?
 
Thanks in advance
 
Corrado Toso
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html
David Weir | 9 Jan 2004 15:18
Favicon

Re: Orbacus 4.1.2 vs HP-UX 11i

Hello Corrado,

On Fri, Jan 09, 2004 at 12:38:26PM +0100, Corrado Toso wrote:
> Hi all,
> only one question, is Orbacus 4.1.2 compatible with HP-UX 11i ?
> 
> Thanks in advance
> 
> Corrado Toso

HP-UX 11i is not an officially supported OS for Orbacus 4.1.2
or 4.1.3, the latest release. We have been looking into adding
support for this platform, though a commitment on when this 
will be done had yet to be made.

Cheers,
Dave

--

-- 
David Weir                          
Team Orbacus - Your CORBA Source
E-Mail: david.weir <at> iona.com
Phone: (709) 738-3725 x20
WWW: http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Juan Carlos | 9 Jan 2004 17:25
Picon

problem with structs

Hello everybody. I´m trying to make an application with CORBA. I have a problem when I invoke a method that receives or return a struct. I get the next exception in the server:
 
warning: Servant method raised a non-CORBA exception
Client receives this exception as CORBA::UNKNOWN
operation name: "ObtenerEscenario"
id: TAG_IIOP
local address: 192.168.0.2:4867
remote address: 192.168.0.2:4877
java.lang.NullPointerException
 at kheperaIDL.RectVectorHelper.write(RectVectorHelper.java:73)
 at kheperaIDL.EscenarioDHelper.write(EscenarioDHelper.java:86)
 at CamaraIDL.CamaraIntPOA._OB_op_ObtenerEscenario(CamaraIntPOA.java:136)
 at CamaraIDL.CamaraIntPOA._invoke(CamaraIntPOA.java:91)
 at com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:212)
 at com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1904)
 at com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:52)
 at com.ooc.OB.DispatchSameThread_impl.dispatch(DispatchStrategyFactory_impl.java:51)
 at com.ooc.OB.Upcall.invoke(Upcall.java:401)
 at com.ooc.OB.GIOPServerWorkerThreaded.receiverRun(GIOPServerWorkerThreaded.java:454)
 at com.ooc.OB.GIOPServerWorkerThreaded$ReceiverThread.run(GIOPServerWorkerThreaded.java:115)
 
In the client I get an Unknown Exception.
If I try to invoke a method that doesn´t work with structs, it responses ok.
 
Thank you very much.
 

______________________________________________________________
Envia tus postales desde Lycos Postales. Entra en el mejor servicio de postales.

_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html

Gmane