corba

CORBA on Mac OS X (Cocoa)

I am currently looking into different ways to support distributed model objects (that is, a computational model that runs on several different computers) in a project that initially focuses on Mac OS X (using Cocoa). As far as I know there is the possibility to use the class cluster around NSProxy. But there also seem to be implementatio...

exception message getting lost in IIOP between glassfish domains

I'm running two glassfish v2 domains containing stateless session EJBs. In a few cases, an EJB in one domain has to call one in the other. My problem is that when the called EJB aborts with an exception, the caller does not receive the message of the exception and instead reports an internal error that is not helpful at all in diagnosi...

Adding a valuetype to IDL, compile and it fails with "No factory found"

I can't figure out why the client keeps complaining about the not finding the factory method. I've tried the IDL with and without the "factory" keyword and that didn't change the behavior. The SDMGeoVT IDL matches other objects used (which run successfully). The SDMGeoVT classes generated match other generated classes in regards to in...

Migrating a big project in MFC from Visual C++ 6.0 to Visual Studio 2005

I am maintaining a big project (~250k loc, not counting code generated from idl) in Visual C++ 6.0, that uses Visibroker (VB for short) 5.2.1 (which is a CORBA implementation from Borland). Recently, the other module that communicates with my project was upgraded to VB 8.0 and I got a bunch of incompatibility issues. Since VB 5.2.1 is no...

disadvantages of CORBA over sockets

advantages of CORBA such as 1: language independence 2: location transparency i am curious to know what are the disadvantages of corba over sockets one of the possible disadvantage would be speed ...

CORBA Naming Service returns incorrect location of a registered object

Hi experts, I have a simple setup with several objects registered at orbd. Remote client initializes connection to the ORB and tries to resolve a reference to the Naming Serice (IDL:omg.org/CosNaming/NamingContextExt:1.0). So far it's all fine - ORB returns giop.iiop.host/giop.iiop.port pair. When reference to the Naming Service is reso...

ACE TAO Corba Ubuntu 10.4 undefined reference to CORBA::Object::_refcount_value()

Hi, I am having a few problems getting the example programs that come with the libTao provided in the package manager. I have used ace tao in the past with windows so have some experience with it already. So far I have all the environment variables set, created a new projects for the "Simple Client" example. I can compile the .idl fine...

ORB forwards to a wrong location

I have an orbd started at a virtual host (with the IP A), with some remote object registered. Box that hosts virual boxes has IP B. When client tries to connect to the ORB at A to acquire the NamingContext, ORB replies with a LocationForward message poiniting to host B and port 1049 (like if another ORB would be started at that host). Na...

Java CORBA Client Disconnects Immediately

I have built a Java CORBA application that subscribes to an event server. The application connects to and narrows on the context just fine, but as soon as an event is sent to the client, it breaks with the error below. Please advise. 2010/04/25!13.00.00!E00555!enserver!EventServiceIF_i.cpp!655!PID(7390)!enserver - e._info=system excep...

Compilation errors when inheriting PortableServer::RefCountServantBase.

I am working on a corba application where in create_servant() method we are creating new servant and returning it to the callee. To make the memory management easier, I am inheriting PortableServer::RefCountServantBase class to the implementation class. I get the below compilation errors. "simples.cpp", line 108: Error: Cannot crea...

CORBA exception causes an orphan iterator error, why would omniorb CORBA interfere with VC++ 2008 CRT?

We have a function that, when tested using MS VC++ 2008 using omniorb CORBA libraries causes an orphaned iterator error. If we recompile all of our source using the _HAS_ITERATOR_DEBUGGING=0, the error goes away. I cannot paste the exact code, but here is a facsimile: void funtion(CORBA::ANY& blah) { sometype::iterator itr; try...

Change the swing in to Flex

Hi, My Application Architecture is below The Solaris machine acts as Server and the server side code is in Java The Windows machine acts as Client and the client side code is in Java Swing. The Communication between the Server and the Client is through CORBA - Middle Level language. I need to change my Client Side programming from Ja...

How can I compile omniORB for 64-Bit Windows?

Hello everyone, I need to call the omniORB's DLLs from a 64-Bit-process and as I get it I need to compile those DLLs as 64-Bit. omniORB seems to support 64-Bit in general, but there are no configuration files included for the make-process (*.mk)... so I guess I have to create one of my own... Has anyone already tried that yet? And: Is...

Can I use CORBA/RMI to make live audio streaming?

I need to communicate between server/client. I saw that CORBA is used for different languages to work like RMI, is it? In my application I will have to transfer objects between client/server, transfer binary files (which I saw that I can do with RMI) and also play live streaming from one client to another. I was thinking about CORBA beca...

IIOP Client Authentication and ProgrammaticLogin in Glassfish v3

Hi all In Glassfish v2 I secure my jndi lookups by enabling the "IIOP Client Authentication" checkbox in the admin console under the ORB node. In my standalone client I then perform a "ProgrammaticLogin", which then allows me to do jndi lookups. In Glassfish v3 however, I get this error if want to do any jndi lookups in the same setup...

CORBA: Can a CORBA IDL type be an attribute of another?

Before I start using CORBA I want to know something. It would seem intuitive to me that you could use an IDL type as an attribute of another, which would then expose that attribute's methods to the client application (using ".") as well. But is this possible? For example (excuse my bad IDL): interface Car{ attribute BrakePeda...

Should I use CORBA, MessagePack RPC or Thrift, or something else entirely?

I'm writing software for a new hardware device which I want any kind of new third-party application to be able to access if they want to. The software will be a native process (C++) that should be pollable by 3rd party games and applications that want to support the hardware device. Those 3rd party apps should also be able to receive ev...

Deadlock in TAO when colocated

I have a CORBA server that makes a twoway call to another server from a notification thread that is created in the servant. This works fine normally. I have just modified the server to be co-located with its client (both are DLLs in a host app), and now it deadlocks waiting for the reply. The offending call is to outside the colocated se...

C++ segmentation fault when trying to resolve a CORBA reference

Guys, When im trying to resolve a CORBA reference I receive a segmentation fault. Either im blind or I have done something really stupid for this not work. Im using ACE 5.7.9 TAO 1.7.9 for CORBA. Wondering if anyone can help me please ??? The segmentation fault seems to be happening on the line "serverRef = Corba::Orb::getOrb().resolve...

How to install implementation of Corba on my computer and then program using any language compatible with Corba

I have to do a project in Corba.I have absolutely zero knowledge of corba.Things that I've to do is first is to install a corba implementation on my PC.After that I have to develop a Photo Printing Portal in any programming language supported by Corba.After that I have to deploy my application on the supplied ORB. Please suggest how shou...