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 "Fahd El Moujahid (JIRA)" <ji...@apache.org> on 2007/09/10 16:56:30 UTC
[jira] Created: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
--------------------------------------------------------------------------------------
Key: AXIS2-3189
URL: https://issues.apache.org/jira/browse/AXIS2-3189
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.3
Environment: MS Win Server 2003
Reporter: Fahd El Moujahid
Priority: Blocker
I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
*************************************************************************
Server side through Axis2.xml
<axisconfig name="AxisJava2.0">
<!-- ================================================= -->
<!-- Parameters -->
<!-- ================================================= -->
<parameter name="cacheAttachments" locked="false">true</parameter>
<parameter name="attachmentDIR" locked="false">temp directory</parameter>
<parameter name="sizeThreshold" locked="false">4000</parameter>
.........
.........
</axisconfig>
Enabling file caching for client side receiving by setting the Options as follows.
options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
*************************************************************************
The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-3189:
----------------------------------------
Assignee: Thilina Gunarathne
Hi Thilina,
I just assign this to you just to get an idea about how to fix this. just give me a hint then I will fix the issue
Thanks
Deepal
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Thilina Gunarathne
> Priority: Blocker
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572680#action_12572680 ]
Davanum Srinivas commented on AXIS2-3189:
-----------------------------------------
lowering priority a bit.
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Thilina Gunarathne
> Priority: Critical
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-3189.
-------------------------------------
Resolution: Fixed
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Nikhil Thaker
> Priority: Critical
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-3189:
------------------------------------
Priority: Critical (was: Blocker)
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Thilina Gunarathne
> Priority: Critical
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574661#action_12574661 ]
Davanum Srinivas commented on AXIS2-3189:
-----------------------------------------
Nikhil,
Can you please take a look at this bug?>
thanks,
dims
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Nikhil Thaker
> Priority: Critical
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578045#action_12578045 ]
Davanum Srinivas commented on AXIS2-3189:
-----------------------------------------
Fahd,
we have better support for cleanup of files in latest nightly build. please try that and let us know.
-- dims
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Nikhil Thaker
> Priority: Critical
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3189) Axis2 incomplete cached files should
be deleted BUT they aren't; how can I delete them
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-3189:
------------------------------------
Assignee: Nikhil Thaker (was: Thilina Gunarathne)
> Axis2 incomplete cached files should be deleted BUT they aren't; how can I delete them
> --------------------------------------------------------------------------------------
>
> Key: AXIS2-3189
> URL: https://issues.apache.org/jira/browse/AXIS2-3189
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.3
> Environment: MS Win Server 2003
> Reporter: Fahd El Moujahid
> Assignee: Nikhil Thaker
> Priority: Critical
>
> I am using Axis2-1.3 and I am enabling file caching on both the Client and the Server side using the following:
> *************************************************************************
> Server side through Axis2.xml
> <axisconfig name="AxisJava2.0">
> <!-- ================================================= -->
> <!-- Parameters -->
> <!-- ================================================= -->
> <parameter name="cacheAttachments" locked="false">true</parameter>
> <parameter name="attachmentDIR" locked="false">temp directory</parameter>
> <parameter name="sizeThreshold" locked="false">4000</parameter>
> .........
> .........
> </axisconfig>
> Enabling file caching for client side receiving by setting the Options as follows.
> options.setProperty(Constants.Configuration.CACHE_ATTACHMENTS,Constants.VALUE_TRUE);
> options.setProperty(Constants.Configuration.ATTACHMENT_TEMP_DIR,TempDir);
> options.setProperty(Constants.Configuration.FILE_SIZE_THRESHOLD, "4000");
> *************************************************************************
> The problem I am facing is that when the client is uploading a large file and it suddenling reset the connection, and exception of "Error creating temporary File" is triggered on the server side, a behaviour that is totaly normal. HOWEVER, the file, the client is uploading (and axis2 is writting to the disk) stays in the temporary directory specified in the Axis2.xml and Axis doesn't delete it !!! (I know that temp files are not deleted by axis2 BUT I thought that this applies only for completed ones-the ones written to the disk without any problem). Is there a solution so that I can get the name of these files????
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org