tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul miller <paul_n_mil...@yahoo.com>
Subject Re: tomcat4.1.12 failed to deploy context not under webapp directory
Date Thu, 10 Oct 2002 20:25:29 GMT

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" <xliu@CapitalThinking.com> 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
Paul_N_Miller@yahoo.com



__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message