Re: corba-to-ejb

Darren Middleman <[email protected]> Fri, 15 Apr 2005 15:55:06 -0230
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
Hi Anoop,

> 
> 1.  We have tried with all the options you have told we could generate the
> CPP code but we could not compile that. We dropped that option because it is
> giving lot of errors.
> 
> 2. We are trying with the IDL file given in the javaworld site again
> (http://www.javaworld.com/javaworld/jw-03-2002/jw-0329-corba-p2.html  )
>     It generated the CPP code properly.
> 
> We used this command line to run the Program.
> CORBAtoEJB -ORBInitRef
> NameService=corbaloc:iiop:[email protected]:7001/NameService
> 
> The output of our program given below:
> 
> Accessing the naming service
> Getting the naming context
> Resolving the home interface
> Creating a new instance
> 
> After this it showing Abnormal Program Termination.
> 
> 
> The source code of client I have given below:
>
> [...]

Looking at your code, the problem seems to reside in your call to 
ceaihome -> create().  You should try loading your application up in a
debugger and step through the code, paying attention to what happens as
your program executes the create() function.  This should give you some
ideas as to what is causing the Abnormal Program Termination.  There is 
nothing I can see that would cause the error from the code you provided.

Regards,
Darren

-- 
Darren Middleman, Software Engineer
Team Orbacus - Your CORBA Source
Email: mailto:[email protected]
WWW: http://www.orbacus.com/
_______________________________________________
OB-Users Mailing List - [email protected]
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