You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jonathan Gallimore <jo...@gmail.com> on 2019/09/02 10:42:47 UTC

Re: Windows Service batch files

I've opened up a PR for this: https://github.com/apache/tomee/pull/545

I'd definitely appreciate review from any Windows users out there.

Cheers

Jon

On Fri, Aug 30, 2019 at 3:15 PM Jonathan Gallimore <
jonathan.gallimore@gmail.com> wrote:

> Hi
>
> We recently updated the version of Commons-Daemon that we use in TomEE.
> One knock on effect of this is that this now installs the service as the
> user 'NT Authority\Local Account' as opposed to 'LocalSystem'. Should this
> not be what you want, you can work around it by changing it either with the
> UI provided by TomEE.exe, or in the Service Control Manager.
>
> Our batch scripts do take a "/user" property, but this simply controls
> what use the installation batch file runs as, not who the service logs on
> as.
>
> I'll make a change to these so its possible to specify a parameter to pass
> the service name and a means to capture the password.
>
> Jon
>