Wednesday 15 April 2015

Create a service GlassFish -



Create a service GlassFish -

i have problem starting glassfishs service in windows 8.1

i got error :

c:\glassfishv3\bin>asadmin create-service

found windows service , uninstalled it. wmi.wmiexception: accessdenied @ wmi.wmiroot.basehandler.checkerror(managementbaseobject result) @ wmi.wmiroot.classhandler.invoke(object proxy, methodinfo method, object[] args) @ wmi.win32servicesproxy.create(string , string , string , servicetype , err orcontrol , startmode , boolean , string[] ) @ winsw.wrapperservice.run(string[] args) @ winsw.wrapperservice.main(string[] args) error while trying install glassfish windows service. homecoming value was: 2. stderr: stdout: wmi.wmiexception: accessdenied @ wmi.wmiroot.basehandler.checkerror(managementbaseobject result) @ wmi.wmiroot.classhandler.invoke(object proxy, methodinfo method, object[] args) @ wmi.win32servicesproxy.create(string , string , string , servicetype , err orcontrol , startmode , boolean , string[] ) @ winsw.wrapperservice.run(string[] args) @ winsw.wrapperservice.main(string[] args) usage: asadmin [asadmin-utility-options] create-service [--name <name>] [--serviceproperties <serviceproperties>] [--dry-run[=<dry-run(default:false)>]] [--domaindir <domaindir>] [-?|--help[=<help(default:false)>]] [domain_name] command create-service failed.

the user business relationship administrator.

i dont know do,could give me recomendation solve error.

your business relationship may administrator did launch cmd/shell "as administrator"? old windows uac.

i had problem , had right click on cmd.exe/command prompt , select "run administrator"

then run the: asadmin create-service --name "glassfish yourdomainname" yourdomainname

glassfish

No comments:

Post a Comment