[Persistence, JBoss/CMP, Hibernate, Database] - Help understanding ManagedConnectionPool Behaviour
by dmeeuwis
We're using JBoss 4, and we're having some trouble with excessive database connections being made by JBoss's ManagedConnectionPool. From OpenNMS, our monitoring software, we can usually see the number of connections held in the connection pool by each node in our cluster, and the number in active use. We're seeing a lot of connections being grabbed by JBoss nodes in sudden spikes, but few to none being actively used, and it's a little puzzling.
Does anyone know, when does JBoss open new database connections in it's pool? What algorithm does it use? Is it always in direct response to real usage? Does anyone have links to pages that describe JBoss's approach?
Thanks for any help!
David M.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027302#4027302
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027302
19Â years, 1Â month
[Clustering/JBoss] - Out of the box clustering won't work
by mmelsen
Hi everyone,
I hope you can help me out. The following is the case:
At work we want to set up a cluster made up off four machines. Two machines have our front office software on it and the other two have our mid office software installed. In case one should fail the other machine should take it over.
I've read everywhere that jboss out-of-the-box should detect another jboss instance without any config. I've tried this and it worked on my windows computer that i clustered with a collegeaus computer. In the logging I saw it detected 2 cluster members and that they found eachother.
After this i wanted to install this clustering on our linux machines but one way or another, they can't find eachother and telling me in the logging that they are first in cluster and that there is only one member in the cluster.
I've checked for firewalls, they're off
I've checked if port 1100 and 1102 were listening, they were
I've checked if both machine could ping eachother, they can
I've checked logging but it didn't show any errors
I've added bindaddr="ip1, ip2" to cluster-view.xml but that didn't work either
but one way or another it just isn't able to start out - of - the -box.
I hope someone can help me, cause I really don't know what to do anymore.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027300#4027300
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027300
19Â years, 1Â month