[
https://jira.jboss.org/jira/browse/JBIDE-5024?page=com.atlassian.jira.plu...
]
Rob Stryker commented on JBIDE-5024:
------------------------------------
The timeout poller waits until 3 seconds before the "timeout", which is where
webtools / eclipse would say "The server did not respond and the timeout has been
reached, your server did not start".
So in the server editor, if your timeout is 450, then your server will remain in
"starting..." mode for 447 seconds. To cut this down, change your server timeout
to something like 10, and then your server will be marked "started" in 7
seconds.
I do not think an "automatic success" poller is necessary as the timeout poller
basically functions as an automatic success poller.
JBoss AS start fails if used configuration is not default one
-------------------------------------------------------------
Key: JBIDE-5024
URL:
https://jira.jboss.org/jira/browse/JBIDE-5024
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS
Affects Versions: 3.1.0.M4
Environment: Win32
Java 1.6 U16
Eclipse Galileo 3.5 SR1
JBoss Tools 3.1.0.M3
JBoss 3.2.7
Reporter: Denis Golovin
Assignee: Rob Stryker
Fix For: 3.1.0.CR1
When starting the 'default' configuration everything is fine, but any other
config fails. I've got the following error:
"Server JBoss 3.2 Runtime Server failed to start.
An exception stack trace is not available."
After searching the filesystem for any clues or hints what's going wrong, I found a
logfile in the metadir of my workspace @
".metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_3.2_Runtime_Server\log"
with the following content:
!ENTRY org.jboss.ide.eclipse.as.core 4 16842752 2009-10-14 10:19:48.580
!MESSAGE Failure in Poll Thread
!STACK 0
org.jboss.ide.eclipse.as.core.server.IServerStatePoller$PollingException:
java.lang.Boolean cannot be cast to java.lang.String
at
org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.handleException(JMXPoller.java:166)
at
org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.run(JMXPoller.java:106)
at java.lang.Thread.run(Thread.java:619)
After that I switch the Server Polling method from "JMX Poller" to
"Timeout Poller" and the server starts, but the plugin never reached the state
"Started" - it remains in the the state "Starting".
In the default config the JMX Poller works as expected.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira