Mnesia session

Björn Wingman bjowi@REDACTED
Mon Aug 7 14:19:26 CEST 2000


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
Warning : Exceptions not supported for java mapping, "CosNaming::NamingContext::CannotProceed" ignored
Warning : Exceptions not supported for java mapping, "CosNaming::NamingContext::InvalidName" ignored
Warning : Exceptions not supported for java mapping, "CosNaming::NamingContext::AlreadyBound" ignored
Warning : Exceptions not supported for java mapping, "CosNaming::NamingContext::NotEmpty" ignored
Fatal error : {function_clause,[{ic_java_type,
                                    getType,
                                    [{genobj,
                                         17,
                                         undefined,
                                         10,
                                         11,
                                         12,
                                         13,
                                         14,
                                         15,
                                         16,
                                         ["/home/bjowi/witas/dor/CosNaming/_NamingContextImplBase.java"],
                                         [{fd,#Port<0.24>,5}],
                                         [],
                                         ["/home/bjowi/witas/dor/CosNaming/_NamingContextStub.java"],
                                         [{fd,#Port<0.23>,4}],
                                         [],
                                         [],
                                         [],
                                         ["/home/bjowi/witas/dor/CosNaming/NamingContext.java"],
                                         [{fd,#Port<0.22>,3}],
                                         ["/home/bjowi/witas/dor/CosNaming/NamingContextHelper.java"],
                                         [{fd,#Port<0.25>,6}],
                                         ["/home/bjowi/witas/dor/CosNaming/NamingContextHolder.java"],
                                         [{fd,#Port<0.26>,7}],
                                         1,
                                         true,
                                         false},
                                     ["NamingContext","CosNaming"],
                                     {'Object',48}]},
                                {ic_jbe,gen_par_list,5},
                                {ic_jbe,emit_interface_prototypes,4},
                                {lists,foreach,2},
                                {ic_jbe,emit_interface,4},
                                {ic_jbe,gen_interface,3},
                                {ic_jbe,gen,3},
                                {ic,gen2,3}|
                                more]}



More information about the erlang-questions mailing list