[
http://jira.jboss.com/jira/browse/JBIDE-1891?page=comments#action_12404761 ]
Gene Gretter commented on JBIDE-1891:
-------------------------------------
This is still a problem in the 2.0.1 release.
The issue is not with the server state. The problem is that the JBoss process is
ungracefully blown away before shutdown is called. When shutdown is called, then the
error "Could not obtain connection to any of these urls: localhost:1099" is
returned because there is no longer a JBoss process to connect to. With the suggest fix
mentioned above, the JBoss process shuts down in a orderly fashion after shutdown has been
called and the server state correctly switches to 'Stopped'.
Error when stopping JBoss
-------------------------
Key: JBIDE-1891
URL:
http://jira.jboss.com/jira/browse/JBIDE-1891
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 2.0.0.GA
Environment: Windows XP, Eclipse 3.3.1.1, JBoss Tools 2.0.0GA, JBoss 4.2.0
Reporter: Gene Gretter
Assigned To: Rob Stryker
When stopping JBoss from the Eclipse Server view, I receive the following error:
"Could not obtain connection to any of these urls: localhost:1099". I found
that this problem occurs because the process in which JBoss is running is terminated
before shutdown is executed. I found that eliminating the call to
pollServer(IServerStatePoller.SERVER_DOWN); in the JBossServerBehavior.serverStopping()
method resolves the problem, though I am not sure that this is the final fix.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira