[erlang-questions] run an otp/application as a service

Robert Raschke rtrlists@REDACTED
Fri Jul 24 10:11:08 CEST 2009

On Thu, Jul 23, 2009 at 6:52 PM, info <info@REDACTED> wrote:

>  No node name.
> I progress...
> I added the option DebugType console and the working directory.
> - erlsrv.exe add ServiceName -w ".../ebin" -DebugType console
> -args "-s starting"
> When I start the service the console gives me the following message:
>  =INFO REPORT==== 22-Jul-2009::19:29:51 ===
> >    application: my_application
> >    exited: {shutdown,{my_application,start,[normal,[]]}}
> >    type: temporary
> > {error,{shutdown,{my_application,start,[normal,[]]}}}
> Note that, when I start my application in werl, I have the same message !!!
> ONLY with Eclipse can my application run ?????

Sounds like your Eclipse environment isn't the same as the normal erl one.
Never used Eclipse, so I wouldn't know where to look.

It is sometimes easier to figure out what is wrong by starting an erl shell
and then start your app from there. You might get a better insight that way.
Did you get a crash dump? If yes, then you could see if there's anything
interesing in there via the CrashDumpViewer (available as part of the
webtool, try webtool:start() and go to the website it serves)).


More information about the erlang-questions mailing list