Symbolic links are disabled in 4.1.12.  The workaround is to use a tag in
server.xml, though I believe the workaround is broken in .12 and .13.
Search the archives, this comes up quite a bit (like every day).  We don't
use symlinks, so I can't tell you specifically what the workaround is.

John


> -----Original Message-----
> From: Eugene Gluzberg [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 20, 2002 11:26 PM
> To: Tomcat Users List
> Subject: symbolic links in 4.1.12
> 
> 
> Was ... Re: problem with Classloader and symbolic links in 4.1.12
> 
> ok, i installed ant and am now putting classes in the right places.
> 
> However, it seems that images and plain html files wont load through 
> symbolic links either. There must be a setting somewhere for this!
> 
> Jon Eaves wrote:
> >  >
> >  > it would make my life so much easier since I am trying 
> to develop an app
> >  > with thousands of classes and hundreds of packages, 
> modifying my build
> >  > system to send all the classes to the tomcat dir would 
> be a hassle.
> > 
> > The simplest way is to setup the context so that it points to your
> > development environment.
> > 
> > There is plenty of great examples of exactly how to do this here:
> > 
> > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
> > 
> > ** Which everybody who is developing web applications really should
> > read. **
> > 
> > The context element should end up looking something like this:
> > 
> > <Context
> >      path="/myapp"
> >      docBase="/full/path/to/my/build"
> >      reloadable="true"
> >      debug="99" >
> > 
> >      <Loader
> >          className="org.apache.catalina.loader.WebappLoader"
> >          debug="0"
> >          loaderClass="org.apache.catalina.loader.WebappClassLoader"
> >          checkInterval="1"
> >          reloadable="true"
> >          delegate="false"/>
> > 
> >      <Logger
> >          className="org.apache.catalina.logger.FileLogger"
> >          prefix="myapp_log" suffix=".txt"
> >          debug="99"
> >          timestamp="true" />
> > 
> > </Context>
> > 
> > With the Loader element included, once the configuration is
> > done once, you can just recompile your application directly
> > into /full/path/to/my/build/WEB-INF/classes and it will update
> > the classes nicely.
> > 
> > Cheers,
> >     -- jon
> > 
> > 
> 
> 
> --
> 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