[
http://jira.jboss.com/jira/browse/JBIDE-1127?page=comments#action_12383698 ]
Viacheslav Kabanovich commented on JBIDE-1127:
----------------------------------------------
This is behaviour of WTP's server framework.
The issue can be reproduced with using only Servers view.
EXECUTE: Open Serevers view.
EXECUTE: Create JBoss 4.2 Server instance.
EXECUTE: Right click command 'Start'
EXECUTE: Right click command 'Restart'
ASSERT: Log contains message 'Error calling delegate restart() JBoss 4.2 Server'.
Method restart() of org.eclipse.wst.server.core.internal.Server
invokes method restart on behavior delegate that should extend
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.
Default implementation of restart method just thows CoreException,
and comment to method states that it is designed to implement
a quicker/better way to restart server, but if Core exception is thrown,
it will be caught and restart will be executed as combination of
stop + start actions.
Catching CoreException WTP puts entry to log. The reporting is on
only if plugin org.eclipse.wst.server.core is in debug mode (which
by default is true). So, the workaround is to turn off debugging of
server plugin.
In principle, the issue can only be solved by implementing restart method
in org.jboss.ide.eclipse.as.core.server.internal.JBossServerBehavior
class (plugin org.jboss.ide.eclipse.as.core).
clicking restart icon gives error log entry
-------------------------------------------
Key: JBIDE-1127
URL:
http://jira.jboss.com/jira/browse/JBIDE-1127
Project: JBoss Tools
Issue Type: Bug
Components: JBossAS
Reporter: Max Andersen
Assigned To: Viacheslav Kabanovich
Fix For: 2.0.0.CR1
This shows up in the log: Error calling delegate restart() JBoss 4.2 Server
no stacktrace associated. restart seem to work though.
--
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