[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-18 Thread jjay009
JDK 1.5, JBoss 4.0.5 and WindowsXP Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018615#4018615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018615 ___ jboss-user m

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-18 Thread davewebb
What is your environment? JDK/JRE, JBoss, OS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018609#4018609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018609 ___ jboss-us

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-18 Thread jjay009
Hi Dave Webb Can you please refer to the solution you posted under the following link. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016787#4016787 I removed the commons-digester.jar file from the EAR file. Now I am getting following error. -

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-16 Thread sreejava
Hi David Webb and Hany Mesha, Special thanks to both of you? I think it became possible because I was in an advantageous position to beggin with the timely help, guidance and support from broad minded people like you. I feel really proud to be part of this open source forum and definitely I w

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-16 Thread davewebb
Sree, You were able to accomplish in a few days what took me and others several weeks. You are very welcome. Please support the open source forums by becoming more familiar with the clustering process. Then, monitor this group and help others. I'm glad you have everything working and I thin

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-16 Thread sreejava
THANK YOU BOSS. I SUCCEEDED IN MY ATTEMPT .. EVEN THE SESSION DETAILS GOT TRANSFERRED BETWEEN SERVERS THANKS A LOT.. THANK YOU THANK YOU THANK YOU View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017595#4017595 Reply to the post : h

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-16 Thread sreejava
If possible kindly verify the steps i have done for achiving Load Balencing( and FAILED.) Inside Apache2 1.Apache2.2\conf\httpd.conf (modified) 2.Apache2.2\modules\mod_jk.so (downloaded) 3.Apache2.2\conf\mod_jk.conf (created) 4.Apache2.2\conf\workers.properties (created) Inside JBo

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-16 Thread sreejava
sorry for asking "where the application.xml has to be created". I got it from various websites... Let me explain my directory structure. Mine was a sample application with the following directory structure which properly served from JBoss server (that is when i make a request for http:// localh

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread sreejava
i ve to create the application.xml inside WEB-INF folder.right? And its full content is as you suggested (i mean these code is not nested within any other tag, Right) | | TestApp.war | /TestApp | | View the original post : http://www.jboss.com/index.html?mod

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread davewebb
You need this in your web.xml. Refer to the DTD for the correct order. | | Your JkMount point shoud match the WAR Module Deployment Descriptor in your EAR's application.xml file. | | TestApp.war | /TestApp | | View the original post : http://www.j

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread sreejava
boss... i removed the lines from uriworkermap.properties and corrected the workers.properties file as worker.node1.host=_._._.209 Now when i tried http://localhost/TestApp/ i got ModJK should not allow me to see this once configured properly == In some o

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread hmesha
Here's your problem | worker.node1.host=node1._._._.209 | this line should only have the host ip address or name and not node1._._._.209 Remove node1 and node2 from the your workers.properties file. The way it's right now the host ip address is invalid and apache won't be able to resolve i

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread davewebb
Try this: | # Define list of workers that will be used | # for mapping requests | # The configuration directives are valid | # for the mod_jk version 1.2.18 and later | | # Define Node1 | # modify the host as your host IP or DNS name. | worker.node1.port=8009 | worker.node1.hos

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread sreejava
Also i ve read somewhere that JBoss should be started first before starting Apache2. I tried that also and failed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017071#4017071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread sreejava
Here is my workers.properties, where (_._._ represents the first 3 parts of IP address here). Exactly the same file is ther in both the Apache servers\conf. | # Define list of workers that will be used | # for mapping requests | # The configuration directives are valid | # for the mod_

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-15 Thread davewebb
1) For now, create the directory C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/TestApp and add a file in there called index.html. Edit the file to look like this. | | | ModJK should not allow me to see this once configured properly. | | | 2) Post your workers.

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-14 Thread sreejava
when i tried http:\\_._._.209\TestApp fed up with seeing the error... Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. | | Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the err

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-14 Thread davewebb
Set the DocumentRoot to any valid Directory on your Machine. It wont matter since you are proxying all requests to JBoss. set it to c:\temp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016497#4016497 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-14 Thread hmesha
>From your last post, I thin you're missing the name space mapping. check your >uriworkermap.properities file under $apache_home/conf that's where the mod_jk >would know how to direct requests to which name space on the server for your >war. if you don't have an entry similar to the one below,

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-14 Thread sreejava
Hi, i have read the Apache server configuration documentation. But still i have some doubts regarding some values of atributes of VIRTUAL HOST tag I am sure about the value i have given for JkMount. What should be the value of DocumentRoot that i have to specify in the httpd.conf file of Apac

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread davewebb
Apache is configured with the file $APACHE_HOME/conf/httpd.conf I suggest you read up on Apache server configuration as there is very good documentation on it. In that file you should have a listen port setting. Yours is obviously 80 based on your feedback. Here is where I think you have gone

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
hi i have tried to find port number of Apache2. But i could n't see atleast one xml file in which i hoped i could find it out. pleease reply thank you sree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015938#4015938 Reply to the post : http

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
hi please help. I m eager to watch the failover mechanism... I dont have the notion that a dead JBoss server can do any thing. But also dont know how to hit the Apache port as you said. (which port number i should give ?). still i m not sure whether there is any error in setting up those conf

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
when i tried http:\\localhost, i got the plain text in bold letters as anonymous wrote : It Works when i tried http://localhost/web-console, (as said in jboss-wiki) i got the folowing anonymous wrote : Not Found | The requested URL /web-console was not found on this server. thanking you..

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
i m new to Apache2 and mod_jk. So can you please tel me which port i should try? thanking you sree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015912#4015912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015912 __

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread davewebb
With apache in place, you _never_ go to the JBoss port again. Always go through apache. It monitors the server states and directs traffic accordingly. Apache knows server 1 is dead, so it sends all traffic to server 2. If both server 1 and server 2 are alive, it load balances reuqests betwee

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
hi, i mean is it the right way to test the cluster? http:\\:8080\ where is the dead node of the cluster. thank you sree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015876#4015876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
hi i ve done the steps provided by wiki in both the servers. However i ve tested the cluster by killing the JBoss serving the request. And again made another request in the browser-which failed. Am i testing it in the right way by specifying the request as:- http:\\\8080 Also i could see 5 fi

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
oops..i missed it. thank you sree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015793#4015793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015793 ___ jboss-user mailing

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread davewebb
yes. anonymous wrote : Install Apache and configure the nodes as described in the wiki for using mod_jk1.2 with JBoss. The .so file _IS_ correct. I installed apache on my windows machine to verify that. | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=401

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread sreejava
hi, Kindly let me know one more thing. Should i do the installation of apache and make these configurations in both the nodes? thanks and regards sree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015788#4015788 Reply to the post : http://www.jboss.com/

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-13 Thread davewebb
Install Apache and configure the nodes as described in the wiki for using mod_jk1.2 with JBoss. The .so file _IS_ correct. I installed apache on my windows machine to verify that. .so files are not made like .jar files. JAR files are just zip files with a .jar extension. .so files are "Shar

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-12 Thread sreejava
Hi Davewebb, Kindly let me know one more thing. Should i do the installation of apache and make these configurations in both the nodes?. to monitor the state of each server And regarding adding mod_Jk into apache; i think u suggested correctly. Becoz the folder where i put the ".so" was full

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-12 Thread davewebb
Sree, My configuration was with Linux rather than windows. I dont know exactly how mod_jk gets added into apache as a module, but I am guessing that it is a .dll file rather than a .so file. I could be wrong, but you are on your own now. Sorry. View the original post : http://www.jboss.co

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-12 Thread sreejava
hi, i tried all the steps as explained in the given link. performing that step by step i came across some doubts. At the end of step #6 it says (in bold letters) === (1) You should only set the connection_pool_size if the number of allowed connection to the Httpd is higher then maxThreads i

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-12 Thread sreejava
hi, i tried all the steps as explained in the given link. performing that step by step i came across some doubts. At the end of step #6 it says (in bold letters) === (1) You should only set the connection_pool_size if the number of allowed connection to the Httpd is higher then maxThreads i

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-11 Thread sreejava
hi boss.. Thank you very much for your timely help. let me go through the link and learn about the mechanism to monitor the state of each server. Surely i ll inform my progress. thank you sree View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014853#401485

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-11 Thread davewebb
Ok Sree, looks like you have successfully clustered your jboss servers. Now, you need a mechanism to monitor the state of each server and then direct traffic accordingly. This explains it all: http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://w

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-11 Thread sreejava
Hi As per you direction i ve verified my logging level. And it was already set to INFO in the log4j.xml. But still my log file is a combination of INFO and DEBUG. As it failed i started picking up the lines with logging level 'INFO' from my server.log files. Then i could see the following lines

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-10 Thread davewebb
Sree, I have a couple of recommendations for you. 1) Turn your logging level down to INFO instead of DEBUG. If there is an ERROR, we can try DEBUG if we need to. Go to server/all/conf and edit your log4j.xml and modify your CONSOLE appender like this: | | |

[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

2007-02-09 Thread davewebb
You need to do a few things. 1) Check your log files when the server starts to make sure the instances see each other and join the cluster. 2) Try deploying you WAR file in the farm directory of one server and if #1 above is working, then your WAR file will automatically get copied over the t