You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Jochen Zink <jo...@web.de> on 2007/04/02 12:27:29 UTC

[Axis2] Filecaching with servlet specification temporary dir?

Hello,

At the moment, for large attachments is it possible to cache the attachment in a specific dir, configured in axis2.xml. But this can run into problems, if the security configuration of the applicationserver does not allow writing directly to hard disk. For this case, there exists a tempdirectory since servlet spec 2.2. Every Servletcontainer has to provide a temp directory to the servlet, where they can store tempory files. To get access to this directory, the servlet has to read out the javax.servlet.context.tempdir variable.

Is there a possibility to configure axis2, that this directory is used for filecaching?

Thanks for help!

_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Filecaching with servlet specification temporary dir?

Posted by Davanum Srinivas <da...@gmail.com>.
Jochen,

that's a good idea. Please create a JIRA enchancement issue.

-- dims

On 4/2/07, Jochen Zink <jo...@web.de> wrote:
> Hello,
>
> At the moment, for large attachments is it possible to cache the attachment in a specific dir, configured in axis2.xml. But this can run into problems, if the security configuration of the applicationserver does not allow writing directly to hard disk. For this case, there exists a tempdirectory since servlet spec 2.2. Every Servletcontainer has to provide a temp directory to the servlet, where they can store tempory files. To get access to this directory, the servlet has to read out the javax.servlet.context.tempdir variable.
>
> Is there a possibility to configure axis2, that this directory is used for filecaching?
>
> Thanks for help!
>
> _______________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org