tag:blogger.com,1999:blog-15640890.post972314995707570935..comments2023-10-15T13:06:49.311+00:00Comments on Andrew Marlow's Web Log: setting up DSpace and tomcat on windozeAndrew Marlowhttp://www.blogger.com/profile/15677162551542366263noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-15640890.post-24236746934124167852008-12-15T23:05:00.000+00:002008-12-15T23:05:00.000+00:00To clear out the database take the following steps...To clear out the database take the following steps:<BR/><BR/>Stop tomcat (otherwise you will get database in use errors).<BR/><BR/>Delete the database:<BR/>run PG Admin III (start->PostgreSQL 8.3->pg Admin III. double-click on localhost to connect to the db, double-click on databases then rightMouse, select 'new database...'. name=dspace,owner=dspace, UTF8 encoding. privilege properties, add user/group public with connect rights.<BR/><BR/>Re-create the database by saying ant fresh_install in the dspace build dir.Andrew Marlowhttps://www.blogger.com/profile/15677162551542366263noreply@blogger.comtag:blogger.com,1999:blog-15640890.post-34110684667804031852008-12-14T23:20:00.000+00:002008-12-14T23:20:00.000+00:00There is an issue when doing a bulk import into DS...There is an issue when doing a bulk import into DSpace. Some of the titles will have titles with accented characters, e.g German and French. Any script that produces an import XML from a CSV of journal titles will need to do the conversion somehow.Andrew Marlowhttps://www.blogger.com/profile/15677162551542366263noreply@blogger.comtag:blogger.com,1999:blog-15640890.post-13259589501490467132008-12-14T20:57:00.000+00:002008-12-14T20:57:00.000+00:00I had another go at getting tomcat and dspace to p...I had another go at getting tomcat and dspace to play nice, but it was no good. Tomcat just refuses to see dspace unless webapps/xmlui is copied to the tomcat webapps dir. But there is a better way to do the copy:<BR/><BR/>cd dspace-1.5.1-build.dir<BR/>ant update<BR/>cp -R webapps/xmlui /cygdrive/c/Program` Files/Apache\ Software\ Foundation/Tomcat\ 6.0/webapps<BR/><BR/>Unfortunately, in web.xml this leaves a dspace-config param with a bad value: ${dspace.dir} where dspace.dir is not defined. This must be edited to refer to c:/dspace.<BR/><BR/>Also permissions need to be opened on c:/dspace.<BR/><BR/>Then a missing logs dir needs to be created, tomcat/webapps/xmlui/WEB-INF/logsAndrew Marlowhttps://www.blogger.com/profile/15677162551542366263noreply@blogger.com