Configure Tomcat 5.5 and IIS5

xiaoxiao2021-03-06  41

http://blog.9cbs.net/arielxp/archive/2004/06/27/27878.aspx This article is quite clear, I only combine the problem that I encountered, I'm the installation environment is WindowsXP IIS5.1, Tomcat5 .5.7, JDK5, Note: The latest Tomcat5.5 must install JDK5 to start. The main problem I encountered is: 1. After starting Tomcat, you can't browse any directories and files. The reason is that after modifying the AppBase in Server.xml, there is no default root directory with it. Need to add 2 ,worker2.properties file in Tomcat5 / Conf default, Can not be created, take it directly. But you need to add [URI: / DIR / *] context = / DIR here the DIR here must appear in the PATH in the Context, or the XML configuration file name that I said in another article, instead of INETPUB / WWWROOT to build it yourself DIR. (This DIR can be any other name) 3. Install the JK2 DLL is very simple. The key is to add later, reopen the property page to view the ISAPI, this Filter icon is green. If it is a red error icon, then you have a problem with your IIS, it is best to reload IIS, so you can freely waste time. 4. New registry files need to be used in the same way as you do, "extensionuri =" / jakarta / isapi_redirector2.dll "JAKARTA is your newly created virtual directory in IIS. Of course, its page may not be a virtual directory, and a directory under wwwroot, you need to pay attention to other things.

Finally, summarize: 1. First, IIS and Tomcat can be browsed normally, such as http: // localhost: 8080.2, add virtual directory context in Tomcat, whether this directory is not important under Wwwroot. But be sure to appear in Worker2.Properties.

When I downloaded JK2 today, I'm saying that JK2 will stop updating, because the lack of developers continue to maintain it, in the new Apache will bring a new Connector, I don't know how to IIS.

转载请注明原文地址:https://www.9cbs.com/read-58063.html

New Post(0)