You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ziborov Egor (JIRA)" <ji...@apache.org> on 2017/03/15 12:23:41 UTC
[jira] [Commented] (AXIS2-5680) Need abbility to customize tmp
directory
[ https://issues.apache.org/jira/browse/AXIS2-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926043#comment-15926043 ]
Ziborov Egor commented on AXIS2-5680:
-------------------------------------
this ticket helps to work around - AXIS2-3919
we set up custom directory to store temp files and clean it by cron job. Please review this ticket
> Need abbility to customize tmp directory
> ----------------------------------------
>
> Key: AXIS2-5680
> URL: https://issues.apache.org/jira/browse/AXIS2-5680
> Project: Axis2
> Issue Type: Improvement
> Components: kernel
> Affects Versions: 1.5.1
> Environment: WebLogic Server
> Reporter: Ziborov Egor
> Attachments: TempFileManager.java.patch
>
>
> When we use axis2 as part of complex solution we need to customize axis2 temp directory path. (for example, to cleanup axis2 files)
> Patch is in attach
> Previous version
> {code}
> System.getProperty("java.io.tmpdir")
> {code}
> Patch:
> {code}
> System.getProperty("axis2.io.tmpdir") != null ? System.getProperty("axis2.io.tmpdir") : System.getProperty("java.io.tmpdir")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org