-
1. Re: Problem in starting JBoss
wolfgangknauf Jun 1, 2010 7:53 AM (in response to eleanore)Hi,
as far as I know, Eclipse/WebTools Platform tries to ping the server through port 8080 to detect whether it is started or not. So, could you verify that your JBoss listens to this port, and that it is not blocked by a firewall?
Best regards
Wolfgang
-
2. Re: Problem in starting JBoss
eleanore Jun 1, 2010 8:22 AM (in response to wolfgangknauf)The only firewall that is active on my computer is the one that Windows Vista provides. I tried to disable it, but the result is still the same. How can I understand if Eclipse can ping JBoss?
It's really weird, because it seems from the log in the console that there aren't errors.
Yesterday I tried to remove all the stuff that I installed, and I replaced it with a new installation (with the same software versions), but Eclipse still doesn't recognise the activity of JBoss. I would expect to find in the console some errors, or exceptions, but JBoss seems to be up and running, till the moment that Eclipse shut it down. And I can't figure out why.
Any ideas?
Maybe tonight I'll try to install a virtual machine (Windows XP? maybe) and to install in there all the softwares that are needed to get EJBs work. Otherwise I can't find a solution.
Eleanore
-
3. Re: Problem in starting JBoss
peterj Jun 1, 2010 2:42 PM (in response to eleanore)Try installing JBoss Tools into Eclipse and create the server using the JBoss Community option that Tools provides.
Also use netstat, or better yet TCPView from sysinternals, to determine which ports JBoss AS opened. It should open ports 1099 and 1098 (and a few others). Those are the ports that Eclipse uses to ascertain that JBoss AS is running - it goes to JNDI to obtain the JMX connection manager and from there gets the Server mbean, and uses that mbeans ststus property to determine if the server is running. You could look at the Eclipse log file (workspace/.log) and see if that records where in the process Eclipse ran into problems.
Finally, try searching for "Eclipse timeout", as this issue has been discussed numerous time before.