hello,
try to un-deploy the webapp before copying the new one (with tomcat manager)
If it's a caching issue (probably is), kill tomcat/work contents for your
webapp (ROOT, jspui)
there is no reason to copy webapps to tomcat/webapps
Either
make a symbolic link to tomcat/webapps for /dspace/webapps/JSPUI (and rename
it to ROOT if you need to) in this way you wouldn't have to copy each time
you rebuild the contents of the webapps folder (just to rename jspui to ROOT
in order for the link to work)
Or copy jspui as ROOT in tomcat/webapps

The difference in windows and linux is that there aren't symbolic links (at
least to my knowledge)

Best of luck!

Kostas Paraskevopoulos
Κωνσταντίνος Παρασκευόπουλος
George Burns <http://www.brainyquote.com/quotes/authors/g/george_burns.html>
- "I would go out with women my age, but there are no women my age."

On Tue, Jun 30, 2009 at 09:52, Alexia Kounoudes
<[email protected]>wrote:

>  Hi
>
> 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/
>
> And then
>
> cd /var/lib/tomcat5/webapps
>
> 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?
>
>
>
>
>
>
> *Kind regards,*
>
> * *
>
> *Alexia Kounoudes*
>
> *Library Information Systems Support Office***
>
> *Cyprus University of Technology**
>
>
> ***
>
> * *
>
> *[email protected]*
>
> *tel: 00357 25002568***
>
> *fax:00357 25002761***
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to