[
http://jira.jboss.com/jira/browse/JBIDE-1891?page=comments#action_12405119 ]
Gene Gretter commented on JBIDE-1891:
-------------------------------------
The problem is related to 2. The Stop Timeout value is set to zero. I did remember
setting this value to zero, so I started over with a fresh copy of Eclipse and new JBoss
Tools plugin install. I found that the Start Timeout and Stop Timeout values both where
set to 450.
I then tried to start JBoss and received the error "Server JBoss 4.2 Server Failed to
Start". I have seen this error before and found that setting Preferences ->
Server: Server Timeout Delay to Unlimited solves the problem. After making this change I
was able to start JBoss. I then tried to stop JBoss and received the error "Could
not obtain connection to any of these urls: localhost:1099". I checked the Stop
Timeout value and found it was now set to zero. Apparently, switch Server Timeout Delay
has the side-effect of setting Start Timeout and Stop Timeout to zero. I changed Stop
Timeout to 100 and then I was able to stop JBoss without receiving an error.
Some observations:
I am only able to start JBoss if Server Timeout Delay is set to Unlimited. The values
Normal, Long, and Longer do not solve the start problem. The odd thing is that the start
failure happens immediately so it does not really appear to be a timeout issue.
It appears that the value of Server Timeout Delay determines the maximum value for Start
Timeout and Stop Timeout. This relationship is not obvious.
When Server Timeout Delay is set to Unlimited, the values displayed for Start Timeout and
Stop Timeout is always zero. As I mentioned above, I set Stop Timeout to 100, but it is
displayed as zero. If you switch Server Timeout Delay to another value, such as Longer,
then the value 100 is displayed for Stop Timeout.
There seems to be a few problems here:
Unable to start JBoss using the default values for Server Timeout Delay, Start Timeout,
and Stop Timeout.
Changing Server Timeout Delay to Unlimited also changes Start Timeout and Stop Timeout to
zero.
When Server Timeout Delay is set to Unlimited, Start Timeout and Stop Timeout are always
displayed as zero even though the effective value is greater than zero.
Thanks for your help in diagnosing this problem.
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