Hi dan!

I did add these lines: 

TOMCAT_USER=dspace
JDK_DIRS="/usr/lib/jvm/java-6-sun-1.6.0.00"
TOMCAT5_SECURITY=no

When start top it still says java is running under user tomcat
I don't see a tomcat5 application there

I tried to start the tomcat is dspace user(logged in as dspace) but it says I 
have to be root

Any other suggestions?


-----Ursprüngliche Nachricht-----
Von: Dan Scott [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 12. Juli 2007 15:15
An: Felix Mayerhofer
Cc: dspace-tech@lists.sourceforge.net
Betreff: Re: [Dspace-tech] WG: newbie question

Hi Felix:

Okay, so 99% of the files in /var/lib/tomcat5/* and
/var/cache/tomcat5/* are owned by the dspace user  -- that's good --
but you're still running tomcat as the tomcat5 user, so tomcat can't
actually read the files -- that's bad. As I pointed out in my previous
email, it sounds like you haven't followed step 13 of the wiki
(http://wiki.dspace.org/index.php/Installing_DSpace_on_Ubuntu_6.06_%28LTS%29):

#  Append the following lines to /etc/default/tomcat5 to set the
preferences necessary for dspace:

TOMCAT5_USER=dspace
JDK_DIRS="/usr/lib/jvm/java-1.5.0-sun"
TOMCAT5_SECURITY=no

Please make these changes, stop tomcat, start tomcat, and try again :)

Dan

On 12/07/07, Felix Mayerhofer <[EMAIL PROTECTED]> wrote:
> Hi again, sorry for the delay, here's the output:
>
> ps wuax | grep tomcat :
>
> tomcat5  28146  0.0  0.1   3728  1188 ?        S    10:15   0:00 su -p -s 
> /bin/sh tomcat5 -c /usr/sbin/rotatelogs 
> "/var/lib/tomcat5/logs/catalina_%F.log" 86400
> tomcat5  28148  0.0  0.1   6228  1536 ?        S    10:15   0:00 
> /usr/sbin/rotatelogs /var/lib/tomcat5/logs/catalina_%F.log 86400
> tomcat5  28155  0.0  3.8 258584 30092 ?        Sl   10:15   0:11 
> /usr/lib/jvm/java-6-sun-1.6.0.00/bin/java -Djava.awt.headless=true -Xmx128M 
> -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath 
> /usr/lib/jvm/java-6-sun-1.6.0.00/lib/tools.jar:/usr/share/tomcat5/bin/commons-launcher.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/tomcat5/bin/jmx.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre//lib/jcert.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre//lib/jnet.jar:/usr/lib/jvm/java-6-sun-1.6.0.00/jre//lib/jsse.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar
>  -Dcatalina.base=/var/lib/tomcat5 -Dcatalina.home=/usr/share/tomcat5 
> -Djava.io.tmpdir=/var/lib/tomcat5/temp org.apache.catalina.startup.Bootstrap 
> start

> root     10791  0.0  0.1   2920   808 pts/3    R+   20:14   0:00 grep tomcat
>
>
> I put the ls commands in the 2 textfiles, cause the output is just too big.
> Thanks again for the help!!!
>
> greetz
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Dan Scott [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 11. Juli 2007 19:24
> An: Felix Mayerhofer
> Cc: dspace-tech@lists.sourceforge.net
> Betreff: Re: [Dspace-tech] WG: newbie question
>
> Hi Felix:
>
> I wrote the Ubuntu install instructions and have confirmed with other
> people that they work, if followed step by step.
>
> If tomcat is running under the tomcat5 user, then you must have missed
> step 8 (the second step 8; I wasn't able to figure out how to get
> mediawiki to continue numbering, unfortunately).
>
> Assuming that making those changes, stopping, and restarting tomcat5
> service doesn't resolve the problem, It might help us help you if you
> could send the results of the following commands
>
> $ ps wuax | grep tomcat
> $ ls -lR /var/lib/tomcat5
> $ ls -lR /var/cache/tomcat5
>
> Thanks,
> Dan
>
> On 11/07/07, Felix Mayerhofer <[EMAIL PROTECTED]> wrote:
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Felix Mayerhofer
> > Gesendet: Mittwoch, 11. Juli 2007 13:40
> > An: 'Graham Triggs'
> > Betreff: AW: [Dspace-tech] newbie question
> >
> > Tomcat5 is running at user tomcat5
> >
> > Still no change, same error, any other ideas?
> >
> > Thanks for the help!
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Graham Triggs [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 11. Juli 2007 12:37
> > An: Felix Mayerhofer
> > Cc: dspace-tech@lists.sourceforge.net
> > Betreff: Re: [Dspace-tech] newbie question
> >
> > You changed the user that Tomcat is being launched as, right? ;)
> >
> > If so, then the '/var/lib/tomcat5/work' folder will still have the old
> > tomcat5:root permissions. You will need to 'chown -hR' it for Tomcat to
> > be able to compile the JSP files.
> >
> > G
> >
> > On Wed, 2007-07-11 at 10:44 +0200, Felix Mayerhofer wrote:
> > > Hi all!
> > >
> > >
> > >
> > > I just got through the turorial "Installing Dspace on ubuntu 6.06"
> > >
> > >
> > >
> > > Everything worked fine so far but when I try to start the web
> > > interface I get an internal server error:
> > >
> > >
> > >
> > > HTTP Status 500 -
> > >
> > >
> > > ______________________________________________________________________
> > > typeException report
> > >
> > > message
> > >
> > > description The server encountered an internal error () that prevented
> > > it from fulfilling this request.
> > >
> > > exception
> > >
> > > java.io.FileNotFoundException: 
> > > /var/lib/tomcat5/work/Catalina/localhost/dspace/org/apache/jsp/index_jsp.java
> > >  (No such file or directory)
> > >
> > >         java.io.FileOutputStream.open(Native Method)
> > >
> > >         java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> > >
> > >         java.io.FileOutputStream.<init>(FileOutputStream.java:70)
> > >
> > >
> > > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:188)
> > >
> > >         org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
> > >
> > >         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
> > >
> > >         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
> > >
> > >
> > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
> > >
> > >
> > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
> > >
> > >
> > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> > >
> > >
> > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> > >
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > >
> > > note The full stack trace of the root cause is available in the Apache
> > > Tomcat/5.0 logs.
> > >
> > >
> > > ______________________________________________________________________
> > > Apache Tomcat/5.0
> > >
> > >
> > >
> > >
> > >
> > > The directory org/apache/jsp/ doesn't exist on my server, what did I
> > > do wrong?
> > >
> > >
> > >
> > >
> > >
> > > Greetz from Austria
> > >
> > > Felix Mayerhofer
> > >
> > >
> > > -------------------------------------------------------------------------
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > _______________________________________________ DSpace-tech mailing list 
> > > DSpace-tech@lists.sourceforge.net 
> > > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> > This e-mail is confidential and should not be used by anyone who is not the 
> > original intended recipient. BioMed Central Limited does not accept 
> > liability for any statements made which are clearly the sender's own and 
> > not expressly made on behalf of BioMed Central Limited. No contracts may be 
> > concluded on behalf of BioMed Central Limited by means of e-mail 
> > communication. BioMed Central Limited Registered in England and Wales with 
> > registered number 3680030 Registered Office Middlesex House, 34-42 
> > Cleveland Street, London W1T 4LB
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
>
>
> --
> Dan Scott
> Laurentian University
>
>


-- 
Dan Scott
Laurentian University

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to