geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo Development > Clustering Configuration for Jetty
Date Wed, 09 Dec 2009 12:25:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=GMOxDEV&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="http://cwiki.apache.org/confluence/display/GMOxDEV/Clustering+Configuration+for+Jetty?focusedCommentId=9371843#comment-9371843">Clustering
Configuration for Jetty</a></h2>
        <h4>Page
        <b>commented</b> by              <a href="http://cwiki.apache.org/confluence/display/~ums">ums</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>First thanks for this helpful presentation.  We succeeded in deploying this
application, also to three nodes, and got similiar robustness results.  But the html frames
with session.jsp were not called asynchronously by browser, but one after each other.  Now
we plan to create an application with asynchronous requests, so our testing scenario now involves
multiple requests by wget (as asynchronous background processes) and some sleep before, inside
and after the synchronized(session) block. Alas, this results in severe exceptions in all
nodes, thousands of lines of stacktraces (some follow) and not few of the responses had length
of 0bytes:</p>

<p>...<br/>
2009-12-09 08:36:18,984 WARN  <span class="error">&#91;HybridRelocater&#93;</span>
Failed relocation for <span class="error">&#91;1we9hx4kzmzqy&#93;</span><br/>
2009-12-09 08:36:18,985 ERROR <span class="error">&#91;log&#93;</span>
EXCEPTION<br/>
org.codehaus.wadi.core.MotableBusyException: Motable <span class="error">&#91;1we9hx4kzmzqy&#93;</span>
buzy. Session relocation has been aborted.<br/>
        at org.codehaus.wadi.core.contextualiser.HybridRelocater.handleSessionRelocation(HybridRelocater.java:139)<br/>
        at org.codehaus.wadi.core.contextualiser.HybridRelocater.doRelocate(HybridRelocater.java:109)<br/>
        at org.codehaus.wadi.core.contextualiser.HybridRelocater.relocate(HybridRelocater.java:79)<br/>
        at org.codehaus.wadi.core.contextualiser.ClusterContextualiser.handle(ClusterContextualiser.java:95)<br/>
        ...</p>

<p>...<br/>
2009-12-09 08:36:11,023 ERROR <span class="error">&#91;SerialContextualiser&#93;</span>
could not acquire session within timeframe: 1we9hx4kzmzqy<br/>
2009-12-09 08:36:11,023 ERROR <span class="error">&#91;StandardManager&#93;</span>
Could not acquire session <span class="error">&#91;1we9hx4kzmzqy&#93;</span><br/>
2009-12-09 08:36:11,067 FATAL <span class="error">&#91;JspFactoryImpl&#93;</span>
Exception initializing page context<br/>
java.lang.IllegalStateException<br/>
        at org.apache.geronimo.jetty6.cluster.ClusteredSessionManager$ClusteredSession.&lt;init&gt;(ClusteredSessionManager.java:142)<br/>
        at org.apache.geronimo.jetty6.cluster.ClusteredSessionManager.newSession(ClusteredSessionManager.java:54)<br/>
        at org.mortbay.jetty.servlet.AbstractSessionManager.newHttpSession(AbstractSessionManager.java:413)<br/>
        at org.mortbay.jetty.Request.getSession(Request.java:1040)<br/>
        ...</p>

<p>...<br/>
2009-12-09 08:36:11,018 FATAL <span class="error">&#91;JspFactoryImpl&#93;</span>
Exception initializing page context<br/>
java.lang.IllegalStateException<br/>
        at org.apache.geronimo.jetty6.cluster.ClusteredSessionManager$ClusteredSession.&lt;init&gt;(ClusteredSessionManager.java:142)<br/>
        at org.apache.geronimo.jetty6.cluster.ClusteredSessionManager.newSession(ClusteredSessionManager.java:54)<br/>
        at org.mortbay.jetty.servlet.AbstractSessionManager.newHttpSession(AbstractSessionManager.java:413)<br/>
        ...</p>

<p>...<br/>
2009-12-09 08:36:10,984 WARN  <span class="error">&#91;BasicLocalPartition#18@NODE3&#93;</span>
Motable buzy. Move <span class="error">&#91;1we9hx4kzmzqy&#93;</span>@[TribesPeer
<span class="error">&#91;NODE; tcp://<div class="error"><span class="error">Unknown
macro: {127, 0, 0, 1}</span> </div>:4001&#93;</span>]-&gt;[TribesPeer
<span class="error">&#91;NODE3; tcp://127.0.0.1:4002&#93;</span>] aborted.<br/>
2009-12-09 08:36:11,003 ERROR <span class="error">&#91;SerialContextualiser&#93;</span>
could not acquire session within timeframe: 1we9hx4kzmzqy<br/>
2009-12-09 08:36:11,003 ERROR <span class="error">&#91;StandardManager&#93;</span>
Could not acquire session <span class="error">&#91;1we9hx4kzmzqy&#93;</span><br/>
2009-12-09 08:36:11,014 WARN  <span class="error">&#91;BasicLocalPartition#18@NODE3&#93;</span>
insert <span class="error">&#91;1we9hx4kzmzqy&#93;</span>@[TribesPeer
<span class="error">&#91;NODE3; tcp://127.0.0.1:4002&#93;</span>] failed;
key already in use<br/>
2009-12-09 08:36:11,018 FATAL <span class="error">&#91;JspFactoryImpl&#93;</span>
Exception initializing page context<br/>
java.lang.IllegalStateException<br/>
        at org.apache.geronimo.jetty6.cluster.ClusteredSessionManager$ClusteredSession.&lt;init&gt;(ClusteredSessionManager.java:142)<br/>
        at org.apache.geronimo.jetty6.cluster.ClusteredSessionManager.newSession(ClusteredSessionManager.java:54)<br/>
        at org.mortbay.jetty.servlet.AbstractSessionManager.newHttpSession(AbstractSessionManager.java:413)<br/>
        at org.mortbay.jetty.Request.getSession(Request.java:1040)<br/>
        ...</p>

<p>Any idea what else do we have to regard to make this work?  Or is there maybe an
alternative clustering installation (gcache,tomcat,terracotta...) where asynchronous requests
could be processed with blocks synchronized on session?</p>


    </div>

        
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="http://cwiki.apache.org/confluence/display/GMOxDEV/Clustering+Configuration+for+Jetty?focusedCommentId=9371843#comment-9371843">View
Online</a>
              |
       <a id="reply-9371843" href="http://cwiki.apache.org/confluence/display/GMOxDEV/Clustering+Configuration+for+Jetty?replyToComment=9371843#comment-9371843">Reply
To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message