C++ Java interoperability while migrating from from JDK 1.2 to JDK 1.3.1

C++ Java interoperability while migrating from from JDK 1.2 to JDK 1.3.1

Post by abhi » Mon, 16 Jan 2006 02:32:35


Hi All,

I have a serious issue migrating from JDK 1.2.2 to JDK 1.3.1 .
We have a Forte 7.0 C++ client talking to JDK 1.2.2 server sitting on
Orbix 3.3.7.
When I use JDK 1.3.1 the C++ client dies saying
12003 12000 Unknown Error.
The call that fails take two parameters string and long.
I tried debugging the Server side code , but what i found is the
control does not enter the skeleton, even the "invoke" method was not
called. I tried moving to iiop version 1.1 , but even that didn't work
:-(

Currently I am compiling the sever side code with jdk1.3.1 , but JRE is
1.2.2 and it works fine.

Please help me.

Regards,
Abhishek.
 
 
 

C++ Java interoperability while migrating from from JDK 1.2 to JDK 1.3.1

Post by Ulrich.Tei » Mon, 16 Jan 2006 23:09:14

In < XXXX@XXXXX.COM > "abhi" < XXXX@XXXXX.COM > writes:



1.3.1 is stone age?? Why are you wasting your time with it?



First, the ORB included in the SUN JDKs does not have a good reputation,
because it handles some things in a non-standard way and it's buggy. This
has been addressed to some degree in later versions. But it should not
fail in such a way.

I suspect a setup problem, like:

Did you regenerate your stubs and skeletons (or ties) with 1.3.1?
Are you really using the OMG classes provided by the "new" version?
Basically, you should verify your classpath anyway.

HTH,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: XXXX@XXXXX.COM
Stormweg 24 |listening to: Suicide Drive (The Deep Eynde)
24539 Neumuenster, Germany|Public *** (Interpol) Cauchemar (Opation S)

 
 
 

C++ Java interoperability while migrating from from JDK 1.2 to JDK 1.3.1

Post by abhi » Wed, 18 Jan 2006 16:54:55

We are using a powertier ejb server which is compatible upto JDK 1.3
Tried all but no luck :-(