How to rectify module deployment error while using GlassFish Server?

后端 未结 3 875
不思量自难忘°
不思量自难忘° 2021-01-14 09:17

How to rectify module deployment error while using GlassFish Server?

While trying to run jsf web-application in Netbeans8 I am getting the following error:

3条回答
  •  [愿得一人]
    2021-01-14 10:02

    The line:

    GlassFish Server, deploy, Connection refused: connect, false

    ... is a clue.

    I had the same error, but I solved it. The steps:

    1) Grant privileges to write on the glassfish server installation folder. If you use Windows the path is: C:\Program Files\glassfish-xx

    2) Run C:\Program Files\glassfish-xx\bin\asadmin.bat as Administrator. Then in the console type: start-domain

    3) Clean and Build the project

    4) Deploy

    5) Run

    PD: I recommend use JDK7

提交回复
热议问题