Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)

like image 585
Victor2748 Avatar asked Dec 29 '14 06:12

Victor2748


2 Answers

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.

like image 80
raizdepi Avatar answered Sep 30 '22 18:09

raizdepi


I got the same issue. I'm using Eclipse Luna.

I downgraded my GlassFish Tools to 7.2 and I got the server started back again. http://download.oracle.com/otn_software/oepe/12.1.3.1/luna/repository

like image 22
java25 Avatar answered Sep 30 '22 18:09

java25