0

我们当前的生产网络环境使用:

  • Web 服务器:Netscape iPlanet v4.1(别笑!)
  • Servlet 容器:Tomcat 6.0.32

两者都在不同的服务器上运行 SunOS 5.9(Solaris 9?)。

我们注意到(显然)随机地,在 Tomcat 上运行的应用程序似乎不可用。进一步的调查似乎表明来自网络服务器的 AJP 连接似乎被阻止 - 或者至少网络服务器无法成功地将请求转发到 Tomcat。

有没有其他人经历过(并修复过)iPlanet/Tomcat 的此类问题?

注意:我们意识到 iPlanet v4.1 有点古老,它正在被 Apache HTTP Server 取代,但还不是现在。

4

1 回答 1

0

We have managed to solve our issue. For anyone experiencing the same issue, as described above, the problem is that there is a bug in the iPlanet mod_jk connector (v1.2.22), which amongst other things, does not reuse existing connections, instead it creates new connections for each request.

The solution is to obtain a more up-to-date driver (v1.2.32 at time of writing), which fixes this issue, and others, making the connector not only much more robust, but also increases throughput by more than 4 times!

The updated driver can be found on the Tomcat site.

For users who are not using Windows or Netware, you will need to build you own driver, which depending on the level of your C knowledge, may be a little tricky, as we had to modify the source several times to add missing headers.

Hopefully, this will help somebody out there!

于 2011-11-21T07:29:58.700 回答