my process does not get started
Dietmar Schaefer
dietmar@REDACTED
Fri Jun 24 12:16:44 CEST 2005
Hi !
I finally built all stuff to be able to start my application in embedded
mode.
(starting up at boot time).
What I have is:
cmmc_app.erl is an application behaviour
which calls cmmc_4dp:start() which is the main starting routine of
my application.
(NO SUPERVISOR at this time) :-(
my cmmc.script file contains:
{path,["/opt/cmmc/Release-1.0/ebin"]},
{primLoad,[cmmc_util,cmmc_snmp,cmmc_d4,cmmc_config,cmmc_com,cmmc_4dp]},
{progress,modules_loaded},
{path,["/usr/local/otp_src_R10B-4/lib/erlang/lib/kernel-2.10.6/ebin",
"/usr/local/otp_src_R10B-4/lib/erlang/lib/stdlib-1.13.5/ebin",
"/usr/local/otp_src_R10B-4/lib/erlang/lib/sasl-2.0.1/ebin",
"/usr/local/otp_src_R10B-4/lib/erlang/lib/mnesia-4.2.1/ebin",
"/usr/local/otp_src_R10B-4/lib/erlang/lib/snmp-4.1.2/ebin",
"/opt/cmmc/Release-1.0/ebin"]},
{kernelProcess,heart,{heart,start,[]}},
{kernelProcess,error_logger,{error_logger,start_link,[]}},
{kernelProcess,application_controller,
.
.
.
{apply,{application,load,
[{application,
cmmc,
[{description,"CMMC module for 4dp"},
{vsn,"1.0"},
{id,[]},
{modules,
[cmmc_d4,
cmmc_com,
cmmc_snmp,
cmmc_util,
cmmc_4dp,
cmmc_config]},
{registered,
[comDecode,sendProc,cmmc_config]},
{applications,
[kernel,mnesia,stdlib,sasl,snmp]},
{included_applications,[]},
{env,[]},
{start_phases,undefined},
{maxT,infinity},
{maxP,infinity}]}]}},
{progress,applications_loaded},
{apply,{application,start_boot,[kernel,permanent]}},
{apply,{application,start_boot,[stdlib,permanent]}},
{apply,{application,start_boot,[sasl,permanent]}},
{apply,{application,start_boot,[mnesia,permanent]}},
{apply,{application,start_boot,[snmp,permanent]}},
* {apply,{application,start_boot,[cmmc,permanent]}},*
{apply,{c,erlangrc,[]}},
{progress,started}]}.
The problem is : my application does not get started.
Can please somebody give me a hint ?
BTW: I can call application:start(cmmc) which reports
cmmc is already running
but I cannot get connected to the communication process implemented in
cmmc_com,
Regards
Dietmar
More information about the erlang-questions
mailing list