<!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;">
    JBOSS 5.1.0 occasionally does not fully startup
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/mbroderick">Mike Broderick</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/message/798692#798692">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>We are seeing intermittent issues where JBOSS does not seem to fully startup (5.1.0 on CentOS 5.6 x86_64)&#160;&#160; The server is up and listening on port 8080, but browsing to that port does not get a response.&#160; I.e., I can telnet to the port to confirm there is a listener but get no response to say, browsing to the port.&#160; We will restart JBOSS using the init.d script.&#160; Sometimes it takes a couple restarts to get it to startup properly.&#160;&#160; I have modified the startup script to save a copy of the consle.log and boot.log on startup (and remove the tmp dir) contents.&#160; I have&#160;&#160; have reviewed these logs but see no obvious errors.&#160; The only notable difference between a good startup and hung one is the last log entry:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>bad:</p><p>...</p><p>console.log.20130214163804:14:19:52,304 INFO&#160; [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080</p><p>console.log.20130214163804:14:19:52,396 INFO&#160; [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8081</p><p>console.log.20130214163804:14:19:52,435 INFO&#160; [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>good:</p><p>...</p><p>console.log.20130217095512:16:39:26,879 INFO&#160; [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080</p><p>console.log.20130217095512:16:39:27,002 INFO&#160; [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8081</p><p>console.log.20130217095512:16:39:27,149 INFO&#160; [Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443</p><p>console.log.20130217095512:16:39:27,169 INFO&#160; [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>That's what I see most of the hangs (stopping after the port 8443 msg).&#160; On a couple hangs, the last entry was the port 8081 message (instead of 8443).&#160; The boot.log for a good vs bad startup looks the same (same msgs, number of lines, etc).&#160; E.g., The last messages from the last hang today is:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>22:06:44,256 DEBUG [ServiceConfigurator] BlockingMode set to run in jboss.system:service=ThreadPool</p><p>22:06:44,256 DEBUG [ServiceController] Creating service jboss.system:service=ThreadPool</p><p>22:06:44,257 DEBUG [ServiceController] starting service jboss.system:service=ThreadPool</p><p>22:06:44,257 DEBUG [ServiceCreator] About to create xmbean object: jboss.system:type=Log4jService,service=Logging with code: org.jboss.logging.Log4jService with descriptor: resource:xmdesc/</p><p>Log4jService-xmbean.xml</p><p>22:06:44,278 DEBUG [ServiceCreator] Created mbean: jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,279 DEBUG [ServiceConfigurator] ConfigurationURL set to resource:jboss-log4j.xml in jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,279 DEBUG [ServiceConfigurator] Log4jQuietMode set to true in jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,279 DEBUG [ServiceConfigurator] RefreshPeriod set to 60 in jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,280 DEBUG [ServiceConfigurator] DefaultJBossServerLogThreshold set to INFO in jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,280 DEBUG [ServiceController] Creating service jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,280 DEBUG [Log4jService] Creating jboss.system:type=Log4jService,service=Logging</p><p>22:06:44,287 DEBUG [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Looking for tips on how to narrow this down further or if there are any known issues related to this I can look into.</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/798692#798692">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>