[omniORB] Re: omniidl segfaults

Juergen Weber weberjn at gmail.com
Tue Dec 4 22:40:45 GMT 2007


On Dec 4, 2007 8:26 AM, Wernke zur Borg <wernke.zur.borg at vega.de> wrote:
> > Subject: [omniORB] Re: omniidl segfaults
> >
> > Hi,
> >
> > I am trying to access a Geronimo based EJB from an omniorb client,
> > just to see, if this is possible (if it works, I'd opensource the code
> > for an omniORB and Geronimo sample).
> > I got 1.6 rmic to create the IDLs,
> > rmic -idl -d rmic -classpath
> > lib\geronimo-ejb_3.0_spec-1.0.jar;CustomerService-ejb.jar
> > ejb.CustomerService
> > had to tweak them a bit, but now omniidl segfaults compiling them.
> >
> > In case somebody might try out this, I append the changed IDL sources.
> >
> > Thanks,
> > Jürgen
> >
> > weberjn at ubuntu:~/c/CustomerService$ omniidl -bcxx -Wbinline -I.
> > -I/home/weberjn/omniORB-4.1.1/idl ejb/CustomerService.idl
> > javax/ejb/EJBObject.idl:61: Warning: Identifier 'primaryKey' clashes
> > with CORBA 3 keyword 'primarykey'
> > omniidl: 1 warning.
> > Segmentation fault
> >
>
> I can't tell you about the segfault but have you tried to replace the clashing identifier in EJBObject.idl with a non-clashing one?
>
> Wernke
>

When I replace the clashing identifier omniidl still segfaults.

But anyway, CustomerServiceSK.cc and CustomerService.hh are written
before the segfault (correctly, I hope), so the segfault shouldn't
matter too much.

Juergen



More information about the omniORB-list mailing list