The Glassfish plugin cant start in eclipse luna using java 8 .Withount any exception in glassfish log file it will be time out and i get "Unable to start server on time. java.util.concurrent.TimeoutException".
Asked
Active
Viewed 2,788 times
4 Answers
1
I got the answer, i changed host name from localhost
to real numeric IP (127.0.0.1
) and then GlassFish started.

Alessio Gaeta
- 5,670
- 1
- 16
- 26

dev
- 271
- 1
- 3
- 11
-
which file do you have modified for that? – Mohammad Faisal Mar 06 '15 at 17:00
-
@dev could you please elaborate. Like what numeric ip did you used. Your system ip? – Coding Bad Aug 09 '15 at 01:06
0
Is your Server started already? If not, you can modify your Timeout-Value for startup and shutdown in Eclipse Server View (Timeouts).

mfueser
- 16
- 2
0
I had the same issue. I think he meant in the server tab of Eclipse, create a new instance of a server and change the "Server's host name:" from "localhost" to "127.0.0.1".

Clueless
- 163
- 16
0
I had the same problem. I did the following to fix:
- delete the server
- create a new server
- when asking for "Server's host name", using "127.0.0.1" instead of "localhost" (same as the answer of Clueless)
- start the server. This time it worked.
- delete the server again
- create a new server and use "localhost" for "Server's host name".

Mad Physicist
- 107,652
- 25
- 181
- 264

Po Chen
- 51
- 3