J2EE SDK 1.4 + RESIN 2.1.16 installation process

xiaoxiao2021-03-06  18

1. First go to http://java.sun.com/j2ee/1.4/download.html to download the J2EE SDK 1.4 installation file 2. to http://www.caucho.com/download/index.xtp to download resin 2.1 .163. Execute the JDK installation file, install the JDK to the computer! According to the prompt point, you can smoothly install. 4. Unzip the compressed package of RESIN to install the J2EE SDK directory / Sun directory, compress the package default The decompression catalog is / SUN/RESIN 2.1.16, by renaming the back version number (of course, not renovating, just use trouble) 5. Right click on my computer => [Properties] => Advanced] => [Environment Variable], in the system variable, new or modify the following three system variables, the first PATH is directly modified! Path =% java_home% / bin;% java_home% / jre / binjava_home = C: / Sun / appserver / jdkclasspath =. /;% Java_home% / lib / Tools.jar;% java_home% / lib / dt.jar6. Enter CMD in the run, enter the system DOS command mode, enter / sun / resin / bin directory Run C: / Sun / Resin / Bin> httpd -install This will install RESIN installation to become a system service, and will be shipped in shipping. 7. Test if JavaSDK is successfully installed, run Java or Javac under the DOS command window, Do not prompt an error, OK! Or run a C: /> set under the DOS command window to see if there is any correct setting in the system variable! Path =% java_home% / bin;% java_home% / jre / binjava_home = C : / Sun / appserver / jdkclasspath =. /;% Java_home / lib / Tools.jar;% java_home / lib / dt.jar8. To the control palette => Performance and Maintenance => Administrative Tools => Services View "Resin Web "SERVER" is there, if not, of course, it will be shipped! 9. Open the URL in IE http: // localhost: 8080 should be able to see the startup directory of the resion (ie C: / sun / resin The homepage file 10. Resin's settings are all in C: / Sun / RESIN / Conf / resin.conf includes setting the home page: Find index.xtp, after seeing index.xtp, you can add index.html or other home directory to set up the page file: Find DOC-DIR, you can Doc-dir> Your home directory set the primary directory! If there is unknown, you can add me QQ: 23455581 to ask me!

Why don't you install resin 3.0? This is because in many JSP applications, there will be a lot of Moming questions in version 3.0, such as database connections, do not open the page (may be 2.1 old version upgrade to 3.0 reasons), etc. So, or use a 2.1 version of the stable point! Anyway, Java's speed is determined in javasdk, and RESIN is just a container!

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

New Post(0)