Eric DANIELOU | 4 Oct 2004 10:03
Favicon

Orbacus 4.2 with Borland C++Builder5

Hi,

I use Borland C++Builder5 with Visibroker since several years.
I'd like to replace Visibroker by Orbacus.
I try to compile Orbacus 4.2 on Windows 2000, but there is a lot of
compilation error messages.

Can anyone help me to compile Orbacus with Borland ?

Thanks.

_______________________________________________
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

vishwanath | 4 Oct 2004 11:01

Evaluation copy issues

Hi, 
I am using an evaluation copy of ORBACUS for windows XP with the 
latest edition of Microsoft compiler. 
Using nmake /f Makefile.mak install, it's not able to create 
binaries in the bin directory of OOC. The error I am getting is  
fatal error U1077: '..\..\ob\bin\idl.exe' : return code '0x1'.

Please let me know how do I go about fixing it.

Thanks and regards,
Vishwanath

_______________________________________________________________________________

This E-Mail was sent with WebMail System.

_______________________________________________
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

Darren Middleman | 4 Oct 2004 13:19
Favicon

Re: Orbacus 4.2 with Borland C++Builder5

Hi Eric,

> Hi,
> 
> I use Borland C++Builder5 with Visibroker since several years.
> I'd like to replace Visibroker by Orbacus.
> I try to compile Orbacus 4.2 on Windows 2000, but there is a lot of
> compilation error messages.
> 
> Can anyone help me to compile Orbacus with Borland ?
> 
> Thanks.
> 

I was wondering if you would be able to give a bit more detail on the
problems that you are running into.  What error messages are you seeing
when compiling with Borland C++?  What procedure did you follow to build 
Orbacus?

Regards,
Darren

--
Darren Middleman
Team Orbacus - Your CORBA Source
Email: mailto:darren.middleman <at> iona.com
WWW: http://www.orbacus.com/
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
(Continue reading)

Darren Middleman | 4 Oct 2004 13:30
Favicon

Re: Evaluation copy issues

Hi Vishwanath,

> Hi, 
> I am using an evaluation copy of ORBACUS for windows XP with the 
> latest edition of Microsoft compiler. 
> Using nmake /f Makefile.mak install, it's not able to create 
> binaries in the bin directory of OOC. The error I am getting is  
> fatal error U1077: '..\..\ob\bin\idl.exe' : return code '0x1'.
> 
> Please let me know how do I go about fixing it.
> 
> Thanks and regards,
> Vishwanath
> 

The first thing I would check is to see if the 'idl.exe' executable has
been build correctly in the distribution.  It should be located in the
OB-4.2.0/ob/bin directory.  If it does not exist, then there was likely an
error when building the executable or one of the libraries that it depends
on.

When you performed a 'nmake /f Makefile.mak', did you encounter any error
messages?  Note that it can be very difficult to see the error messages on
Windows, the build system will continue building the distribution even if
it encounters an error.  You will have to watch the build process very
carefully.

Regards,
Darren

(Continue reading)

Unyelioglu, Konur | 4 Oct 2004 14:48
Favicon

Need help to configure Websphere stateless session EJB to use orb acus ORB

This is more of a Websphere question, however, I was wondering if you have seen a similar problem before or provide us some advise.

We are converting a JBoss based web application to Websphere Portal v5.0. In the application, a stateless session EJB tries to connect to a legacy CORBA server which is using Orbacus ORB (Object Request Broker). In the original application, the stateless session EJB is also using Orbacus ORB and in the classpath there is a Java library provided to us by Orbacus. Everything works fine in the original JBoss based system.

When we converted the web based application to run in WSAD (Websphere Studio Application Developer) Websphere portal 5.0 test environment, the application class loader policy is set to Multiple and the classloader mode of the application is PARENT_FIRST. The jar file that contains the Orbacus ORB library is under a subfolder of the enterprise application and the EJB project has been configured to have dependency on that jar file.

When we run the EJB, it connects to the NamingContext in the legacy server. However, it cannot obtain a reference to any of the objects in the naming repository, throwing an exception that says:

com/ibm/rmi/corba/TypeCodeImpl incompatible with com/ooc/CORBA/TypeCode

(Note: OOC is name of the Orbacus ORB.) When we debug it, it is seen that the singleton member of the ORB object is set to com.ibm.rmi.corba.ORBSingleton even though in the initialization of ORB we have set the singleton class to be com.ooc.CORBA.ORBSingleton  as follows:

Properties env = new Properties();
env.put("org.omg.CORBA.ORBClass", "com.ooc.CORBA.ORB");
env.put("org.omg.CORBA.ORBSingletonClass", "com.ooc.CORBA.ORBSingleton");
...
orb = ORB.init(new String[] {}, env);

Our understanding is, the ORB has already been initialized by the EJB container before our initialization takes place and therefore it is not possible to change the singleton class from IBM to Orbacus ORB.

We also tried to force the application server to load Orbacus library first. In the classpath settings of the WSAD Websphere portal 5.0 test environment, we change the classloader mode of the application to PARENT_LAST. In this case, the application server does not even start. It creates a dump file. We guess what is happening here is, the application server picks up the Orbacus ORB library from the classpath first before the IBM ORB library and another form of incompatibility takes place crashing the server.

We would like to know if there is a way to configure Websphere Portal so that the ORB initialized to use Orbacus ORB in the EJB instead of IBM's ORB.


Sincerely,

Konur Unyelioglu

kunyelio <at> trendium.com

Work: (954) 835 9679
Cell: (954) 557 1459



_______________________________________________
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
markov m | 4 Oct 2004 17:21
Picon

Exchange with CORBA

Dear all,

I am a new user of ORBacus-C++  and very interested in developing applications between different environments, using CORBA as communication architecture.

Could someone please help me on how to perform a communication that can exchange info between two independent codes (like e.g. client and server). I mean the communication that is bi-directional (the data alter from the first process to the second and from the second require passing back to the first). I'll be also glad if you'd like to tell me where I can find more information that treat such applications.

I have tried to modify the example of "Hello" in order to send "hello world" from client to server and back from the server to client, but I didn't succeded. Any C++ bi-directional example is welcome and your help will be very appreciated.

Thank you so much in advance

Yours faithfully,
Markov


-- --

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

_______________________________________________
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
Eric DANIELOU | 4 Oct 2004 17:25
Favicon

Orbacus 4.2 with Borland C++Builder5

Hi Darren,

First I decompress OB-4.2.0-eval.zip in a directory: C:/ob-4.2.0-eval.
In this directory, I try  "make /f Makefile.bcc install"

The first error is at line 380 in the file include\ob\Net.h.
I put on the flags HAVE_NO_GETADDRINFO and HAVE_NO_SOCKADDR_STOCKAGE

I run  "make /f Makefile.bcc install" again.
The error is now : Fatal 'BiDir_impl.o' does not exist
I open the file Makefile.bcc in the directory ob\src\library and I replace
BiDir_impl.o by BiDir_impl.obj

I run  "make /f Makefile.bcc install" again.
There are 26 errors when compiling GIOPConnection.cpp.
Error 2313 on line 622, line 628
Error 2172 on line 628
Error 2451 on line 836 : Symbole ex not defined.

Best Regards,
Eric

_______________________________________________
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

vishwanath | 5 Oct 2004 10:00

CORBA implementations guidance

Hi,

I am to design and implement a application which would be using a 
CORBA for distributed computing.
The server would be implemented in C   and the client is Java. I 
have inform the client back after completion of certain task. Is the 
Event service the right approach towards this or is there any better 
way for the same. The server is multithreaded(I mean a new thread 
for every client request). I would appreciated if anyone could guide 
me on this.

Thanks and regards,
Vishwanath

_______________________________________________________________________________

This E-Mail was sent with WebMail System.

_______________________________________________
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

Ajay samant | 11 Oct 2004 10:01

idl compiler error


We are trying to use Orbacus C++ idl compiler to compile our idl files.
When we are trying to compile a IDL file of size 2360 lines then we get
idl compiler error

XXX.idl:error: parser stack overflow

Just to confirm if there are no syntax errors in file. I commented half
of the file then compiled it. It worked. Then i commented the half which
got compiled and uncommented the other half, that too got compiled. That
just proves that there are no errors in file. Its just that the file is
too huge for the compiler. Now are there any settings we can do so that
it compiles big files.

We cant break this file into two  for various reasons. The main reason
being we already have implemented this interface. And we are tying to
port our existing code from Visibroker to Orbacus. Breakin this idl will
be a big code change.

Other platform details are:

OS used is Red Hat Linux 7.2
g++ 2.96 

Regards
Ajay Samant
Senior Tech LEader

_______________________________________________
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
ken | 12 Oct 2004 12:00

How can i create a persistent POA and other POA under one ORB

ob-users,hello
           I get rootORB in a thread , but it can't create persistent POA and POA at same time.
How should i do ?
			or how can i get two ORB in a thread ? 
	
		   thanks
 				

        ken
        infowu <at> 163.net
          2004-10-12

_______________________________________________
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