0 Replies Latest reply on Jun 21, 2004 10:43 AM by maeste

    3.2.4 HttpSession Replication error

    maeste

      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
      stefano.maestri@lince.it
      stefano.maestri@javalinux.it