<!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="http://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 CLUSTER WITH SPRINGSECURITY
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/acacio.cintra">Acácio Macedo Cintra</a> in <i>Clustering Development</i> - <a href="http://community.jboss.org/message/630143#630143">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><span style="background-color: #ffffff; font-family: arial,helvetica,sans-serif;" title="Estou com problemas durante a r&eacute;plica criada entre os servidores que est&atilde;o em cluster.">I'm having problems created during replication between the servers that are clustered. <span style="background-color: #ffffff;" title="O erro apresentado &eacute; o seguinte:">The error presented is the following: <br/> <br/></span><em><span style="background-color: #ffffff;" title="2011-09-30 18:16:50,142 ERROR [org.jboss.cache.marshall.CacheMarshaller300] (ajp-172.29.1.6-8809-4:) Error while marshalling object:"></span></em></span></p><p style="padding-left: 60px;"><span style="background-color: #ffffff; font-family: arial,helvetica,sans-serif;" title="Estou com problemas durante a r&eacute;plica criada entre os servidores que est&atilde;o em cluster."><em><span style="background-color: #ffffff;" title="2011-09-30 18:16:50,142 ERROR [org.jboss.cache.marshall.CacheMarshaller300] (ajp-172.29.1.6-8809-4:) Error while marshalling object:">09/30/2011 18:16:50,142 ERROR [org.jboss.cache.marshall.CacheMarshaller300] (ajp-172.29.1.6-8809-4:) Error while marshalling object: </span><span title="dataVersion=null, data={0=28, 1=1317417410088,">dataVersion = null, data = 28 = {0, 1 = 1317417410088, </span><span style="background-color: #ffffff;" title="org.ajax4jsf.application.AjaxStateHolder=org.ajax4jsf.application.AjaxStateHolder@de51e30, usuarioSessao=br.gov.saude.plataformabrasil.visao.UsuarioSessaoVisao@60d2cd99, SPRING_SECURITY_CONTEXT=org.springframework.security.core.context.SecurityContextImpl@e8652658:">org.ajax4jsf.application.AjaxStateHolder = @ org.ajax4jsf.application.AjaxStateHolder de51e30, usuarioSessao = @ br.gov.saude.plataformabrasil.visao.UsuarioSessaoVisao 60d2cd99, SPRING_SECURITY_CONTEXT org.springframework.security.core.context.SecurityContextImpl = @ e8652658: </span><span style="background-color: #ffffff;" title="Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@e8652658: Principal: br.gov.saude.plataformabrasil.model.UsuarioSessao@4b890fdd; Password: [PROTECTED]; Authenticated: true; Details: null; Not granted any authorities, controlePaginasPesquisador">Authentication:&#160; org.springframework.security.authentication.UsernamePasswordAuthenticationToken @ e8652658: Home: @ br.gov.saude.plataformabrasil.model.UsuarioSessao 4b890fdd; Password: [PROTECTED]; Authenticated: true; Details: null; Not any Authorities Granted, controlePaginasPesquisador </span><span style="background-color: #ffffff;" title="=br.gov.saude.plataformabrasil.visao.ControlePaginasPesquisador@18d85e19, org.ajax4jsf.application.AjaxStateManager.view_sequence=5}serialized=false}}, globalTransaction=null, erase=false}}">br.gov.saude.plataformabrasil.visao.ControlePaginasPesquisador 18d85e19 = @, = 5 org.ajax4jsf.application.AjaxStateManager.view_sequence serialized = false}}} globalTransaction = null, erase = false}} </span></em></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;"><span style="font-size: 13px; color: #444444;">According to the log, this error is caused by the f<span style="background-color: #ffffff;">ollowing class: </span></span><span style="font-size: 13px; color: #444444;"><span style="background-color: #ffffff;">org.</span><span style="background-color: #ffffff;">springframework</span><span style="background-color: #ffffff;">.security.web.</span><span style="background-color: #ffffff;">servletapi.</span><span style="background-color: #ffffff;">SecurityContextHolderAwareRequ</span><span style="background-color: #ffffff;">estWrapper, which is not serialized, but I can't figure out for what reason there is an object in the session which have an instance of that class. We are using JSF, with security implemented by springSecurity. The class in the error report is the control class of the component which extends the control class of the servlet and we do not access it directly.</span></span></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span class="short_text" id="result_box" lang="en"><span class="hps">Can anyone help me</span><span>? </span></span>thanks<span class="short_text" id="result_box" lang="en"><span>.<br/></span></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/630143#630143">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Clustering Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2103">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>