If you're using ORBacus, you should use ORBacus's jidl compiler
(www.orbacus.com). You can not use the classes generated by Sun's IDL compiler
with ORBacus (or vice-versa).

regards

  [ bryce ]

[EMAIL PROTECTED] wrote:

> I've recently switched to using Linux (RedHat 6.0 on Pentium II).  Since I
> wanted to do some Java CORBA applications, I downloaded the Blackdown JDK
> (specifically JDK-1.2/i386/pre-v2/glibc2.1/jdk1.2pre-v2.tar.bz2).  I compiled
> and ran a simple grid demo test (similar to that distributed with TAO and
> Orbix).
> Since there is no IDL-to-Java compiler available for Java-Linux, I copied
> the files created for JDK 1.2.2/WinNT.  (I'm making the daring assumption that
> the IDL-generated.java files are portable).
>
> In any event, the server launched just fine but the client application
> encounters
> the following exception if it executes for any length of time:
>
> org.omg.CORBA.UNKNOWN:   minor code: 3  completed: No
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Compiled Code)
>         at com.sun.CORBA.iiop.ReplyMessage.getSystemException(Compiled Code)
>         at com.sun.CORBA.iiop.ClientResponseImpl.getSystemException(Compiled
> Code)
>         at com.sun.CORBA.idl.RequestImpl.doInvocation(Compiled Code)
>         at com.sun.CORBA.idl.RequestImpl.invoke(Compiled Code)
>         at gridApp._GridStub.set(Compiled Code)
>         at gridClient.test_grid(Compiled Code)
>         at gridClient.main(Compiled Code)
>
> I've tried both "export JAVA_COMPILER=NONE" and "export THREADS_FLAG=green"
> but get the same error.
>
> Any suggestions/hints?  Thank you in advance your for time and efforts!


Reply via email to