Wooohoooo!!!! It worked.
I had docBase="\usr\local\webapps\xmlui\" and now changed it to the
dspace-config parameter as per your suggestion and rebuild it. It worked....
Thanks a lot Larry.

Anita


On Thu, Mar 4, 2010 at 3:15 PM, Palmquist, Larry E <[email protected]>wrote:

>  Anita,
>
> What do you have in (tomcat's) server.xml, now?
>  On our dev server, the only place we have xmlui, we have (just before the
> closing </Host> </Engine> </Service> </Server> tags)
>
> <Context path="/xmlui" >
>    <Parameter name="dspace-config" value="/dspace/config/dspace.cfg"
> description="Path to DSpace config file" />
> </Context>
>
>
> I'm assuming you've removed the symbolic links, and the
> docBase="\usr\local\dspace\webapps\xmlui" parameter, because all of the bits
> are in Tomcat's webapps tree.
>
> After a successful build, I copy everything from "dspace.dir"/webapps/xmlui
> to $CATALINA_HOME/webapps/xmlui  (i.e.    cp -pR /dspace/webapps/xmlui/*
> $CATALINA_HOME/webapps/xmlui ).
>
> Which looks like it would be   cp -pR  /usr/local/dspace/webapps/xmlui/*
> /svr/fedora/tomcat/webapps/xmlui
> on your machine (assuming dspace.dir=/usr/local/dspace  and
> $CATALINA_HOME=/svr/fedora/tomcat
> so "dspace-config" would have value="/usr/local/dspace/config/dspace.cfg"
>
> Everything (in both trees)  belongs to our dspace user.
>
> Is there any indication in Tomcat logs (catalina.out) about what may have
> happened to "xmlui"?
>
> Hope this helps.
>
> Larry Palmquist
> Application Administration
> Information Services
> University of Kansas
>
>
> -----Original Message-----
> *From:* Anita P [mailto:[email protected]]
> *Sent:* Thursday, March 04, 2010 2:26 PM
> *To:* [email protected]
> *Subject:* Re: [Dspace-tech] Manakin Installation
>
> I still haven't figured out why my xmlui won't work but jspui does. Can
> someone share the list of files in there xmlui folder. The only thing I can
> think of is that the build got messed up for the xmlui. Here are the list of
> my files in xmlui
>
>
> fc-test:/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/
>
> Am I missing any files/folders???
>
> Anita
>
>
> On Wed, Mar 3, 2010 at 11:14 AM, Anita P <[email protected]> wrote:
>
>> 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