glassfish asadmin error
I am trying to start the GlassFish Server from the command 开发者_StackOverflow社区line:
I typed in the following command:
asadmin start-domain -verbose
or
asadmin start-domain domain1
or
asadmin start-domain
I'm looking over the error output. I see this first:
java.io.FileNotFoundException: C:\Program Files\Sun\ SDK\domains\domain\config\domain-registry (Access is denied)
Thanks. Sally
basically try running GF in superuser mode or change permission of the files in domain directory appropriately
In windows:
- open command prompt as administrator
- run command
asadmin start-domain doman1
In linux: execute command with root permission. i.e
sudo asadmin start-domain doman1
Try running as administrator
asadmin start-domain doman1
精彩评论