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 ji...@apache.org on 2004/04/08 20:23:43 UTC

[jira] Closed: (AXIS-637) AttachmentsImpl.getAttachmentCount not properly implemented

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Thu, 8 Apr 2004 11:21 AM

I think this has been fixed. Please reopen if you see the problem in latest cvs.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-637

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-637
    Summary: AttachmentsImpl.getAttachmentCount not properly implemented
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Axis
 Components: 
             Basic Architecture
   Fix Fors:
             current (nightly)
   Versions:
             1.1beta

   Assignee: 
   Reporter: Andreas Siegers

    Created: Wed, 29 Jan 2003 1:10 PM
    Updated: Thu, 8 Apr 2004 11:21 AM
Environment: Operating System: Solaris
Platform: Sun

Description:
Hi.

Sending attachments to a server on Sun solaris over 1024 bytes, it seems like 
the axis server needs to create a temp file.
In my WebService I call the method myMessageContext.getMessage
().countAttachments(), the count attachment generates a 'Permission denied' 
when creating the tempfile. The AttachmentsImpl.getAttachmentCount() just catch 
the Exception and do nothing with it, when it should rethrow it ?!, instead of 
just returning zero.
Whats also strange is that a second call to getAttachmentCount() generates the 
correct number of attachments ?!

regards
Andreas Siegers
andreas.siegers@iocore.se


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira