开发者

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:

  1. open command prompt as administrator
  2. 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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜