You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by lihui zhao <li...@gmx.net> on 2003/10/27 19:07:27 UTC
Run as NT service
Hi,
I'm trying to get James running as NT service. After "wrapper -i
../conf/wrapper.conf", console shows "MyService installed successfully", yet
James doesn't get started. Should "net start MyService" follow to start the
service? When I do that, it says "MyService could not be started". If I run
it in the console, things are ok. Is there something I'm missing?
Lihui
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Run as NT service
Posted by Stephen McConnell <mc...@apache.org>.
lihui zhao wrote:
>Hi,
>
>I'm trying to get James running as NT service. After "wrapper -i
>../conf/wrapper.conf", console shows "MyService installed successfully", yet
>James doesn't get started. Should "net start MyService" follow to start the
>service? When I do that, it says "MyService could not be started". If I run
>it in the console, things are ok. Is there something I'm missing?
>
Look for a file named logs/wrapper.log - it should provide the detrails
of what is going wrong.
Stephen.
>
>Lihui
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>
--
Stephen J. McConnell
mailto:mcconnell@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Run as NT service
Posted by Stephen McConnell <mc...@apache.org>.
Vincenzo Gianferrari Pini wrote:
>I don't remember if the "wrapper -i ...." command does start the service after installing it in the windows registry (I don't think so), but as you said, why dont't you try starting it with "net start xxx", where "xxx" is whatever is written in the "wrapper.ntservice.name=xxx" parameter in the "JAMES_HOME\conf\wrapper.conf" file? Or with the "services" windows administration tool?
>
I use the "service" admin tool.
Here is an example using NT4 to do the same thing with Merlin (basically
the same as the Phoenix requirements).
http://avalon.apache.org/merlin/merlin/kernel/nt.html
Steve.
>
>Hope it helps,
>
>Vincenzo
>
>
>
>>-----Original Message-----
>>From: lihui zhao [mailto:lihui.zhao@gmx.net]
>>Sent: lunedi 27 ottobre 2003 19.07
>>To: James Users List
>>Subject: Run as NT service
>>
>>
>>Hi,
>>
>>I'm trying to get James running as NT service. After "wrapper -i
>>../conf/wrapper.conf", console shows "MyService installed
>>successfully", yet
>>James doesn't get started. Should "net start MyService" follow to
>>start the
>>service? When I do that, it says "MyService could not be
>>started". If I run
>>it in the console, things are ok. Is there something I'm missing?
>>
>>Lihui
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>
--
Stephen J. McConnell
mailto:mcconnell@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: Run as NT service
Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
I don't remember if the "wrapper -i ...." command does start the service after installing it in the windows registry (I don't think so), but as you said, why dont't you try starting it with "net start xxx", where "xxx" is whatever is written in the "wrapper.ntservice.name=xxx" parameter in the "JAMES_HOME\conf\wrapper.conf" file? Or with the "services" windows administration tool?
Hope it helps,
Vincenzo
> -----Original Message-----
> From: lihui zhao [mailto:lihui.zhao@gmx.net]
> Sent: lunedi 27 ottobre 2003 19.07
> To: James Users List
> Subject: Run as NT service
>
>
> Hi,
>
> I'm trying to get James running as NT service. After "wrapper -i
> ../conf/wrapper.conf", console shows "MyService installed
> successfully", yet
> James doesn't get started. Should "net start MyService" follow to
> start the
> service? When I do that, it says "MyService could not be
> started". If I run
> it in the console, things are ok. Is there something I'm missing?
>
> Lihui
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org