DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13519>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13519 tomcat4.1.12 failed to deploy context not under webapp directory with 'allowLinking' enabled ------- Additional Comments From [EMAIL PROTECTED] 2002-10-22 19:29 ------- I've tracked down this problem to be from o.a.c.core.CatainerBase.java. When there is a 'Resources' definition inside 'Context', the 'parent' container of this container is not properly setup, which affects loading of jars later in ContextConfig.java. In 'setResources(), 'env' only has 'CONTEXT', no 'HOST' information. Can someone help me to further solve this problem, and how to cascade the 'allowLinking' property from top container down to resources? Thanks. Previously posted messages are attached below. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am having the same issue. It looks as though the "allowLinking" option breaks things. When I use the below server.xml section <Context path="/foo" docBase="foo" debug="0" reloadable="true" crossContext="false"> </Context> The apache_log.YYYY-MM-DD.txt shows no errors ditto on the catalina_log.YYYY-MM-DD.txt But when I add the allowLinking option... <Context path="/foo" docBase="foo" debug="0" reloadable="true" crossContext="false"> <Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" caseSensitive="false" docBase="" /> </Context> I see the below error 2002-10-10 16:11:34 ContextConfig[/foo] Exception processing JAR at resource path /WEB-INF/lib/mm.mysql-2.0.14-bin.jar I using tomcat4-4.1.12-full.1jpp installed via rpm thanks paul --- "Liu, Xiaoyan" <[EMAIL PROTECTED]> wrote: > Hi, all, > > I'm upgrading from 4.1.9 to 4.1.12 and noticed that a previously working > application > is not successfully loaded. It fails at the part of scanning tld files. > > The context is defined in server.xml as below. THis context does not live > under > CATALINA_HOME/webapp, and it has resources(jsp pages) symlinked under it. > > <Context path="/app" > docBase="/home/xliu/JSPApplication/pages" > crossContext="false" > debug="3" > reloadable="true" > > <Resources className="org.apache.naming.resources.FileDirContext" > allowLinking="true" docBase="/home/xliu/JSPApplication/pages" /> > </Context> > > > The log is attached. Is this a bug or rather some changes involving > security? > > thanks for your help. > > > xliu > capitalthinking.com > ===== Paul N Miller [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>