axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <t...@macromedia.com>
Subject RE: Attachment Destination - Default tmp filepath
Date Thu, 27 Mar 2003 18:41:49 GMT

+1

This sounds like a rational approach.

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Jens Schumann [mailto:jens@void.fm] 
Sent: Thursday, March 27, 2003 12:51 PM
To: axis-dev@ws.apache.org
Subject: Attachment Destination - Default tmp filepath

Right now axis assumes that context.getRealPath(...) returns a writeable
path for storing attachments and its server-config.wsdd. In production the
server-config isn't a problem, but for attachments we should use a different
default behavior:

1. Default location for attachments should be outside of the war archive, I
recommend System.getProperty("java.io.tmpdir").

2. A user may override this behavior in service-config.wsdd using <parameter
name="attachments.Directory" value="somedir"/>.

The Axis Runtime should not generate this service-config.wsdd entry, because
this removes the axis deployment destination independency. Just imagine that
you want to deploy your axis configuration with your .ear or .war and have
several deploy destinations (local testing per user, pre production,
production system).


Any comments?

Jens

Mime
View raw message