Hi, I have been configuring Tomcat and DSpace to accomplish tomcat 
clustering and the persistence of sessions in two machines that are 
running Tomcat at the same time. First, I added the line of server.xml 
under the Engine line:
<Engine defaultHost="localhost" name="Catalina">
        <Cluster 
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"/>
.......

Moreover, we need to modify the objects that sessions of DSpace uses, 
consequently changing this objects for implementing the 
java.io.Serializable. In fact, DSpace's sessions only use one object, 
RequestInfo.java:

public class RequestInfo implements java.io.Serializable{.....}

I made this changes with DSpace 1.4 , Tomcat 5.5.17 and Tomcat 6 and are 
working very well. I hope this explanations can help anyone.

Best regards,

Jesús Martín

-- 

......................................................................
         __
        / /          Jesús Martín García
  C E / S / C A      Tècnic en Sistemes
      /_/            Centre de Supercomputació de Catalunya

  Gran Capità 2-4 (Edifici Nexus)  08034 Barcelona
  T. 93 205 6464  F.  93 205 6979  [EMAIL PROTECTED]
...................................................................... 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to