Monthly Archives: September 2007

Maximum Connections for Tomcat, Apache and Comet

I struggled to find out why my server broke down frequently these days. And I think I found it. My Apache HTTP server was configured with MaxClients at 50, the default AJP connector’s connections number was about 15, and the … Continue reading

Posted in Comet, Tomcat, httpd | Leave a comment

How To Replace “/” With “” in .bat File

Here is an example to replace string with a different delimiter in Windows’ *.bat file. for /f "tokens=1-15 delims=/" %%i in ("%1") do ( set _X1_=%%i set _X2_=%%j set _X3_=%%k set _X4_=%%l set _X5_=%%m set _X6_=%%n set _X7_=%%o set _X8_=%%p … Continue reading

Posted in Tricks | 1 Comment

Eclipse Plugin Central Website, Aweful Design!

If you ever visit Eclipse homepage http://www.eclipse.org/, you may notice that Eclipse homepage embeds plugin updates news from Eclipse Plugin Central (http://www.eclipseplugincentral.org/). If you try to visit the news by the given link, you may find that the page loads … Continue reading

Posted in Uncategorized | Leave a comment

AJP Connector Breaks Down Apache HTTP Server

Recently, my Apache HTTP server was broken down twice. The scenario was when visiting a page, it was just waiting there, blank. And I checked the server through SSH and saw that there was a lot (about 50) of inner … Continue reading

Posted in Comet, Google Talk, Tomcat, httpd | 1 Comment