开发者

glassfish asadmin error

开发者 https://www.devze.com 2023-01-23 09:51 出处:网络
I am trying to start the GlassFish Server from the command 开发者_StackOverflow社区line: I typed in the following command:

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

精彩评论

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