<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: JBoss EAP 6 requires two stop commands to really stop
</h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/henk53">henk de boer</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/744648#744648">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><blockquote class="jive-quote"><p>After the first stop, could you check your console view? Usually there are multiple consoles there. One should be for the running server, but another might be for the recently launched shutdown command. This might indicate what went wrong during the shutdown. </p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Unfortunately there doesn't seem to be another console. The only console is the one that shows output from the running server, and the icon for switching consoles is grayed-out.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>There do are some entries in the error log though:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">!ENTRY org.eclipse.wst.server.core 4 0 2012-06-27 23:12:30.744
!MESSAGE Server JBoss EAP 6.0 Runtime Server failed to stop
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>and</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">!ENTRY org.jboss.ide.eclipse.as.core 4 16973826 2012-06-27 23:12:00.722
!MESSAGE The server was shutdown forcefully. All processes were terminated.
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Now there are some exceptions from a GlassFish plugin as well. Those are rather maddening ones that are triggered everytime I interact with the JBoss server runtime. With the JBoss AS 7.x server runtime they also happen, but don't seem to effect anything, e.g an excerpt:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><pre class="jive-pre"><code class="jive-code">!ENTRY org.eclipse.jface 4 2 2012-06-27 23:12:06.370
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
          at com.sun.enterprise.jst.server.sunappsrv.actions.PreludeUpdateCenterAction.accept(PreludeUpdateCenterAction.java:171)
          at com.sun.enterprise.jst.server.sunappsrv.actions.AppServerContextAction.selectionChanged(AppServerContextAction.java:238)
          at org.eclipse.ui.actions.SelectionProviderAction.selectionChanged(SelectionProviderAction.java:143)
          at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
          at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
          at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
          at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
          at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)
          at org.eclipse.ui.navigator.CommonViewer.handleSelect(CommonViewer.java:478)
          at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)
          at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)
          at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)
          at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Before I'll create the Jira issue let me first investigate what happens on a fresh Eclipse 3.7.2.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Thanks for your time!</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/744648#744648">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>