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 Jens Schumann <je...@void.fm> on 2003/03/27 18:51:20 UTC

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