Troy Wu wrote:
>
> I'm not having a problem, really. The situation is that the output of
> idltojava compiler of CDK-A doesn't compile with CORBA classes of
> CDK-B (Corba Development Kit, that is =). Only runtime object
> instances are interoperable; not their source.
>
> *.java files generated by IDL compiled with JDK's IDL compiler won't
> compile with the ORBacus CORBA classes; i.e., with the CLASSPATH set
> with OB.jar in front of /app/jdk-1.2/lib/tools.jar. The opposite is
> also true. *.class files _ARE_ sharable, provided that the CDK which
> was used to compile the respective *.java files is in the CLASSPATH
> first.
There is a strange problem, which I don't know if it is a problem
with the Linux port of jdk1.2 or a problem in general with the
org.omg classes.
The IOR's generated from the JDK1.2 default java implementation
seem to be deriving their localhost name from the first entry
in the hosts file.
ie I had the hosts set up as
localhost 127.0.0.1
slk-pc 152.95.76.52
The ORB then assumed (for some strange reason) that the name of this
machine is localhost, and exported this when communicating with other
orbs, obviuosly these cannot find my program, and thus fail.
chaning the hosts file to
slk-pc 152.95.76.52
localhost 127.0.0.1
Fixed that problem, it really shouldn't matter, as the hostname of the
machine should be gotten from the hostname api, instead of trying to
figure it from the /etc/hosts file.. I don't know where the problem
lies, but I figure that you guys who did the port, might want to have
a look see..
any way, great job, the jdk1.2 port for linux works fine, apart from
that minor annoyance (took me a few days to figure out what was
happening)...
(You have my sincere thanks, as you save me from having to work with
windows every day :->).
regards
mike.
--
#include <stddisclaimer.h>
-----------------------------------------------------------------------
(Ingeniør) Michael Nielsen BE(Hons)
work email : [EMAIL PROTECTED] telf: +45 9828 4611 x 26
Private email : [EMAIL PROTECTED] fax : +45 9828 4565
-----------------------------------------------------------------------
At arbejede er godt, så længe man husker at leve!
(To work is good as long as we remember to live!)
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]