Re: Basic Tomcatt5.5 Admin question
- From: Dancing Fingers <bcl122@xxxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 01:30:10 +0200
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
- References:
- Basic Tomcatt5.5 Admin question
- From: Dancing Fingers
- Re: Basic Tomcatt5.5 Admin question
- From: Nyizsnyik Ferenc
- Re: Basic Tomcatt5.5 Admin question
- From: Dancing Fingers
- Basic Tomcatt5.5 Admin question
- Prev by Date: Trying to get a network printer HP LaserJet (tm) 2100tn to print from debian
- Next by Date: Re: OT: Choice of OOo and LaTeX
- Previous by thread: Re: Basic Tomcatt5.5 Admin question
- Next by thread: Re: Basic Tomcatt5.5 Admin question
- Index(es):
Relevant Pages
|