tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander E Genaud" ...@pobox.com>
Subject Re: Context.xml
Date Wed, 19 Apr 2006 14:12:46 GMT
Redux,

Note that I can use the admin/deployer and reference my test.xml
Context fragment, and that works. But I hope to live deploy using the
Context fragment only (no clicking). Is this not possible?

I can stop the server and create a file in conf/Catalina/HOSTNAME to
achieve what I am looking for, but have not seen this mentioned in the
documentation so I am leary about this technique.

Thus:

CATALINA_HOME/webapps/a.xml

<Context
path="/b"
docBase="C:\c"
debug="0" />

after deploying creates:

CATALINA_BASE/conf/Catalina/localhost/b.xml

which can be modified for the next restart

b.xml points to C:\c

and I can see the contents at http://localhost/b

Cheers,
Alex


On 4/19/06, Alexander E Genaud <lx@pobox.com> wrote:
> Hello,
>
> I am having trouble deploying a webapp residing outside of the webapps
> directory. I've added deployXML="true" to <Host /> in an otherwise
> standard conf/server.xml on Windows XP with Tomcat 5.0 and 5.5. I've
> created a file called test.xml in webapps:
>
> <Context
>   path="/test" docBase="C:\mydir" debug="0">
> </Context>
>
> *with and without the ResourceLink found in the documentation.
>
> Restarting the server seems to have no effect. I see nothing in the
> log that indicates either SUCCESS nor FAILURE. Any suggestions?
>
> Thanks,
> Alex
> --
> CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1
>


--
Alex
--
What is the All? Simply the eye & forms, ear & sounds, nose & aromas,
tongue & flavors, body & tactile sensations, intellect & ideas. This,
monks, is called the All. Anyone who would say, 'Repudiating this All,
I will describe another,' if questioned on what exactly might be the
grounds for his statement, would be unable to explain, and
furthermore, would be put to grief. Why? Because it lies beyond range.
SN XXXV.23
--
CCC7 D19D D107 F079 2F3D BF97 8443 DB5A 6DB8 9CE1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message