2 Replies Latest reply on Jul 16, 2014 10:33 AM by sebbay

    JBoss 7.2.0: performance issue calling webservice with hostname instead of IP address

    sebbay

      I'm using JBoss 7.2.0 and I'm trying to access an webservice by setting the context property 'javax.xml.ws.service.endpoint.address' with an url which includes the hostname.

       

      The first webservice call needs more then 5 seconds for processing request and response.

      After this, the webservice calls needs only some milliseconds.

      Now waiting for one minute and the request/response handling tooks 5 seconds again.

      After this, the webservice calls needs only some milliseconds.

      and so on...

       

      If I use an IP instead of the hostname in the context property 'javax.xml.ws.service.endpoint.address', everything works fine.

       

      Does anyone have an idea what can be the problem?

       

      Regards,

      Sebastian