Hi all,

I configured a cluster of some machines, and it seems to work fine, but I have a 
problem with HttpSession Replication: 
I get This error:
[org.jboss.web.tomcat.tc5.session.InstantSnapshotManager] Failed to replicate 
sessionID:Jd8OZr6VJ6-2QSK5SSBovg**
javax.ejb.EJBException: Exception in setHttpSession: ; CausedByException is:
        Exception in setHttpSession: ; CausedByException is:
        javax.ejb.EJBException: java.io.NotSerializableException: 
it.lintec.lib.error.Error

But my it.lintec.libError implements Serializable:

/*
 * Created on Apr 16, 2004
 *
 * Modification History.
 *                      May 28, 2004.   [CaRa] Added the management of the user 
visualization
 *                                                      message codes   
 */
package it.lintec.lib.error;

import java.io.Serializable;

/**
 * @author alice
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public class Error implements Serializable {

        // PROGRAMMING ERROR CODES
        public static final Integer ERRORE_GENERICO = new Integer(0);
        public static final Integer FORMATO_NON_VALIDO = new Integer(1);
        public static final Integer PARAM_MANCANTI = new Integer(2);
        public static final Integer PARAM_INCOERENTI = new Integer(3);
        public static final Integer PARAM_NON_VALIDI = new Integer(4);
        public static final Integer CONSTRUTTORE_FALLITO = new Integer(5);
        public static final Integer CREAZIONE_SESSIONE_FALLITA = new Integer(6);
        public static final Integer CREAZIONE_CONTEXT_FALLITA = new Integer(7);
        public static final Integer CREAZIONE_CONTROLLER_FALLITA = new Integer(8);
        public static final Integer CREAZIONE_PARSER_FALLITA = new Integer(9);
        public static final Integer CREAZIONE_AZIONE_FALLITA = new Integer(10);
        public static final Integer INIT_TRANSAZIONE_FALLITA = new Integer(11);
        public static final Integer GET_AZIONE_FALLITA = new Integer(12);
        public static final Integer NAVIGAZIONE_ERRATA = new Integer(13);
        
        // USER VISUALIZATION MESSAGE CODES
        public static final String MSG_NAVIGAZIONE = new String("WUMSG_1");
        
        // da completare con i campi necessari!!!!
        private Integer errorCode = null;
        private String errorMessage = null;
        private String operation = null;
        
        /**
         * Return the string with the code used to access to the data base 
         * in order to get the error message related to the input programming
         * error occurred
         * 
         * @param errCode
         */
        public static String getUserMsgCode(Integer errCode) {
                // TODO - There must be added the logics for the message generation
                return MSG_NAVIGAZIONE;
        }

        /**
         * @return Returns the errorCode.
         */
        public Integer getErrorCode() {
                return errorCode;
        }

        /**
         * @param errorCode The errorCode to set.
         */
        public void setErrorCode(Integer errorCode) {
                this.errorCode = errorCode;
        }

        /**
         * @return Returns the errorMessage.
         */
        public String getErrorMessage() {
                return errorMessage;
        }

        /**
         * @param errorMessage The errorMessage to set.
         */
        public void setErrorMessage(String errorMessage) {
                this.errorMessage = errorMessage;
        }

        /**
         * @return Returns the operation.
         */
        public String getOperation() {
                return operation;
        }

        /**
         * @param operation The operation to set.
         */
        public void setOperation(String operation) {
                this.operation = operation;
        }

}


Any Ideas?

Thanks in advance.

Stefano Maestri
[EMAIL PROTECTED]
[EMAIL PROTECTED]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839406#3839406

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839406


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to