Jodi, the server.xml is in the /tomcat-directory/conf/. And you have to
modify one class, in concrete RequestInfo.java making this class
serializable adding the following code in RequestInfo.java:
java class RequestInfo implements java.io.Serializable{....
After this you have to recompile the DSpace code, stop Tomcat, copy the
war in /tomcat-directory/webapps/ and start Tomcat.
cheers,
Jesús
Jodi Schneider wrote:
> Thanks, Jesus. Since you and James are discussing it, I'll make some
> comments about what's unclear to me from reading this page, as a novice:
>
> -What is the path of server.xml?
> -How do we "modify the objects that sessions of DSpace uses"?
>
> The structure of this page
> http://wiki.dspace.org/index.php//HOWTO_Clustering
> is also unclear to me--it seems like a list of options that were
> tried. It would be preferable to me (as a novice), to have a
> recommendation at the top, clearly marked as such, followed by
> categorized alternatives. (For instance, how does Terracotta relate to
> Tomcat)?
>
> Scalability is definitely important, so and I hope that those who
> understand it will continue improving these instructions, and provide
> some scalability metrics as well at the stub
> http://wiki.dspace.org/index.php/ScalabilityMetrics
>
> Thanks again for your improvements!
>
> -Jodi
>
> On 6/27/07, *Jesus Martin* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi, I added some notes to HOWTO_Clustering in DSpace's wiki fo
> clustering with Tomcat.
>
> http://wiki.dspace.org/index.php//HOWTO_Clustering
>
> cheers,
>
> Jesús
>
> James Rutherford wrote:
> > Hi,
> >
> > It would be great if you could add some notes to the (embarrassingly
> > incomplete) wiki page that I started a few months ago:
> >
> > http://wiki.dspace.org/HOWTO_Clustering
> <http://wiki.dspace.org/HOWTO_Clustering>
> >
> > The page is mostly focussed on clustering of the database layer,
> so it
> > would be good to get more detailed information about setting up
> Tomcat.
> >
> > cheers,
> >
> > Jim
> >
> > On Wed, Jun 27, 2007 at 09:57:47AM +0200, Jesus Martin wrote:
> >
> >> 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]
> <mailto:[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
> >> [email protected]
> <mailto:[email protected]>
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>
> >
> >
>
>
> --
>
> ......................................................................
>
> __
> / / 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]
> <mailto:[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
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
......................................................................
__
/ / 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech