Forgot your password?
typodupeerror
Java

Journal zxm's Journal: JOnAS Cluster 1

Today I will begin working at JOnAS Clustering (According to SRS, we should privide a cluster solution of JOnAS).

After Googling JOnAS Cluster and Tomcat Cluster, I found several good articles for me:

But when I gonna download mod_jk from jakarta.apache.org, found that there was no binary bundle for Linux, after reading a hint of the tomcat user mail list, I knew I should compile it with the source.

Update:

The README or build file in the jakarta-tomcat-connector-2.0-src has not informed detailed how to build the source file.

I refered to an article on how to compile mod_jk2 from source, It's a good doc but missing one thing:
After run Command: ./configure ... , you must issue a command: make, like the below:

# sh ./buildconf.sh
# ./configure --with-apxs2=/usr/sbin/apxs2 \
> --with-tomcat41=/opt/tomcat \
> --with-java-home=/opt/IBMJava2-131 \
> --with-jni
# make

Then, there will be 2 files in the directory "../build/jk2/apache2":

  • mod_jk2.so
  • jkjni.so

Copy them to Apache httpd modules directory:

#cp mod_jk2.so jkjni.so /opt/httpd/modules/

Update:

It seems not easy to setup Apache + Tomcat :). I found several problems while trying:

  • I configured localhost, 127.0.0.1 in both ${serverRoot}/conf/workers2.properties and ${catalina.home}/conf/server.xml file, though I cannot access any file using URL: http://localhost/... or http://127.0.0.1/...,but OK if using http://ricky/...

Here are some very useful links:

Update:

There are also some good links:

This discussion has been archived. No new comments can be posted.

JOnAS Cluster

Comments Filter:

"Don't hate me because I'm beautiful. Hate me because I'm beautiful, smart and rich." -- Calvin Keegan

Working...