The original $CATALINA_HOME/webapps works fine, yes, but nothing will work
outside of that, so I'm just looking for the steps (and files I need to
edit) to have my own webapps work outside of $CATALINA_HOME/webapps.
That's all - it's quite simple, really. C:\Inetpub\wwwroot is just a
sample path on my Windows box, so how would I get Tomcat to also work on
files in there, not just $CATALINA_HOME/webapps? The CONTEXT tag below is
one sample of what I've tried (in server.xml), but it does *not* work. I
have also edited uriworkermap.properties, but when I do that, Tomcat says
it can't find any resources in that location, so the issue is how to
setup another web applications area/folder/directory properly,
step-by-step, file-by-file. It seems it shouldn't take more than 5 steps
at most, no?
If it helps, recall that I have setup Tomcat, jk_1.2.8 and my web server
up out of the box and they work just fine with the stock usage and I can
run jsp-examples, BUT I now want to *add* another location besides
$CATALINA_HOME/webapps and have jsp files and servlets work in there as
well, and that location could be (for example's sake) C:\Inetpub\wwwroot
(and anywhere below).
You threw me off when you mentioned $CATALINA_HOME/Catalina/<host>/<some
file>, b/c I *do* have $CATALINA_HOME/localhost/manager.xml, but am
completely clueless as to what that file has to do with server.xml. You
say I have to delete it to have any of my changes in server.xml to
actually take? That's the clarification I was looking for, but if I can
address the original issue above (whether it includes this as part of it
ot not) then that'd be the solution with which I'm struggling.
Thanks,
-Matt
On Tue, 22 Feb 2005, Michael Greer wrote:
> Ah, I see the problem ! It is working fine, and following your config:
> >>> <CONTEXT path="" docbase="C:/Inetpub/wwwroot/MYwebapps" debug="0"
> >>> reloadable="true" />
>
> The "path" says how to access the context (ie, the URL path from the
> root of the serv).
>
> Maybe I'm wrong. I can't keep track of what works and does not in your
> issue. If you can reach the apps at the "old" address, then the docbase
> property works.
>
> On Feb 22, 2005, at 2:55 PM, Matt wrote:
>
> > There is a folder called "localhost" and in there is "manager.xml"
> > Do I destroy this folder and file? SOmeone had mentioned adding a
> > site.xml file in there, and I didn;t see anything in the docs re: this
> > in
> > terms of adding contexts?
> >
> > Thanks for clarifying,
> > -Matt
Matthew Kozak
Rutgers University-Camden
[EMAIL PROTECTED]
**************************************************************************
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -Ben Franklin
**************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]