How do I create a Windows Service, for WebLogic, that runs as a domain user?
I'm trying to create a Windows Service that will run as a user on the network. I know it's possible to change the 'Log On As" account to a domain user, after the service is created, but I'd like to be able to do it when initially installing the service, so it can be automated.
When calling the wlsvcX64 executable, and passing in a domain account for the acctname parameter, it fails with "CreateService failed - The account name is invalid or does not exist, or the password is invalid for the account name specified. (0x421)"
The call I'm making is the following (paths and passwords changed to protect the innocent):