Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

problem with CLOSE_WAIT

Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created an axis2 webservice which has a save method and is running at tomcat .
By a soap client (by java) i'm sending a request to the service method save .If the value is inserted into DB then it returns true else the soap fault.

in a special case the request has to wait for a while for the next case has to enter by client(request).

It works fine but while testing, they typed in cmd
netstat -an | find /i "8080"
there come some times CLOSE_WAIT ,FIN_WAIT this is the issue, the 8080 (the save service is waiting that they said)
how can i avoid this.
or what i has to do
actually the wsdl file was already created and i generated the java class by "wsdl2java ........................." this created a java source file +resource folder(wsdl+service.xm)+build.
On calling the ant it generate the XXX.aar file,

soap sending example from -----
They weren't very bright, but they were very, very big. Ad contrast:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic