Tomcat (so TomEE) supports virtual webapp for this purpose:
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Virtual_webapp


Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-06-30 14:14 GMT+02:00 agumbrecht <[email protected]>:
> Hi,
>
> The easiest way is to create a link from within your application directory
> to the directory you want to write and assign permissions.
>
> If that's not possible then basically you are going to have to give the
> user/group that runs the TomEE process full access to the directory that you
> want to access (/home/joe/mydirfiles) using chown and chmod commands.
>
> See here: https://help.ubuntu.com/community/FilePermissions
>
> Andy.
>
>
>
> -----
>     --
>     Andy Gumbrecht
>
>     http://www.tomitribe.com
>     [email protected]
>     https://twitter.com/AndyGeeDe
>
>     TomEE treibt Tomitribe ! | http://tomee.apache.org
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/permis-for-get-image-or-files-outside-tomer-but-inyo-another-dir-from-servlet-tp4670236p4670248.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to