Mnesia session

Niclas Eklund <>
Mon Aug 7 14:52:00 CEST 2000


Hello!

The IC Java BE is only for direct communication Java<->Erlang and uses the
erlang external communication protocol. This protocol is not the same as
CORBA IIOP/GIOP protocol. If you intend to use CORBA-communication you can
only use IC to create erlang-stubs, thus, you have to use JacOrb's
idl-compiler to generate java-stubs.

It is not necessary to compile CosNaming for Orber or JacOrb since it's a
part of the releases. If you want to use mnesia-session directly from java
(without using CORBA) then CosNaming is not needed

/Niclas


On Mon, 7 Aug 2000, =?ISO-8859-1?Q?Bj=F6rn Wingman?= wrote:

> I'm trying to get a corba mnesia session working wich java (jacorb),
> and the manual says you should compile some idl-files.
> 
> When I try to compile orber-3.0.1/COSS/CosNaming/cos_naming.idl with
> 
> erlc +'{be, java}' /home/bjowi/pkg/erlang-R6B/lib/erlang/lib/orber-3.0.1/COSS/CosNaming/cos_naming.idl
> 
> ...I get the error message below.
> 
> Any ideas?
> 
>     /Björn Wingman
> 
> ---Long error printout---
> 
> Erlang IDL compiler version 3.8.1
> Warning : Exceptions not supported for java mapping, "CosNaming::NamingContext::NotFound" ignored






More information about the erlang-questions mailing list