[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Hi Darran, I have configured mod_jk with Apache and Jboss, i am running two instance of Jboss on 8080 8180 and Apache is running on port 80, my application is running right, but its unable to perform failover, when i stop one instance of Jboss, the other started instance should take over the running application and keep it running, but its not happening like that. I have followed this link to set mod_jk http://wiki.jboss.org/wiki/Wiki.jsp? page=UsingMod_jk1.2WithJBoss please advise and give me correct step View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900251#3900251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900251 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Are you directing your requests to the Apache server (i.e., port 80)? Are the application requests being load balanced to the two servers or is everything being forwarded to one of the servers? If you use the configuration provided on the wiki page, you should have failover and load balancing enabled. If you only start the server on port 8180, do your requests get handled by it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900275#3900275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3900275 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
If you want failover you will need a load balancer. Apache with mod_jk is good for this. Web browsers do not support faiover themselves. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899783#3899783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899783 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Hi, I am able to run two copies of the server on my m/c, but when i run my application it runs fine on using localhost:8080, but its not identifying with my machine name. I am connecting Jboss with Apache, its working fine with machine name when i deploy the application in default. But its not able to connect to Apache when the application is deployed on different node. Please advise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899565#3899565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899565 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Are you sure you've configured mod_jk correctly with JBoss? You can check the wiki page for guidance at http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss If you've configured everything correctly, your application will be accessible on whatever port you've specified for Apache. So if node1 uses port 8080, node2 uses port 8180, and Apache uses port 8000, your application will be accessible at http:/your_server:8000/your_app. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899585#3899585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899585 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Jerry, I am able to run two instances on different port, I am testing fail-over. I open an application on the browser and stoping one server instance and trying to continue accesing the application, i feel the other server should take over my application, but it is not happening so. E.g. - I m running my application on 8080, and my 2 instances are on 8080 8180, when i stop 8080 instance, the 8180 should keep the server running, but its giving me error. Please advise. Sajid View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899642#3899642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899642 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Can you provide the configuration you have performed with Apache and mod_jk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899647#3899647 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899647 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Are you sure you've configured Apache correctly? If Apache is running on port 8080, how can one of your nodes be running on 8080 on the same machine? Are you using multiple IP addresses? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899659#3899659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899659 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Jerry, I am not running my application on Apache, right now i am only running two instance of Jboss, one on 8080 and other on 8180. I run the application at 8080 and then i am shutting down the 8080 instance, after that the application should be taken care by 8180, but its not happening. Please suggest. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899758#3899758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899758 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
You'l need to run multiple copies of your server, using different node names such as node1 and node2. Copy the 'all' server configuration to to create the new servers. You can then start a server using run.bat -c node1 You'll also need to vary the port addresses of the second server if you're running on a single machine. This can be accomplished either through the use of multiple IP addresses on your machine (e.g., wired and wireless IP addresses) or via the JBossBindingManager. If you use multiple IP addresses, use run -c YourNode -b YourIP to specify the IP address of the server. If you use a single IP address, use the JBossBindingManager as described in JBoss online documentation. If you want loadbalancing and failover, you'll need loadbalancing software such as Apache mod_jk. The JBossAS Clustering Guide available online describes how to install, configure and use this software. Jerry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899277#3899277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899277 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user