Ali John

Greenhorn
+ Follow
since May 10, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ali John

i came here to find some solution to the problem.but its not getting done
11 years ago
i m trying to do a setup of tomcat clustering in which one tomcat is on port 8080 and other one is on 8081.
i have downloaded the tomcat-connector in the modules folder of my apache.i built it using build-unix.sh by downloading the script from net as it was nt already there in the downloaded tomcat-connector. it buit mod_jk.so which i have placed inside modules folder as /usr/local/apache2/modules/mod_jk.so
then i created workers.properties file and gave the description of workers there .and included it in httpd.cong file .
still when i type http://localhost/jsp-pages which are in my webapps / it is not passing requast to tomcat which is holding the js pages.
you may hav a look at the conf files to get a better fel of the problem !
the link is https://coderanch.com/t/581294/Tomcat/Tomcat-Clustering#2648034



Thanks !
11 years ago
here is my tomcatnode1's server.xml http://fpaste.org/6TMB/
and my tomcatnode2's server.xml is http://fpaste.org/kCwr/
my apache's httpd.conf file is http://fpaste.org/pQHE/
modified mod_jk.so file is http://fpaste.org/0E7L/
and workers.properties file is http://fpaste.org/ZGTV/


any peroblems you can find in them ? because setup is still not working.

Thanks.
11 years ago
my mod_jk is itself not working....as i am not able to visit contexts from port 80.
my mod_jk.conf file is http://fpaste.org/k0EZ/
my workers.properties file is http://fpaste.org/wQgH/

..please tell me what problem is there in these files?i built mod_jk by downloading tar.gz,untarred it to apache_home/native/modules/ and inside it i used build-unix.sh
Thanks.
11 years ago
if i share my server.xml files for both the tomcat instances and apache httpd.conf ,workers.properties file with you,i feel you will be able to find out the problem.


i have created a nrmal jsp and kept it under a folder under webapps of both the tomcats.
then i shutdown one of the tomcats and tried to acces that jsp,it didnot work...that means clustering is not working.


Thanks.....
11 years ago
http://my.safaribooksonline.com/book/-/9781849516624/9dot-clustering-in-tomcat-7/id286784234
i have followed all the steps from this book for virtual clustering..

but when it comes to configuring apppache and tomcat together,i am having problems.Can you please hav a look at page no 228 of that book and tell me if its right or wrong?
i am not able to know what to fill in these options

LoadModulejk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkMount /sample/* loadbalancer
JkMount /* loadbalancer
....
Thanks, and i have changed the name too.
11 years ago
i hav followed all the steps and configured my Tomcat ..
can you tell me how to make a test application to check whether clustering is working or not?
till now my set up is on a single machine,i.e vertical clustering ....can you please suggest ???
11 years ago
Can you please tell me the simple steps for doing the same.
i am new to linux,so finding lot of problem in configurations..
Thanks !!
11 years ago
how to add mod_jk libraries to tomcat ??
11 years ago
hi ,i am trying to do tomcat cl;ustering,but mod_jk and some issues are not getting resolved..can anyone help me ?
11 years ago
you should use Third party cookies
11 years ago
JSP