my process does not get started

Chandrashekhar Mullaparthi <>
Fri Jun 24 13:21:53 CEST 2005


Hi,

On 24 Jun 2005, at 11:16, Dietmar Schaefer wrote:

> 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:
>
>
<snip>

> {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}]}]}},

In your cmmc.app file, you need a {mod, cmmc_app} entry - that seems to 
be missing. Add this entry and rebuild the boot file and it should 
work.

cheers
Chandru




More information about the erlang-questions mailing list