Hi! Jim, (1) In machineweb2 I gave ant update. Build was successful. (2) Gave ant int_configs and was fine. (Without init_configs system was giving error while accessing Dspace home page) (3) When accessing Dspace at http://IP:8080/Dspace it gives an "internal error". In the log folder, log file was not created. (4) Gave "ant clean" and then "ant update" and "ant init_configs". Copied war files and Restarted tomcat. Dspace home page with internal error message was displayed. ((A) OUTPUT 1) (5) Tried creating another DSpace installation folder and performed the same steps. ((B) OUTPUT 2). This time ant init_configs gave the message " [copy] Copying 32 files to E:\dspace\config [copy] Copying 1 file to E:\dspace\config"
(6) Gave SMTP arguments thinking it may throw internal error if not configured. The output messages are copied in. Could you please suggest how to proceed with debugging the "internal error". Thanks, Jayan (A) OUTPUT 1 E:\DSpace141>ant clean Buildfile: build.xml clean: [delete] Deleting directory E:\DSpace141\build BUILD SUCCESSFUL Total time: 0 seconds E:\DSpace141>ant update Buildfile: build.xml compile: [mkdir] Created dir: E:\DSpace141\build\classes [javac] Compiling 233 source files to E:\DSpace141\build\classes [javac] E:\DSpace141\src\org\dspace\app\oai\DIDLCrosswalk.java:55: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future rel ease [javac] import sun.misc.BASE64Encoder; [javac] ^ [javac] E:\DSpace141\src\org\dspace\app\oai\DIDLCrosswalk.java:238: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future re lease [javac] BASE64Encoder encoder=(BASE64Enc oder) Class.forName("sun.misc.BASE64Encoder").newInstance(); [javac] ^ [javac] E:\DSpace141\src\org\dspace\app\oai\DIDLCrosswalk.java:238: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future re lease [javac] BASE64Encoder encoder=(BASE64Enc oder) Class.forName("sun.misc.BASE64Encoder").newInstance(); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 3 warnings install_code: [jar] Building jar: E:\dspace\lib\dspace.jar build_wars: [copy] Copying 1 file to E:\DSpace141\build [mkdir] Created dir: E:\DSpace141\build\jsp [copy] Copying 220 files to E:\DSpace141\build\jsp [copy] Copying 1 file to E:\DSpace141\build\classes [war] Building war: E:\DSpace141\build\dspace.war [copy] Copying 1 file to E:\DSpace141\build [war] Building war: E:\DSpace141\build\dspace-oai.war update: [echo] [echo] ==================================================================== [echo] Copied language packs into E:/dspace/config [echo] [echo] ==================================================================== [echo] Updated Web application (.war) files are in the 'build' directory. BUILD SUCCESSFUL Total time: 14 seconds E:\DSpace141>ant init_configs Buildfile: build.xml init_configs: BUILD SUCCESSFUL (B) OUTPUT 2 E:\DSpace141>ant update Buildfile: build.xml compile: install_code: [mkdir] Created dir: E:\dspace\config [mkdir] Created dir: E:\dspace\assetstore [mkdir] Created dir: E:\dspace\handle-server [mkdir] Created dir: E:\dspace\history [mkdir] Created dir: E:\dspace\search [mkdir] Created dir: E:\dspace\log [mkdir] Created dir: E:\dspace\upload [mkdir] Created dir: E:\dspace\bin [mkdir] Created dir: E:\dspace\lib [mkdir] Created dir: E:\dspace\reports [copy] Copying 22 files to E:\dspace\bin [copy] Copying 71 files to E:\dspace\lib [jar] Building jar: E:\dspace\lib\dspace.jar build_wars: update: [copy] Copying 1 file to E:\dspace\config [echo] [echo] ==================================================================== [echo] Copied language packs into E:/dspace/config [echo] [echo] ==================================================================== [echo] Updated Web application (.war) files are in the 'build' directory. BUILD SUCCESSFUL Total time: 2 seconds E:\DSpace141>ant init_configs Buildfile: build.xml init_configs: [copy] Copying 32 files to E:\dspace\config [copy] Copying 1 file to E:\dspace\config BUILD SUCCESSFUL -----Original Message----- From: James Rutherford [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 6:17 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 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