I'm having some sort of configurtion issue bettwen my apache and a web-service in a JBoss ESB.

I have a apache with ssl, this apache redirects using ajp 1.3 to a JBoss ESB that provide the web-services from a JBoss AS 5.1.

When i do a direct access to the JBoss AS or the JBoss ESB i have, generaly, a 200 ms response time. But some days, particularly in the morning, i have a response time of 5 to 10 seconds for about 1 hour then it goes back to normal.

This slow response time looks like a configuration problem between the JBoss ESB and the apache since i dont experience this slow down when i access directly the JBoss AS or ESB.

In this same apache i have about 15 sites that are working properly. Only the web-service is having this slow reponse time.

The access with apache use SSL and the direct access to JBoss don't use SSL.

My apache conf. is:

<Proxy *>
  SSLEngine on
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile my-ssl.crt
  SSLCertificateKeyFile my-ssl.key
  ProxyRequests off

  Proxy balancer://jboss-esb01>
  BalancerMember ajp://neblina:8017 smax=10 ttl=90 route=wjbesb01 redirect=wjbesb01 loadfactor=1
</Proxy>

ProxyPass /netservices balancer://jboss-esb01/netservices stickysession=JSESSIONID nofailover=On timeout=90

What am i missing?

Update 05/07:

Checking the netstat of the apache machine i've noticed that i'm gettin flood with FIN_WAIT_2 witch means that the JBoss ESB ain't closing the TCP connection with the apache2. the lingering close in the apache site explains it better.

Now issue is how to make this closes happend...

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.