Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 133585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:27:33+00:00 2026-05-11T06:27:33+00:00

I am using JBoss 4.0.4 GA, which has Tomcat Servlet Container 5.5. I also

  • 0

I am using JBoss 4.0.4 GA, which has Tomcat Servlet Container 5.5. I also have IIS 6.0 redirected to this JBoss. (via IIS tomcat connector, which is used as ISAPI filter in IIS). All is working OK, configured the workers as described.

Here is a piece of workers.properties file of the connector:

# # Defining a worker named ajp13 and of type ajp13 # Note that the name and the type do not have to match. # worker.jboss0_ajp13.port=8009 worker.jboss0_ajp13.type=ajp13 worker.jboss0_ajp13.host=localhost worker.jboss0_ajp13.socket_keepalive=1 worker.jboss0_ajp13.socket_timeout=300 

But when connecting to the application via IIS (port 80), for each completed HTTP response for HTTP request, the socket is closed (FIN is sent on the TCP layer). This causes severe slowdowns, since the application is working over WAN. (for each closed socket, another one needed to be established, which takes 500ms).

This is not happening when connecting to JBoss web server directly, and also not happening when connecting to a different virtual directory on the same WebServer instanse of IIS (i.e. Keep-Alive in IIS is also configured).

This happens with the latest version of tomcat IIS connector.

Do you know if there is a bug in the connector, or there is a problem with my configuration?

Thanks in advance,
Henry.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:27:34+00:00Added an answer on May 11, 2026 at 6:27 am

    I filed a bug in Bugzilla for tomcat IIS redirector, and this is the answer I’ve got:

    Up until 1.2.27 this was the behaviour of the IIS connector (IIS forces all ISAPI extensions to implement their own HTTP keep alive, and the IIS connector didn’t do this).

    In 1.2.27 there’s experimental, build-time, support for HTTP 1.1 chunked encoding, which should permit persistent connections. (I’ve been using pretty much the same code in production systems for about 4 years, but it should be considered experimental in the JK codebase until it’s been stable for a while).

    Grab the -chunked binary from one of the download mirrors and read about how to configure chunked encoding in the 1.2.27 release notes (you have to get the right build, and enable it in your config). You can verify that the connector is using chunked encoding with debug logging on, and a TCP/Wireshark trace should show connections being reused.

    If you’re still getting closed connections, and the logs show that the connector is attempting (or should be attempting) chunked encoding, then it’s probably best to discuss on the users list and then reopen with another Wireshark trace + connector debug log once you’re sure there’s an issue.

    So, what I did:

    1. Put isapi_redirect.dll with chunking support.
    2. Configured the isapi_redirect.properties with the following:

      enable_chunked_encoding=1

    3. Restarted IIS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 83k
  • Answers 83k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can't really enforce SVN to make the programmer always… May 11, 2026 at 4:49 pm
  • Editorial Team
    Editorial Team added an answer Pass location using the optional second parameter like this: $sc… May 11, 2026 at 4:49 pm
  • Editorial Team
    Editorial Team added an answer You can write method in application_controller.rb: def show_feedback_tab? if params[:controller]… May 11, 2026 at 4:49 pm

Related Questions

Ok, I've run across my first StackOverflowError since joining this site, I figured this
I am having a very strange behavior in JBoss, and I'd like avail myself
I am using Ganymede (Eclipse 3.4) to do some Java EE based web development
I am using JBoss Richfaces and I need to invoke rich:modalPanel when a particular

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.