1. install JDK; 2. download and install Tomcat. Open http: // localhost: 8080/. If it can be displayed, it indicates that Tomcat is correctly installed. 3. download and install myeclipse; 4. download eclipse Tomcat plugin and decompress it to The dropin directory of myeclipse;
The following is a record of the problems encountered in the process:
1.The Apache Tomcat native library which allows optimal performance in production environments was not found on the java. Library. Path
http://www.javaeye.com/topic/145770
This indicates that APR
cannot be found: download the editor from the http://tomcat.heanet.ie/native/ Translated tcnative-1.dll file, the latest 1.1.14, copy to JDK \ bin, and then start it to load the APR.
Http://topic.csdn.net/u/20090111/20/d74c3aa4-697d-4fcc-b034-feaab815e81d.html
I remember that the previous project was also in a bad situation. I can say that the website is basically useless. Do you think your javaw.exe process is running? (Use CTRL + ALT + DEL) if you are running, stop. Then start Tomcat.
If not, I advise the landlord not to use this version. I will use mature versions such as jdk1.5, tomcat5.0 or 5.5 that have been used before. In addition, I feel that the installed version is still relatively easy to use.
http://it.oyksoft.com/post/750/
Related documents: http://tomcat.apache.org/tomcat-6.0-doc/apr.html
Go here to renew
Restart tomcat.
For example, now that I have downloaded the tcnative-1.dll for v1.1.14, the information becomes:
Reference org. Apache. Catalina. Core. aprlifecyclelistener init
Information: loaded Apache Tomcat native library 1.1.14.
Org. Apache. Catalina. Core. aprlifecyclelistener init
Information: Apr capabilities: ipv6 [false], sendfile [True], accept filters [false], random [True].