Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61936CF8B for ; Wed, 30 May 2012 14:00:46 +0000 (UTC) Received: (qmail 92497 invoked by uid 500); 30 May 2012 14:00:45 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 92383 invoked by uid 500); 30 May 2012 14:00:45 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Delivered-To: moderator for users@cxf.apache.org Received: (qmail 72101 invoked by uid 99); 30 May 2012 13:52:19 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of mohamed87_thewonderful@hotmail.com does not designate 216.139.236.26 as permitted sender) Date: Wed, 30 May 2012 06:51:53 -0700 (PDT) From: cxf-fan To: users@cxf.apache.org Message-ID: <1338385913506-5708829.post@n5.nabble.com> In-Reply-To: <1338385474064-5708825.post@n5.nabble.com> References: <1337955493534-5708559.post@n5.nabble.com> <1338286380860-5708707.post@n5.nabble.com> <4FC4C336.107@gmail.com> <1338385474064-5708825.post@n5.nabble.com> Subject: Re: [MTOM] Setting client temporary directory for MTOM attachments in CXF MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Finally i found the solution : System.setProperty("org.apache.cxf.io.CachedOutputStream.OutputDirectory", "D:\\"); //this works i dont know why using -/Dproperty / didnt work , at least this will help someone else. Thanks again -- View this message in context: http://cxf.547215.n5.nabble.com/MTOM-Setting-client-temporary-directory-for-MTOM-attachments-in-CXF-tp5708559p5708829.html Sent from the cxf-user mailing list archive at Nabble.com.