Subject: Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages
From: "Matt Raible" <[EMAIL PROTECTED]>
 ===
I was able to get struts-example running just fine by expanding it in the
webapps directory.  I was just curious to why it didn't expand on it's own,
when my server.xml has this line:

<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">

"Irina Lishchenko" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am not sure whether my information can help you but just today I have
done
> similar action with upload.war from www.oreilly.com
>
> By the way I am running standalone tomcat 4.0.4 on SuSE Linux 7.3 (Apache
> 1.3.20)
>
> So I did everything in the next order:
> 1) Put upload.war to webapps folder
> 2) from the manager window made
>
http://localhost:8080/manager/install?path=/upload&war=jar:file:/path/to/upl
oad.war!/
> Here it has created folder with name "upload" itself and expanded file
> upload.war there
> 3) then I rebooted my tomcat and how it has been already said on this list
> the application upload has disappeared but folder upload with it's context
> remained in webapp
> 4) manually edited the server.xml file, add there something like
>         <Context path="/upload" crossContext="true" docBase="upload"
>              override="true" reloadable="true"
>              debug="3">
>         </Context>
> 5) rebooted TC and the application upload runs perfectly
>
> May be this can help you
> ilis
>
> On Tuesday 16 July 2002 16:18, you wrote:
> > I haven't been able to get that functionality to work myself :-(  I
> > think that's a long-standing TC "bug" you're running into.  Someone said
> > it would expand it when you created a folder for it, but I haven't even
> > seen that.  I'm glad you have webapps now thought ;-)
> >
> > Regards,
> >
> > Eddie
> >
> > Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:
> > >Subject: Re: Installing Tomcat 4.0.4 on Red Hat 7.3 with RPM packages
> >
> > From: "Matt Raible" <[EMAIL PROTECTED]>
> >
> > > ===
> > >Eddie,
> > >
> > >I got the webapps RPM and sure nough - all the examples work now.
> > > However, I dropped struts-example.war into the webapps directory, and
it
> > > doesn't get expanded.  The server.xml looks fine like it should expand
> > > wars by default.
> > >
> > >Any ideas?
> > >
> > >Thanks,
> > >
> > >Matt
>
> --
> 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