On Mon, Apr 02, 2007 at 08:44:52PM +0800, Jayan Chirayath Kurian wrote:
> (1) Initailly i installed Dspace 1.4.1 and associated software
> (java,tomcat,postgresql) in "machine1" and imported few items through
> batch import. DSpace is working fine. 
> (2) later it was decided to have 2 tier implementation, " machine1"
> with DB and "machineweb2" with Dspace, java, and Tomcat. The previous
> configuration of "machine1" was not changed since DSpace was working
> fine. In "machineweb2" i installed JDK, Tomcat and extracted DSpace
> 1.4.1. When "ant fresh_install" was given at DSpace source - bin, the
> build was unsuccessful. 

This is the problem. When you run ant fresh_install it tries to do
everything, including populating the database. All you need to do on
machineweb2 is ant update (and maybe ant init_configs). You shouldn't
need to do anything to the database structure on machine1.

cheers,

Jim

> (3) Based on your suggestion, i feel it is due to database structure existing 
> with "machine1" since it was installed with postgresql, java,tomcat, and 
> DSpace software initially . 
> (4) In this case shall i remove the items already imported or drop the 
> database. How shall i recreate the database once dropped so that it wont 
> effect "machine1" DSpace configuration.
> (5) Is it better to reinstall postgresql in "machine1". 
> (6) Will this effect the existing instance of DSpace running fine on  " 
> machine1". 
> (7) Is there an option to create a DSpace instance from "machineweb2" without 
> changing existing configuration of "machine1".
>  
> Thanks for your reply and help.
> Only few items are existing in "machine1" and removing them and importing 
> them again is not a big issue.Please suggest how shall i proceed .
>  
> Thanks,
> Jayan
> 
> ________________________________
> 
> From: James Rutherford [mailto:[EMAIL PROTECTED]
> Sent: Mon 4/2/2007 6:12 PM
> To: Jayan Chirayath Kurian
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] 2 Tier Dspace Implementation
> 
> 
> 
> On Mon, Apr 02, 2007 at 03:57:55PM +0800, Jayan Chirayath Kurian wrote:
> > (3) when "ant fresh_install" was given from client machine, the DB
> > connection error was not seen but build was not successful. I just
> > copied the war files to Tomcat webapp folder. Accessing and browsing
> > items was fine. But submitting a new item gives an internal error. Since
> > I have not properly build DSpace, the log file was not seen. I am
> > attaching the command line output when I execute "ant fresh_install".
> > The error starts with "PSQLException: ERROR: function "getnextid"
> > already exists with same argument types". Please suggest.
> 
> This error is being thrown because the database structure already
> exists. How are you able to "access and browse" items if you can't
> submit them? It's difficult to figure out exactly how far you've got
> with your installation; if you haven't successfully completed a
> fresh_install, you shouldn't deploy the WARs and start using DSpace.
> Deploying DSpace half-built is definitely a Bad Idea.
> 
> If there is no content in your database, I would recommend dropping it
> and starting again with a fresh_install.
> 
> Jim
> 
> --
> James Rutherford          |  Hewlett-Packard Limited registered Office:
> Research Engineer         |  Cain Road,
> HP Labs                   |  Bracknell,
> Bristol, UK               |  Berks
> +44 117 312 7066          |  RG12 1HN.
> [EMAIL PROTECTED]   |  Registered No: 690597 England
> 
> The contents of this message and any attachments to it are confidential and
> may be legally privileged. If you have received this message in error, you
> should delete it from your system immediately and advise the sender. To any
> recipient of this message within HP, unless otherwise stated you should
> consider this message and attachments as "HP CONFIDENTIAL".
> 
> 

-- 
James Rutherford          |  Hewlett-Packard Limited registered Office:
Research Engineer         |  Cain Road,
HP Labs                   |  Bracknell,
Bristol, UK               |  Berks
+44 117 312 7066          |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as "HP CONFIDENTIAL".

-------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to