I am having some problems with tomcat in dspace.I am using Dspace 1.5 in Redhat Linux.
As I do not want to use the extension /jspui in my repository’s url I create a symbolic link ROOT in tomcat directory /var/lib/tomcat5/webapps which points to the installation directory of my dspace /usr/local/dspace/webapps/jspui. i do this every time i run the ant update command.
What happens is that the link works in the browser ie when I do not use the /jspui in the URL my repository appears but it seems to use some old configuration.
an xample: I changed the file full.jsp under the source directory of dspace …/webapps/jspui/browse/full.jsp in order to produce a browsing index using the greek alphabet characters. Then I rebuilt dspace using ant update, then I stopped the tomcat service from running, I removed the old webapps directory from /var/lib/tomcat5/, then I copied the /usr/local/dspace/webapps directory to the tomcat dir using
cp –R webapps/ /var/lib/tomcat5/
ln –s /usr/local/dspace/webapps/jspui ROOT
in order to create the link.
It seems that when I use the jspui in my URL ie http://ktisis.cut.ac.cy/jspui the browsing index appears correctly, however when I do not use it it shows some old configuration I did in the past in the full.jsp file. I have no clue as to where it reads this old configuration from as I have deleted this change and also I have removed the old webapps directories both from tomcat directory and dspace directories.
After a few days the browsing index appeared correctly in both ways.
The same situation occurs when I try to do more changes. My changes do not seem to take place oimmediately or at all.
I have also noticed some other odd behaviour of tomcat. If I remove completely the webapps directory from /var/lib/tomcat5/ and I restart tomcat my reposiytory works fine, ie it does not read the webapps from the tomcat directory.
Has anybody got a clue as to what is going on?
I have used dspace and tomcat in the past but in a windows server and if webapps directory was missing from tomcat’s directory then it wouldn't work. Is something different in linux?
Library Information Systems Support Office
Cyprus University of
tel: 00357 25002568