tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Holloway" <jonathan.hollo...@gmail.com>
Subject Re: AntiResourceLocking Side Effect
Date Fri, 19 Sep 2008 02:05:28 GMT
I can't say I have seen this issue having not deployed on AIX.  This problem
was specifically
on Windows and Linux (the actual side effect I saw).

It doesn't sound like it's permissions based since the files you mention are
actually created.
If you're starting tomcat via the sh file under AIX try starting it with the
-x flag and see if it gives
you any clues as to whether it's not starting.

Hope that helps,
Jon.

2008/9/18 Vikas Sharma <sharmavikas@rediffmail.com>

>
> Hi Jonathan,
>
> I also used antiResourceLocking flag in context.xml.  Once the flag is set
> to true, Tomcat starts exploding web application in temp directory. It
> works
> well for me in Linux and Windows environment, but in AIX, I cannot even
> start tomcat with antiResourceLocking flag set to true.
>
> When I saw the my application folder in temp, I saw all files were of zero
> bytes. And in the catalina logs I see it gives SAX parse exception. Well
> since all files including web.xml is of 0 bytes, then tomcat cannot start.
>
> Have you noticed this problem. I am using tomcat 6.018.
>
> Thanks,
>
> Vikas Sharma
>
> Jonathan Holloway wrote:
> >
> > Hi all,
> >
> > Just a quick introduction, I'm Jonathan Holloway, I recently became a
> > contributer with Apache.
> > I've been using Java and Apache software since 1998 or so... : )
> >
> > I really wanted to get an understanding on an issue that's in the Apache
> > documentation regarding
> > antiResourceLocking which is set on the Context element.  The bug is
> here:
> >
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=37668
> >
> > The side effect of setting this is that JSP's or in our case Velocity
> > templates are not reloaded.  This
> > is a bit of pain for development, but is required for production on a
> > Windows server (I'm told).
> >
> > Is this considered a bug still and does it need a fix proposed, or is it
> > an
> > accepted side effect?  We've
> > solved this by substituting the value into our context.xml file for
> > production..
> >
> > I'd also like to know the best way to get started with becoming a Tomcat
> > contributor, could I possibly
> > help out by doing some documentation work for now?  If you need any help
> > here then please let me know.
> >
> > Many thanks,
> > Jon.
> >
> > --
> > Web: http://www.jonathanholloway.co.uk
> > Mail: jonathan.holloway@gmail.com
> > IM: jonathan_philip_holloway@hotmail.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AntiResourceLocking-Side-Effect-tp18618364p19564995.html
> Sent from the Tomcat - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


-- 
Web: http://www.jonathanholloway.co.uk
Mail: jonathan.holloway@gmail.com
IM: jonathan_philip_holloway@hotmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message