First, I have a bitter water. This connection pool has been engaged for 3 days. It can be connected with the database, but it is not supported to load balancing, depressed ing. I have to continue to fight. Let's write the process of establishing the connection pool, avoid Everyone can go more.
Home:
http://www.caucho.com/index.xtp [Speed Slow]
Resin3.0.8 Download Address:
http://www.caucho.com/download/resin-3.0.8.tar.gz
(Here, it is assumed that JDK has been installed /usr/local/j2sdk1.4.2_04, and Apache has compiled by: / www)
Must ensure that apache is supporting DSO mode. If you don't know, you can use the command to determine:
/ www / bin / httpd -l | grep -i mod_so.c If you continue ...
Compile RESIN: (Document says it is recommended to use GCC3.0, I originally used Warning in the process of 2.95, compiled, and later upgraded to the latest version 3.4, compiled MOD_CAUCHO.SO, the size is really different, high version A lot of small. Therefore, it is recommended to use a high version)
TAR ZXF RESIN-3.0.8.tar.gzcd resin-3.0.8./configure --with-apxs = / www / bin / apxs && make & makers, if it is Apache1.3 version of mod_caucho.so Will be in / www / libexec directory, if it is 2.0, MOD_CAUCHO.SO will under / www / modules, here I am using the 1.3 version. Then set an environment variable: My habit is to put it below / etc / profile. JAVA_HOME = / usr / local / j2sdk1.4.2_04export JAVA_HOMECLASSPATH = / usr / local / j2sdk1.4.2_04 / lib: $ CLASSPATHexport CLASSPATH modified resin.conf,