tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kehoe" <>
Subject installing with web app mgr, failing on getRealPath("")
Date Tue, 13 Aug 2002 05:12:44 GMT
When i install my app as an exploded war file in webapps it runs fine
but when I install it using Tomcat Web Application Manager it fails on

What's the deal? I want to set a path to a log file by obtaining the
app realpath and then subtracting "/webapps/" and substituting
"/logs/". Is there a better way to do that?


On Tue, 13 Aug 2002 03:25:30 UT, "Daniel Kehoe" <>
> > Here's how to install a web app using the Tomcat Web Application
> > Manager.... After trial and error, here's what works for files in a local Windows
> > file system:
> > Path: "/crossbar"
> Config URL: "file:///C:/Projects/Crossbar/dist/crossbar.xml"
> WAR URL: "file:///C:/Projects/Crossbar/dist/crossbar.war"
> > 
> > The "Path" is the context name you want for the web app, like
> > http://localhost:8080/crossbar/.
> > 
> > The "Config URL" is a path to a file that contains the parameters you
> > would otherwise add to the server.xml file (or add to the webapps
> > directory as a file "crossbar.xml" under the new TC4.1 scheme).
> > 
> > The "WAR URL" is the path to the war file. 
> It COULD begin with "jar:file://" and end with "!/" but it doesn't have
> to.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message