-
1. Re: Starting Wildfly as a service using "NT AUTHORITY\NetworkService"
gewolftes Nov 3, 2016 12:30 PM (in response to jijujacob27)would anyone be able to advise please
-
2. Re: Starting Wildfly as a service using "NT AUTHORITY\NetworkService"
ctomc Nov 3, 2016 12:42 PM (in response to gewolftes)Thomas Wolf wrote:
would anyone be able to advise please
on what?
-
3. Re: Starting Wildfly as a service using "NT AUTHORITY\NetworkService"
gewolftes Nov 8, 2016 10:52 AM (in response to ctomc)On Jiju's question: "can we configure wildfly to run as a service using this account"
-
4. Re: Starting Wildfly as a service using "NT AUTHORITY\NetworkService"
ctomc Nov 8, 2016 12:24 PM (in response to gewolftes)Thomas Wolf wrote:
On Jiju's question: "can we configure wildfly to run as a service using this account"
yes, as with any other account.
-
5. Re: Starting Wildfly as a service using "NT AUTHORITY\NetworkService"
gewolftes Nov 8, 2016 1:26 PM (in response to ctomc)Thanks Tomaz,
I've tried to get this to work, but failed serving even a single webpage through WildFly.
would you be able to help me out with some troubleshooting?
I've set up the service with
{code}
set RUNAS=
CALL :TRIM %SERVICE_USER%
SET SERVICE_USER=%TRIMRESULT%
if not "%SERVICE_USER%" == "" (
if "%SERVICE_USER%" == ".\NetworkService" (
set RUNAS=--ServiceUser "NT AUTHORITY\NetworkService"
) else (
if "%SERVICE_PASS%" =="" (
echo When specifying a service-user, you need to specify the service password
goto endBatch
)
set RUNAS=--ServiceUser=%SERVICE_USER% --ServicePassword=%SERVICE_PASS%
)
)
{code}
and then manually starting the service using command line: service.bat install /serviceuser .\NetworkService
I could see my application started out as a service using "NT AUTHORITY\NetworkService", and the java process got kicked off, but the wildfly server never came online. i.e. my application was not in any shape to use or display a webpage.
Is there anything you'd need to help with that?