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 Ferruh Zamangoer <fe...@gmx.de> on 2005/08/18 18:24:59 UTC

Attachments/ Locked files?

Hi, 

 

we are using AXIS WS to send some MP3 files to an server where we register
these files. The problem which occurred in our scenario is that after we
have send the file we want to delete the local file on the filesystem. But
we can't delete the file because anything references or blocks the file. We
have localized that the problem occurs in the part after the webservice
call. For sending our file as attachment we use the following code lines.

 

DataHandler contentHandler =

                    new DataHandler(

                        new FileDataSource(

                            contentInfo.getValueByName(

                                AudioFileInfo.PATH_ENTRY)));

 

 

 

Does anybody have the same problem in informer Time? How can we solve this
problem. I'am not sure but I think that the error occurs in axis, because
any Stream or reference is not unlocked? 

 

Can anybody help? 

 

Thanks for any help in advance.

 

 

Regards

 

Ferruh


AW: AW: Attachments/ Locked files?

Posted by Ferruh Zamangoer <fe...@gmx.de>.
Thanks I have found it.

-----Ursprüngliche Nachricht-----
Von: csj [mailto:johnsocs@clarkson.edu] 
Gesendet: Freitag, 19. August 2005 13:57
An: axis-user@ws.apache.org
Cc: dims@apache.org
Betreff: Re: AW: Attachments/ Locked files?

Ferruh -

You can find the answers to several of your questions on the Axis website.

See: http://ws.apache.org/axis/bugs.html

Thanks
..Chris



On Fri, 19 Aug 2005, Ferruh Zamangoer wrote:

> Hello Davanum,
>
> first sorry for the cross post. Second where can I report the bug and when
> does the bug will be solved?
>
> Regards
> Ferruh
>
> -----Ursprüngliche Nachricht-----
> Von: Davanum Srinivas [mailto:davanum@gmail.com]
> Gesendet: Donnerstag, 18. August 2005 22:48
> An: axis-user@ws.apache.org
> Cc: axis-dev@ws.apache.org
> Betreff: Re: Attachments/ Locked files?
>
> Please log a bug AND Please don't cross post.
>
> -- dims
>
> On 8/18/05, Ferruh Zamangoer <fe...@gmx.de> wrote:
> >
> >
> >
> > Hi,
> >
> >
> >
> > we are using AXIS WS to send some MP3 files to an server where we
register
> > these files. The problem which occurred in our scenario is that after we
> > have send the file we want to delete the local file on the filesystem.
But
> > we can't delete the file because anything references or blocks the file.
> We
> > have localized that the problem occurs in the part after the webservice
> > call. For sending our file as attachment we use the following code
lines.
> >
> >
> >
> > DataHandler contentHandler =
> >
> >                     new DataHandler(
> >
> >                         new FileDataSource(
> >
> >                             contentInfo.getValueByName(
> >
> >                                 AudioFileInfo.PATH_ENTRY)));
> >
> >
> >
> >
> >
> >
> >
> > Does anybody have the same problem in informer Time? How can we solve
this
> > problem. I'am not sure but I think that the error occurs in axis,
because
> > any Stream or reference is not unlocked?
> >
> >
> >
> > Can anybody help?
> >
> >
> >
> > Thanks for any help in advance.
> >
> >
> >
> >
> >
> > Regards
> >
> >
> >
> > Ferruh
>
>
> --
> Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
>
>


Re: AW: Attachments/ Locked files?

Posted by csj <jo...@clarkson.edu>.
Ferruh -

You can find the answers to several of your questions on the Axis website.

See: http://ws.apache.org/axis/bugs.html

Thanks
..Chris



On Fri, 19 Aug 2005, Ferruh Zamangoer wrote:

> Hello Davanum,
>
> first sorry for the cross post. Second where can I report the bug and when
> does the bug will be solved?
>
> Regards
> Ferruh
>
> -----Ursprüngliche Nachricht-----
> Von: Davanum Srinivas [mailto:davanum@gmail.com]
> Gesendet: Donnerstag, 18. August 2005 22:48
> An: axis-user@ws.apache.org
> Cc: axis-dev@ws.apache.org
> Betreff: Re: Attachments/ Locked files?
>
> Please log a bug AND Please don't cross post.
>
> -- dims
>
> On 8/18/05, Ferruh Zamangoer <fe...@gmx.de> wrote:
> >
> >
> >
> > Hi,
> >
> >
> >
> > we are using AXIS WS to send some MP3 files to an server where we register
> > these files. The problem which occurred in our scenario is that after we
> > have send the file we want to delete the local file on the filesystem. But
> > we can't delete the file because anything references or blocks the file.
> We
> > have localized that the problem occurs in the part after the webservice
> > call. For sending our file as attachment we use the following code lines.
> >
> >
> >
> > DataHandler contentHandler =
> >
> >                     new DataHandler(
> >
> >                         new FileDataSource(
> >
> >                             contentInfo.getValueByName(
> >
> >                                 AudioFileInfo.PATH_ENTRY)));
> >
> >
> >
> >
> >
> >
> >
> > Does anybody have the same problem in informer Time? How can we solve this
> > problem. I'am not sure but I think that the error occurs in axis, because
> > any Stream or reference is not unlocked?
> >
> >
> >
> > Can anybody help?
> >
> >
> >
> > Thanks for any help in advance.
> >
> >
> >
> >
> >
> > Regards
> >
> >
> >
> > Ferruh
>
>
> --
> Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
>
>

AW: Attachments/ Locked files?

Posted by Ferruh Zamangoer <fe...@gmx.de>.
Hello Davanum,

first sorry for the cross post. Second where can I report the bug and when
does the bug will be solved? 

Regards
Ferruh

-----Ursprüngliche Nachricht-----
Von: Davanum Srinivas [mailto:davanum@gmail.com] 
Gesendet: Donnerstag, 18. August 2005 22:48
An: axis-user@ws.apache.org
Cc: axis-dev@ws.apache.org
Betreff: Re: Attachments/ Locked files?

Please log a bug AND Please don't cross post.

-- dims

On 8/18/05, Ferruh Zamangoer <fe...@gmx.de> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
> we are using AXIS WS to send some MP3 files to an server where we register
> these files. The problem which occurred in our scenario is that after we
> have send the file we want to delete the local file on the filesystem. But
> we can't delete the file because anything references or blocks the file.
We
> have localized that the problem occurs in the part after the webservice
> call. For sending our file as attachment we use the following code lines. 
> 
>   
> 
> DataHandler contentHandler = 
> 
>                     new DataHandler( 
> 
>                         new FileDataSource( 
> 
>                             contentInfo.getValueByName( 
> 
>                                 AudioFileInfo.PATH_ENTRY))); 
> 
>   
> 
>   
> 
>   
> 
> Does anybody have the same problem in informer Time? How can we solve this
> problem. I'am not sure but I think that the error occurs in axis, because
> any Stream or reference is not unlocked? 
> 
>   
> 
> Can anybody help? 
> 
>   
> 
> Thanks for any help in advance. 
> 
>   
> 
>   
> 
> Regards 
> 
>   
> 
> Ferruh 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform


Re: Attachments/ Locked files?

Posted by Davanum Srinivas <da...@gmail.com>.
Please log a bug AND Please don't cross post.

-- dims

On 8/18/05, Ferruh Zamangoer <fe...@gmx.de> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
> we are using AXIS WS to send some MP3 files to an server where we register
> these files. The problem which occurred in our scenario is that after we
> have send the file we want to delete the local file on the filesystem. But
> we can't delete the file because anything references or blocks the file. We
> have localized that the problem occurs in the part after the webservice
> call. For sending our file as attachment we use the following code lines. 
> 
>   
> 
> DataHandler contentHandler = 
> 
>                     new DataHandler( 
> 
>                         new FileDataSource( 
> 
>                             contentInfo.getValueByName( 
> 
>                                 AudioFileInfo.PATH_ENTRY))); 
> 
>   
> 
>   
> 
>   
> 
> Does anybody have the same problem in informer Time? How can we solve this
> problem. I'am not sure but I think that the error occurs in axis, because
> any Stream or reference is not unlocked? 
> 
>   
> 
> Can anybody help? 
> 
>   
> 
> Thanks for any help in advance. 
> 
>   
> 
>   
> 
> Regards 
> 
>   
> 
> Ferruh 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform

Re: Attachments/ Locked files?

Posted by Davanum Srinivas <da...@gmail.com>.
Please log a bug AND Please don't cross post.

-- dims

On 8/18/05, Ferruh Zamangoer <fe...@gmx.de> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
> we are using AXIS WS to send some MP3 files to an server where we register
> these files. The problem which occurred in our scenario is that after we
> have send the file we want to delete the local file on the filesystem. But
> we can't delete the file because anything references or blocks the file. We
> have localized that the problem occurs in the part after the webservice
> call. For sending our file as attachment we use the following code lines. 
> 
>   
> 
> DataHandler contentHandler = 
> 
>                     new DataHandler( 
> 
>                         new FileDataSource( 
> 
>                             contentInfo.getValueByName( 
> 
>                                 AudioFileInfo.PATH_ENTRY))); 
> 
>   
> 
>   
> 
>   
> 
> Does anybody have the same problem in informer Time? How can we solve this
> problem. I'am not sure but I think that the error occurs in axis, because
> any Stream or reference is not unlocked? 
> 
>   
> 
> Can anybody help? 
> 
>   
> 
> Thanks for any help in advance. 
> 
>   
> 
>   
> 
> Regards 
> 
>   
> 
> Ferruh 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform