1, the system to add the service, the server installation configuration requires 3.5 of .NET
Create-Service-domain1 --name
2, start the service
3, if the startup fails, you can view the error log
Domain1 / bin error log
PS: Delete Service
sc delete domain1
PS: glassfish server database driver package is best to put the bag under the lib domain, upload pages or other war deployment ear package package may report errors persistence jdbc resources