[Java lista] Tomcat és a symlinkek

Tamás Magyar magyusz at gmail.com
2008. Már. 26., Sze, 14:45:49 CET


Google szerint más is küzd ezzel:
"<DefaultContext allowLinking="true"/>
This is great because it now allows the symbolic links in all my contexts to
work without having to turn on allowLinking for each context explicitly.

The problem I have is if I use the tomcat manager app to stop and then start
a context, my symbolic links no longer work. (tomcat won't follow the
symbolic link when access from a URL)"


Szóval inkább a (sima) Context taget kéne erőltetni. Ha nem a
server.xml -ben van (úgy tűnik), akkor még lehet itt:

a webappodban (akár war / exploded war) a META-INF/context.xml -ben

<tomcat_home>\conf\Catalina\localhost\<webapp_neve>.xml


Magyusz

Mariák Kálmán <sirkalmi at gmail.com> írta, 2008.03.26.:
> Próbálkoztam a google-al csak nem jutottam beljebb vele egyelőre. :-(
>
>  Jó helyre tettem? Próbáltam aztán újraindítani a tomcat-et de nem használt
>  neki, továbbra is döglött linket jelez! :-( Hol lehet a kutya elásva?
>
>  <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true"
>  xmlValidation="false" xmlNamespaceAware="false">
>         <!-- SingleSignOn valve, share authentication between web applications
>              Documentation at: /docs/config/valve.html -->
>         <!--
>         <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
>         -->
>
>         <!-- Access log processes all example.
>              Documentation at: /docs/config/valve.html -->
>         <!--
>         <Valve className="org.apache.catalina.valves.AccessLogValve"
>  directory="logs" prefix="localhost_access_log." suffix=".txt"
>  pattern="common" resolveHosts="false"/>
>         -->
>         <DefaultContext allowLinking="true" />
>  </Host>
>
>  Wednesday 26 March 2008 dátummal Tamás Magyar ezt írta:
>
> > google a barátod
>  >
>  > in your server.xml or context description
>  > <Context ...... allowLinking="true">
>
>
>
> _______________________________________________
>  Javalist mailing list
>  Javalist at javagrund.hu
>  http://javagrund.hu/mailman/listinfo/javalist
>


További információk a(z) Javalist levelezőlistáról