[omniORB] Re: omniidl segfaults

Wernke zur Borg wernke.zur.borg at vega.de
Tue Dec 4 08:26:10 GMT 2007


> 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



More information about the omniORB-list mailing list