Yes I am confident /srv/fedora/tomcat/webapps is the correct one. We are
testing out fedora too and hence tomcat was installed in that directory.


And with respect to permissions, although we should not have done this but
tomcat does run as the root and it is a test server so for now that is fine.

To rule out that there is another webapps tomcat running the jspui here is
what i got from "find -name" for jspui and xmlui. So if jspui is running
somewhere other than /srv/fedora/tomcat/webapps my assumption it that it
would have shown up here and all it shows is that it is running from that
directory.  Any thing else I could be missing???


fc-test:/ # find -name xmlui
./root/.m2/repository/org/dspace/xmlui
*./srv/fedora/tomcat/work/Catalina/localhost/xmlui
./srv/fedora/tomcat/webapps/xmlui
*./srv/fedora/tomcat/webapps/xmlui/META-INF/maven/org.dspace.modules/xmlui
./home/dspace/.m2/repository/org/dspace/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace-xmlui/dspace-xmlui-wing/target/classes/org/dspace/app/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace-xmlui/dspace-xmlui-wing/src/main/java/org/dspace/app/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace-xmlui/dspace-xmlui-api/target/classes/org/dspace/app/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/webapps/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/webapps/xmlui/META-INF/maven/org.dspace.modules/xmlui
./usr/local/dspace/dspace-1.5.2-src-release/dspace/modules/xmlui
./usr/local/dspace/webapps/xmlui
./usr/local/dspace/webapps/xmlui/META-INF/maven/org.dspace.modules/xmlui

fc-test:/ # find -name jspui
*./srv/fedora/tomcat/work/Catalina/localhost/jspui
./srv/fedora/tomcat/webapps/jspui
*
./usr/local/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/webapps/jspui
./usr/local/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build.dir/webapps/jspui/META-INF/maven/org.dspace.modules/jspui
./usr/local/dspace/dspace-1.5.2-src-release/dspace/modules/jspui
./usr/local/dspace/webapps/jspui
./usr/local/dspace/webapps/jspui/META-INF/maven/org.dspace.modules/jspui





On Wed, Mar 3, 2010 at 10:50 AM, Pablo Olivares <[email protected]> wrote:

> mm.. /srv/fedora/tomcat/webapps/ , do you verify that this directory is
> currently using  for Tomcat??,
> *
> *
> your error sounds like exist another "webapps" where tomcat are currently
> point...
>
> another issue is that permissons  for "[tomcat]/webapps/xmlui" are set to
> "root"... i think yor must set to "tomcat user"
>
> El Pablo.
>
>
> On Wed, Mar 3, 2010 at 10:27 AM, Anita P <[email protected]> wrote:
>
>> @ El Pablo: Yes I am on a linux machine and did a ln -s (symbolic link)
>> for both xmlui and jspui  and here is how it looked
>> lrwxrwxrwx  1 root root       31 2010-03-02 14:55 jspui ->
>> /usr/local/dspace/webapps/jspui/
>> lrwxrwxrwx  1 root root       29 2010-03-02 14:56 oai ->
>> /usr/local/dspace/webapps/oai/
>> lrwxrwxrwx  1 root root       28 2010-03-02 14:57 xmlui ->
>> /usr/local/dspace/webapps/xmlui/
>>
>> Now. I now copied the whole folder in my [dspace]/webapps/xmlui to my
>> tomcat webapps. Here is what i have
>>
>> */srv/fedora/tomcat/webapps/xmlui #* l
>> total 60
>> drwxr-xr-x  8 root root  4096 2010-03-03 10:12 ./
>> drwxr-xr-x 19 root root  4096 2010-03-03 10:12 ../
>> drwxr-xr-x  2 root root  4096 2010-03-03 10:12 aspects/
>> -rw-r--r--  1 root root  6805 2010-03-03 10:12 exception2html.xslt
>> drwxr-xr-x  2 root root  4096 2010-03-03 10:12 i18n/
>> drwxr-xr-x  3 root root  4096 2010-03-03 10:12 META-INF/
>> -rw-r--r--  1 root root 17983 2010-03-03 10:12 sitemap.xmap
>> drwxr-xr-x  2 root root  4096 2010-03-03 10:12 static/
>> drwxr-xr-x  7 root root  4096 2010-03-03 10:12 themes/
>> drwxr-xr-x  5 root root  4096 2010-03-03 10:12 WEB-INF/
>>
>>
>> That did not work. And I also added the following in the server.xml
>> <Context path="/xmlui" docBase="\usr\local\dspace\webapps\xmlui" debug="0"
>> reloadable="true" cachingAllowed="false" allowLinking="true"/>
>>
>> but i still get the same error for xmlui. What puzzles me is how come
>> jspui works perfectly without any changes.
>>
>> Anita
>>
>>
>>
>>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to