Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpException: Already used, but not recycled.  RSS feed

 
charu latha
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to execute a WebService. My method looks as below :



When i execute the above method it keeps giving me :


I've been using this code for a while without any issues. Just today it started giving me this error.

Any suggestions?
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. Which statement in your code throws the exception? Were you able to find a solution? If not, please see if this helps. If it does not, then please post enough code in a small program that can be run to duplicate the error.

In HttpMethodBase.java, if you search for "Already used, but not recycled", and then trace the code, that gives an idea of how it works. Of course, you may have already seen all of this ...
 
charu latha
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
client.executeMethod throws the http exception and yes i did look up the answer provided there before i started a thread here for my issue.

Thanks!
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd be glad to try it if you can post a small sample program that reproduces the error. Or if you find an answer, please do post it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!