[Dspace-tech] ClassNotFoundException

2010-02-26 Thread Anita P
Hello All,
I am a newbie and have installed DSpace. I get the

Exception in thread "main" java.lang.NoClassDefFoundError:

for anything i try to do. As an example I was executing hte filter-media

* ./filter-media
Applying Media Filters
Exception in thread "main" java.lang.NoClassDefFoundError:
org/dspace/app/mediafilter/MediaFilterManager
Caused by: java.lang.ClassNotFoundException:
org.dspace.app.mediafilter.MediaFilterManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class:
org.dspace.app.mediafilter.MediaFilterManager.  Program will exit.


*Next

*./index-init
Creating browse index
Exception in thread "main" java.lang.NoClassDefFoundError:
org/dspace/browse/IndexBrowse
Caused by: java.lang.ClassNotFoundException: org.dspace.browse.IndexBrowse
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.dspace.browse.IndexBrowse.  Program will
exit.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/dspace/browse/ItemCounter
Caused by: java.lang.ClassNotFoundException: org.dspace.browse.ItemCounter
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.dspace.browse.ItemCounter.  Program will
exit.
Creating search index
Exception in thread "main" java.lang.NoClassDefFoundError:
org/dspace/search/DSIndexer
Caused by: java.lang.ClassNotFoundException: org.dspace.search.DSIndexer
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.dspace.search.DSIndexer.  Program will
exit.
*
So no matter what I do the java.lang.NoClassDefFoundError occurs so I think
I am doing something fundamentally wrong. Any ideas where I could be going
wrong. I am not sure if this is a very general questiona dn if you need
further information to help me out.

Thanks in advance.
Anita
--
Download Intel® 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ClassNotFoundException

2010-03-01 Thread Anita P
Thanks Claudia,
I think that was my problem. I was running the command from the source
directory. A newbie mistake :)
Thanks for the help.

Anita

2010/3/1 Claudia Jürgen 

> Hello Anita,
>
> are you sure you are running the commands from the DSpace installation
> directory not the source directory? The commands should be run from the
> installation directory.
>
> Hope that helps
>
> Claudia Jürgen
>
>
>
>
> Am 26.02.2010 19:05, schrieb Anita P:
>
>> Hello All,
>>
>> I am a newbie and have installed DSpace. I get the
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>
>> for anything i try to do. As an example I was executing hte filter-media
>>
>> * ./filter-media
>> Applying Media Filters
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/dspace/app/mediafilter/MediaFilterManager
>> Caused by: java.lang.ClassNotFoundException:
>> org.dspace.app.mediafilter.MediaFilterManager
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> Could not find the main class:
>> org.dspace.app.mediafilter.MediaFilterManager.  Program will exit.
>>
>>
>> *Next
>>
>> *./index-init
>> Creating browse index
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/dspace/browse/IndexBrowse
>> Caused by: java.lang.ClassNotFoundException: org.dspace.browse.IndexBrowse
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> Could not find the main class: org.dspace.browse.IndexBrowse.  Program
>> will
>> exit.
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/dspace/browse/ItemCounter
>> Caused by: java.lang.ClassNotFoundException: org.dspace.browse.ItemCounter
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> Could not find the main class: org.dspace.browse.ItemCounter.  Program
>> will
>> exit.
>> Creating search index
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/dspace/search/DSIndexer
>> Caused by: java.lang.ClassNotFoundException: org.dspace.search.DSIndexer
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>> Could not find the main class: org.dspace.search.DSIndexer.  Program will
>> exit.
>> *
>> So no matter what I do the java.lang.NoClassDefFoundError occurs so I
>> think
>> I am doing something fundamentally wrong. Any ideas where I could be going
>> wrong. I am not sure if this is a very general questiona dn if you need
>> further information to help me out.
>>
>> Thanks in advance.
>> Anita
>>
>>
>>
>>
>>
>> --
>> Download Intel® 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
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>
--
Download Intel® 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Manakin Installation

2010-03-01 Thread Anita P
Can anyone direct me to a working link for Manakin
installation/documentation. All google searches I goto do not have the
document, they just point me to a digital library at Texas A&M and searching
there library wont give me any documents related to Manakin installation.

Thanks
Anita
--
Download Intel® 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin Installation

2010-03-03 Thread Anita P
>
> Thanks for pointing out to the manual. For some weird reason I thought I
> had to install manakin separately.
>

The jspui portion works perfectly but when i try to access the xmlui portion
it gives me a the following error
 HTTP Status 404 - /xmlui/
--

*type* Status report

*message* */xmlui/*

*description* *The requested resource (/xmlui/) is not available.*
--
Apache Tomcat/5.5.26
I have dspace 1.5.2 installed. From what I understand, you really don't have
to make any modification for the basic page to show up. I understand that
there is more configuration of themes and everything else if you want to
customize it. But my understanding is that http://localhost:8080/jspui would
take you to jspui interface and http://localhost:8080/xmlui would take you
to the manakin interface. Am i understanding this wrong?? Do I need to make
any changes? My dspace.cfg looks like this

# DSpace installation directory
dspace.dir = /usr/local/dspace

# DSpace base URL.  Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# "/jspui" and set webapp of your choice as the "ROOT" webapp in
# the servlet engine.
dspace.url = http://localhost:8080/xmlui   (I did this to make sure xmlui is
the main interface)

# DSpace host name - should match base URL.  Do not include port number
dspace.hostname = localhost

# Name of the site
dspace.name = DSpace at My University

and so on...


I made links in  my tomcat/webapps link to /usr/local/dspace/webapps/jspui
and /usr/local/dspace/webapps/xmlui

Am I missing something?

Thanks,
Anita.
--
Download Intel® 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin Installation

2010-03-03 Thread Anita P
@ 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


but i still get the same error for xmlui. What puzzles me is how come jspui
works perfectly without any changes.

Anita



2010/3/3 Claudia Jürgen 

> Hello Anita,
>
> did you deploy the xmlui by either pointing tomcat to
> [dspace]/webapps/xmlui
> or by copying
> [dspace]/webapps/xmlui
> to
> [tomcat]/webapps
>
> ?
>
> Hope that helps
>
> Claudia Jürgen
>
>
>
>
--
Download Intel® 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin Installation

2010-03-03 Thread Anita P
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  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  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
>> > 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® 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin Installation

2010-03-04 Thread Anita P
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  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 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  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 ../
&

Re: [Dspace-tech] Manakin Installation

2010-03-05 Thread Anita P
Woooh 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 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 tags)
>
> 
> description="Path to DSpace config file" />
> 
>
>
> 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:digla...@gmail.com]
> *Sent:* Thursday, March 04, 2010 2:26 PM
> *To:* dspace-tech@lists.sourceforge.net
> *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  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-IN