start-domain failed Glassfish on Windows 7

前端 未结 3 1295
栀梦
栀梦 2021-01-15 01:07

I wanted to start a Glassfish 4.1.1-Server on Windows 7 with JAVA 8 JDK 66, but my command asadmin start-domain failed. This seems to be an obscure error because I get a pre

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-15 01:35

    I had same problem, same messages (might be different cause), I solved it by moving (unzip) Glassfish folder to a different location. The problem was that when I unziped GlassFish.zip on C:\ the folder's owner was "Administrator". By unzipping it in a different location (like c:\servers\GlassFish), the owner was my regular user. Plus I changed port="8080" and "8181" (to a 8060, 8061 in my case). My glassFish domain started successfully afterwards, I don't know which of those changes fixed it, and I don't care anymore.

提交回复
热议问题