Re: Basic Tomcatt5.5 Admin question



On Sep 21, 2:00 pm, Dancing Fingers <bcl...@xxxxxxxxxxxx> wrote:
Thanks. This helps a lot. I also tried
chown -R www-data /usr/share/tomcat5.5-webapps
without much luck.

Cchris
On Sep 21, 1:10 pm, Nyizsnyik Ferenc <nyi...@xxxxxxxxxxxxxx> wrote:



On Fri, 21 Sep 2007 07:42:59 -0700

Dancing Fingers <bcl...@xxxxxxxxxxxx> wrote:
Hi guys,
I finally got Tomcat5.5 going on Etch AMD and I start studying the
JSP developers guide but I get stuck in the beginning. The book
says to create a new directory under ROOT but I don't have
permission in my default account. The last install I did a
chgrp / user/share/tomcat5.5-webapps/ROOT www-data but I screwed the
package up so bad that I re-installed the system. Could anyone
tell me how the is typically done?
Thanks.
Chris

I use the "user web applications", I think it is a better approach for
learning stuff. I put the following in /etc/tomcat5.5/server.xml, in
the <host> section:

<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>

<Context path="/~nyizsa/jsp"
docBase="/home/nyizsa/public_html/jsp" debug="0"> </Context>

My pages can be reached ashttp://localhost:8180/~nyizsa/jsp/, and they
are actually located in /home/nyizsa/public_html/jsp.

You may find more useful information athttp://localhost:8180/tomcat-docs/

--
Szia:
Nyizsa.

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.http://www.bluebottle.com/tag/1

--
To UNSUBSCRIBE, email to debian-user-REQU...@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmas...@xxxxxxxxxxxxxxxx

--
To UNSUBSCRIBE, email to debian-user-REQU...@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmas...@xxxxxxxxxxxxxxxx

I tried


<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">

<Listener className="org.apache.catalina.startup.UserConfig"
directoryName="public_html"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>
<Context path="/batymahn/chapter1"
docBase="/home/batymahn/public_html/chapter1" debug="0"> </
Context>
</Host>

Without luck. i also tried

<Host name="mi-garage" appBase="file:/var/www/mi-garage"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<context path="mi-garage" docBase="file:/var/www/mi-garage"
debug="0" reloadable="true"/>-->
<!--<alias>mi-garage.zapto.org</alias>-->
<!--<valve className="org.apache.catalina.valves.AccessLogValve"
directory="/var/log/tomcat5.5/mi-garage" prefix="access_log."
suffix=".txt" pattern="common" resolveHosts="false"/>

</Host>
Still can't get it... Do I need to use the manager tool? My admin
tool doesn't work although apt-get says that it's installed.
It doesn't even seem to log so can't trouble shoot.
Thanks.
Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
..


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
..


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: phpmyadmin
    ... I just don't really understand what is going on as the same server will serve up other php pages, but phpmyadmin seems only able to serve html pages. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • Re: _some_ DVDs wont play
    ... the DVD makes xine crash. ... No trouble playing almost all other DVDs. ... A borrowed set of LOTR discs will play on all machines. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: The "Oh, No..." error when gdm is trying to start
    ... with the error message that shows a picture of a sad ... and work from there until you correct the problem that makes gnome-shell ... The trouble is before that. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How do you grow brocolli?
    ... People having trouble with vz bouncing email to me should add the word ... Copyright 2006 by Maurice Eugene Heskett, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Problem with kdvi font rendering after sarge-->etch upgrade
    ... I have no trouble opening these doucments on my ... Do You Yahoo!? ... Mail has the best spam protection around ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)