axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Closed: (AXIS-637) AttachmentsImpl.getAttachmentCount not properly implemented
Date Thu, 08 Apr 2004 18:23:43 GMT
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


Mime
View raw message