开发者

"Disabled use of AcceptEx() WinSock2 API" error on Windows 7 using Tomcat

When starting Tomcat 6 on Windows 7 Enterprise with JRE 6 using C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\tomcat6.exe the application does not open and my event viewer has the message:

"Disabled use of AcceptEx() WinSock2 API."

开发者_运维百科

The same installer of Tomcat worked on Windows Vista before I upgraded my operating system.

Can anyone please suggest a way to fix this?

The only site I can find mentioning this is http://www.apachelounge.com/viewtopic.php?p=4418 which suggests using this config setting "Win32DisableAcceptEx" - but it's for Apache, not Tomcat, and I have no idea where in what config file it might need to go in Tomcat.


Answered on the Tomcat user mailing list by Caldarale, Charles R:

Download the latest Java JDK.
Set the JAVA_HOME environment variable to the top level JDK folder. Download the zip version of Tomcat, not the exe installer. Start it using the startup.bat script.


Try to comment (add # befor) Win32DisableAcceptEx directive in httpd.conf then restart apache. more details in Apache MPM winnt Docs

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜