[JBoss-user] [Clustering/JBoss] - Re: My application hangs when more than one node in the clus
You have to use StickySession with mod_jk and make sure your session replication in tc5-cluster-service.xml is set to REPL_ASYNC for performance gains. Add this to you mod_jk configuration: worker.loadbalancer.sticky_session=1 Use this in you tc5-cluster-service.xml REPL_ASYNC shutdown apache shutdown cluster startup cluster start apache That should do it...work for me! Good luck! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891650#3891650 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891650 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: My application hangs when more than one node in the clus
It's been a while since I looked at JBoss clustering code, but it sounds like a problem I encountered in the past: The problem is with the HTTP session replication: When you login (or, do something that reads or writes to the HTTP Session context), JGroups tries to replicate it to all other nodes in the cluster. What JGroups does, is send a message to all the cluster members (and wait for an ACK). If, for some reason, it failes to get a receive enough ACKs (if there are 10 cluster members, it should receive 10 ACKs) then it waits until some timeout expires. This timeout used to be hard coded to 60 seconds, and I think it was changed to being configurable form the XML file. Also, this used to happen when for some reason, we had the same server multiple times in the node list of the cluster (and therefore the sender doesn't receieve enough ACKs). Try moving some of the JGroups logs to DEBUG and see if all the servers have the same view of the cluster. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891627#3891627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891627 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: My application hangs when more than one node in the clus
Hi Ben, All the nodes are running from all config. I have done the Basic cluster test following the guidelines in: http://wiki.jboss.org/wiki/Wiki.jsp?page=BasicClusterTest . When I first enter the URL, the web page does not appear, but when I refresh it appears. So the application does not hang, instead responds when I click twice or click the refresh button on the web browser. Thanks & Regards, -GnanaShekar- View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890524#3890524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890524 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: My application hangs when more than one node in the clus
Hi, We are using 3 identical solaris 10 servers for 3 jboss nodes. In one of the nodes jboss throws the following exception while start. This is the node which when isolated from the cluster, the application works fine. I have setup all the 3 nodes in identical way.. I don't know what makes one of the jboss instance throw this exception... Please suggest/help. Thanks & Regards, -GnanaShekar- 2005-08-18 09:45:45,896 DEBUG [org.jboss.iiop.CorbaORBService] Ignoring sunJDK14IsLocalBugFix=true due to inability to load org.jboss.iiop.SunJDK14IsLocalBugFix java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.iiop.SunJDK14IsLocalBugFix, msg=com/sun/corba/se/internal/iiop/ShutdownUtilDelegate at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:512) 2005-08-18 09:45:55,069 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES] at org.hsqldb.jdbc.Util.throwError(Unknown Source) at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) 2005-08-18 09:45:55,071 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) ) java.sql.SQLException: Table already exists: JMS_TRANSACTIONS in statement [CREATE CACHED TABLE JMS_TRANSACTIONS] at org.hsqldb.jdbc.Util.throwError(Unknown Source) at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890554#3890554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890554 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: My application hangs when more than one node in the clus
I assume you are running from "all" config? You can make sure your mod_jk works first by running from "default" (without http session replication). If it works, turns on the log (org.jboss.web.tomcat) and you can see the session repl info to troubleshoot. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890422#3890422 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890422 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user