GlassFish server fails to launch from Eclipse, it gets stuck at 69%

Victor2748 picture Victor2748 · Dec 29, 2014 · Viewed 8.1k times · Source

I am trying to test my web application in GlassFish 4 from eclipse. When I am starting GlassFish 4 with a file (startserv.bat), it works fine, but when I am trying to run it from Eclipse, it starts loading, but then the startup process gets stuck at 69%, on a message Launching Delegate...

enter image description here

After several minutes in that condition, it gives me an error message:

enter image description here

After a few re-tries, I got this message:

enter image description here

Even though nothing is running on the port 8080 (GlassFish's port) and 4848 (GlassFIsh's admin port)

It worked fine for me before, but now for some reason, it just doesn't, I haven't done anything to it's settings or anything. How can I resolve this problem?

Here is my startup console log: http://pastebin.com/XL0Lh5zw (using pastebin to avoid making the post to big)

Answer

raizdepi picture raizdepi · Nov 24, 2015

I had the same problem, with the same messages.

After a long search, I gave up and I removed the server.

remove the server

And I removed the Server Runtime Environment

remove the runtime

The Glassfish files were not removed only the eclipse configurations, and then I re-created the Server Runtime and the Server using the existent glassfish server and the problem was fixed :D.