Java N Coffee

Thursday, July 03, 2008

Heap error with jira attachement web service call

I blogged recently about custom error logger, in which I had to do some extra exception handling after logger logs it. One task was to attach log file to jira issue being created. Problem was the client I was using used axis 1.4 which dint support soap with attachments well and was giving heap space error. When googled about it I found that it was not a problem with jira service but the client being created.

As it was not feasible to go to axis2 which does support soap with attachments well, I ended up using apache's httpclient for creating post request to attach the file.

Below is the link which helped me
http://jira.atlassian.com/browse/JRA-11693

Hope it helps someone .... :)





Blogged with the Flock Browser

Labels: , ,