axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Schumann <>
Subject Attachment Destination - Default tmp filepath
Date Thu, 27 Mar 2003 17:51:20 GMT
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("").

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?


View raw message