axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Closed: (AXIS-637) AttachmentsImpl.getAttachmentCount not properly implemented
Date Thu, 08 Apr 2004 18:23:43 GMT

   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:

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

     Status: Closed
 Resolution: FIXED

    Project: Axis
             Basic Architecture
   Fix Fors:
             current (nightly)

   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


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 ?!

Andreas Siegers

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message