Unfortunately I have followed all the instructions to the letter and things
are not well.

I can get my whole config to work but I can't get the perks I was really
looking forward to having.
1. I have to manually unzip .war files into the webapps directory
2. I can't have webapps work directly from the unpacked war files.

Ah well, I'll plod along the inconvenient way.  It must at this stage be a
bug in the porting of Tomcat to OpenVMS as I cannot see any config that
works.

Later,
Andoni.

----- Original Message -----
From: "David Brown" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 1:58 PM
Subject: Re: Host & Context - Unpacking of WARs


> Andoni writes:
>
> > unpackwars="false" should only mean that the app runs from the packed
.war
> > file, or so the Tomcat documentation seems to say.
> >
> > I do also have a web.xml but I don't see where this comes in to the
> > configuration of the <Host> elements?
> >
> > Andoni.
> > ----- Original Message -----
> > From: "David Brown" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 27, 2002 11:47 AM
> > Subject: Re: Host & Context - Unpacking of WARs
> >
> >
> >> Andoni writes:
> >>
> >> > Hello,
> >> >
> >> > I have two configurations: 1st one works 2nd doesn't. I want to get
the
> > 2nd
> >> > to work though as it stops .war files unpacking.  Can anyone tell me
how
> > to
> >> > make the 2nd one work?  The error I get is:
> >> >
> >> > Forbidden
> >> > You don't have permission to access / on this server.
> >> >
> >> > But I think that's coming from the Apache server so it isn't even
> > getting to
> >> > tomcat?
> >> >
> >> > Thanks,
> >> > Andoni.
> >> >
> >> >  <Host name="animo.andoni.[mydomain].ie" debug="0"
> >> >   appBase="webapps/animo"
> >> >   unpackWARs="true">
> >> >  <Alias>andoni.[mydomain].ie</Alias>
> >> >  <Context path=""
> >> >   docBase=""
> >> >   debug="0"
> >> >   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
> >> >   reloadable="false">
> >> >  </Context>
> >> >      </Host>
> >> >
> >> >  <Host name="animo.andoni.[mydomain].ie" debug="0"
> >> >   appBase="webapps/animo.war"
> >> >   unpackWARs="false">
> >> >  <Alias>andoni.[mydomain].ie</Alias>
> >> >  <Context path=""
> >> >   docBase=""
> >> >   debug="0"
> >> >   workDir="[disk_name]/apache/jakarta/tomcat/work/animo"
> >> >   reloadable="false">
> >> >  </Context>
> >> >  </Host>
> >> >
> >> >
> >> > --
> >> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >> >
> >>
> >>
> >>
> >> Hello Andoni, so did u look at ur httpd.conf directives: <directory...,
> >> <alias... etc? but tc is a web server too when requests r handed off
from
> >> apache. tc looks at "/" as docbase or appbase root so what u have in ur
> > war
> >> file becomes /<application_context> where <application_context> is the
web
> >> app u have defined 4 tc to unpack. i don't see how the web app can
execute
> >> if unpackWARS="false". r u defining a web.xml at all or r u only
> > interested
> >> in configuring server.xml? thanx, david.
> >>
> >> --
> >> To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >> For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >>
> >>
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
>
>
> Hello Andoni, for sake of experimentation or argument try a minimally
> uncommented server.xml and go w/ ur web.xml (below WEB-INF not
> $CATALINE_HOME/conf/web.xml). in fact this begs the question: WEB-INF is
> created when the .war file is unpacked. this is the whole beauty of .ear,
> .war, .jar techonoly namely one word: deployment. i have 4 domains running
> and a lot of servlets and jsp running over the range of tc services
running
> both http and https. i can make any number of reasonable changes, update
and
> redeploy w/o a user so much as noticing a hiccup. all of dev is more or
less
> directly from tc docs reflected in books, online how-to's and ml's such as
> this one. follow the instructions of these resource and u should succeed.
> that's my $0.02, david.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to