Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / CORBA / October 2006

Tip: Looking for answers? Try searching our database.

Orbix idlj not compiling type ULongSeq, Help!

Thread view: 
srini.venigalla@gmail.com - 17 Oct 2006 18:50 GMT
Hello all,

I am using Orbix idlj compiler, it doesnot accept type ULongSeq or
UShortSeq.

Here are the error messages.

296:(semantic): Identifier `ULongSeq' not found
296:(semantic): Name does not denote a type
296:(semantic): Incomplete type definition
297:(semantic): Identifier `ULongSeq' not found
297:(semantic): Name does not denote a type
297:(semantic): Incomplete type definition
298:(semantic): Identifier `ULongSeq' not found
298:(semantic): Name does not denote a type
298:(semantic): Incomplete type definition
299:(semantic): Identifier `ULongSeq' not found
299:(semantic): Name does not denote a type
299:(semantic): Incomplete type definition

My compiler version is:
Orbix 3.3
Orbix Java IDL compiler version 3.3 Service Pack 5
Using MSVC++ 6.0 Service Pack 3
for JDK 1.1.x/1.2.x/1.3.x

My idl is:

void SetData(in XYZ::idlUserID uID,
                                 inout CORBA::ULongSeq ADataSeq,
                                 inout CORBA::ULongSeq BDataSeq,
                                 inout CORBA::ULongSeq CDataSeq,
                                 inout CORBA::ULongSeq DDataSeq)
       raises (idlExcBadParameters, idlExcCmdFailed);

Thanks in advance.
Conor - 26 Oct 2006 17:25 GMT
Hi Srini,

You could add the following definition to the Orbix33 idl/orb.idl file,
or a separate IDL file. as long as it's in the CORBA namespace:

 typedef sequence<unsigned long> ULongSeq;

then generate your stubs and skels using idlj, and add the resulting
.class files to your CLASSPATH.

Regards,
Conor
http://www.iona.com
Srini - 31 Oct 2006 14:47 GMT
Hi Conor,

Thank you for the response. I tried putting the typedefs in orb.idl and
included it in my idl file like this:

#include <orb.idl>

However, it did not help. I got the same errors.

Then, I created a separate file "orb2.idl" with the same typedefs in
CORBA package, it compiled well.

It is a moot issue but any idea by orb.idl does not work for me?

Thanks again,
Srini

> Hi Srini,
>
[quoted text clipped - 9 lines]
> Conor
> http://www.iona.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.