Troubleshooting
Compiling IDL Filesiling IDL Files
Q1: | Why do I get syntex errors when I try to declare that's sequence of another type? |
You usually need to use typedef to create an alternate type name for sequences, and then use the typedef name to declare your variable. | |
Q2: | Why do I get errors when I declare an int? |
You must declare integers as either short or long. There is no int type in IDL. | |
Q3: | Why can't I declare an overloaded method? |
CORBA doesn't support overloaded method names. Each method name in an interface must be unique. |
Execution Problems
Q1: | Why do I get strange CORBA errors when I ues the Any class? |
If you are using a third-party ORB, such as Visibroker or Orbix, you must tell the JDK the class name for the ORB using the -Dorg.omg.CORBA.ORBClass ... |
Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.