You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Lanigan, Ronan" <Ro...@ie.fid-intl.com> on 2003/08/13 11:30:28 UTC

What is the attachments.Directory for?

Hi,

I have developed a number of Web Services and I have deployed them
successfully on a WebSphere server. However, after deploying I noticed that
a directory had been created with a structure of
C:\WSAD403\workspace\avews\webApplication\WEB-INF\attachments. (It is
deployed in a linux environment so it was obvious something was up). I knew
that there were no hard coded paths in my application so I was confused.
Then I came across this line in my server-config.wsdd

<parameter name="attachments.Directory"
value="C:\WSAD403\workspace\avews\webApplication\WEB-INF\attachments"/>

This is the only place where a full path is specified and I don't want it
this way. There is nothing in this folder anyway so I'm wondering is it safe
to just delete this from the server-config? If not, could I change it from
what is is now to something less specific (I want something that will work
in every environment).

Hopefully I am making some sense.

Thanks,

Ronan





Re: What is the attachments.Directory for?

Posted by Stuart Barlow <sb...@peopledoc.com>.
Yup, I didn't like that path either.

Lanigan, Ronan wrote:
> Hi,
> 
> I have developed a number of Web Services and I have deployed them
> successfully on a WebSphere server. However, after deploying I noticed that
> a directory had been created with a structure of
> C:\WSAD403\workspace\avews\webApplication\WEB-INF\attachments. (It is
> deployed in a linux environment so it was obvious something was up). I knew
> that there were no hard coded paths in my application so I was confused.
> Then I came across this line in my server-config.wsdd
> 
> <parameter name="attachments.Directory"
> value="C:\WSAD403\workspace\avews\webApplication\WEB-INF\attachments"/>
> 
> This is the only place where a full path is specified and I don't want it
> this way. There is nothing in this folder anyway so I'm wondering is it safe
> to just delete this from the server-config? If not, could I change it from
> what is is now to something less specific (I want something that will work
> in every environment).
> 
> Hopefully I am making some sense.
> 
> Thanks,
> 
> Ronan
> 
> 
> 
> 
>