Greetings all,

Ulf Wiger <>
Fri Jan 24 17:11:35 CET 2003


The module dbi_crm must be loaded on the node where you call
the function. It seems as if it _is_ loaded on the db node,
but not on the tebacrm node.

(Chandru already wrote this in another msg.)

The normal way to write multi-node Erlang applications is to
load all the code on all nodes. Remember that beam files are
very compact, so you won't sacrifice much memory. You may
then start different applications on each node, but all the
code is available everywhere. The advantage of this is that
you may hide the rpc calls behind the API functions of the
application.

...or you do what Luke just wrote: use rpc:call().

/Uffe

On Fri, 24 Jan 2003, DANIESC SCHUTTE wrote:

>Greetings all,
>   I would like to enquire about where I can look for clues
>as to why I get this message.  The system is running on two
>nodes and the dbi_crm application is running on the
> server.  Executing the same command
>on the database server itself, gives me a correct response.
>Both nodes can see each other.  Any suggestions?
>
>()1> dbi_crm:get_crm_008('01').
>** exited: {undef,[{dbi_crm,get_crm_008,['01']},
>                   {erl_eval,expr,3},
>                   {erl_eval,exprs,4},
>                   {shell,eval_loop,2}]} **
>()2>
>
>Regards
>Danie Schutte
>
>Danie Schutte
>Phone: +27 - 11 - 203 - 1613
>Mobile: 084-468-3138
>e-Mail: 
>
>#####################################################################################
>The information contained in this message and or attachments is intended
>only for the person or entity to which it is addressed and may contain
>confidential and/or privileged material.  Any review, retransmission,
>dissemination or other use of, or taking of any action in reliance upon,
>this information by persons or entities other than the intended recipient
>is prohibited. If you received this in error, please contact the sender and
>delete the material from any system and destroy and copies.
>#####################################################################################
>

-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks






More information about the erlang-questions mailing list