Here is what I do in my development environment:
1 database
1 assetstore
1 set of config files
multiple dspace instances
I have one directory that contains the assetstore and the config files
I have multiple dspace source directory trees each with a different
name of cause:
workspace/
dspace-1.4
smartech-1.4
... and so forth ....
when i compile these ant builds dspace.war and dspace-oai.war files in
workspace/
dspace-1.4/build
smartech-1.4/build
... and so forth ...
I copy theses files to tomcat's webapps directory under different names:
dspace-1.4/build/dspace.war --> <tomcatdir/webapps/dspace-1.4.war
dspace-1.4/build/dspace-oai.war --> <tomcatdir/webapps/dspace-1.4-oai.war
smartech-1.4/build/dspace.war --> <tomcatdir/webapps/smartech-1.4.war
smartech-1.4/build/dspace-oai.war -->
<tomcatdir/webapps/smartech-1.4-oai.war
... and so forth ...
If tomcat runs it will detect that war files are newer than the
deployed files and will unpack their contents into
<tomcatdir>/webapps/dspace-1.4
<tomcatdir>/webapps/smartech-1.4
... and so forth ...
After this is done your sites become available under
http://your.url.xx:8080/dspace-1.4
http://your.url.xx:8080/smartech-1.4
... and so forth ...
Having a separate set of configuration files for each dspace instance
would be cleaner. In that case at compilation you have to make sure
that each instance is compiled by ant with the cirrect setting for the
config files.
This setup is safe in a development environment as well since the
database in managed in a separate process anayway which takes care of
concurrent sessions updating its data
Monika
On 1/17/07, Stephen De Gabrielle <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was wondering if anyone was aware of any specific issues in running
> multiple instances of dspace on one machine.
>
> I'm assuming that they need the dspace config changed to specify;
> - different database on postgreSQL (different db users not required)
> - different DSPACE SOURCE folders ( where the different dspace.cfg to
> specify all this live )
> - different DSPACE folder (/dspace /tspace /gspace /mspace /lspace etc. ?)
>
> I'm not so sure about tomcat;
> - can I use the one install of tomcat and change what the webapps/ dspace
> .war and folder is called for each instance?
> (/dspace /tspace /gspace /mspace /lspace )
> - or do I need multiple 'tomcats' to achieve this. (each on a different
> port)
>
>
>
> Thanks,
>
> Stephen
>
>
> --
> Stephen De Gabrielle
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
--
Monika Mevenkamp
Georgia Institute of Technology
Library and Information Center
Phone: 404.385.0108
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech