[JCA/JBoss] - Re: InUseConnections > MaxPoolSize... is this possible?
by adrian@jboss.org
"Sancheski" wrote : Hi all
|
| I don't know if this situation may be reached. I have a ManagedConnectionPool with configuration:
|
| BackGroundValidationMinutes = 1
| MinPoolSize = 1
| MaxPoolSize = 3
| No IdleTimeout is set up.
|
| After performing a load test, I get this results at the Mbean of my service:
|
| AvailableConnectionCount = 1
| ConnectionCount = 1
| ConnectionCreatedCount = 6
| ConnectionDestroyedCount = 5
| (so far, everything seems to work fine)
| and then, the "impossible" attribute value...
| InUseConnectionCount = 4
|
| Is this possible?
| I have also checked the operation listInUseConnections() in service CachedConnectionManager, and I get an empty map. What I am guessing after seeing this is that the attribute InUseConnectionCount may be wrong.
|
| By the way, I am using Jboss-4.2.0.GA.
|
| Thanks a lot.
|
I don't see how that should be possible.
Can you try it without the background validation enabled, since that is new code in 4.2.x
Failing that, can you try doing a flush with TRACE logging enabled.
This will print out what connections it thinks are checked out and also some
basic information about the state they are in:
| public void flush()
| {
| ArrayList destroy = null;
| synchronized (cls)
| {
| if (trace)
| log.trace("Flushing pool checkedOut=" + checkedOut + " inPool=" + cls);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087266#4087266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087266
18 years, 8 months
[JBoss jBPM] - BPEL Commands not found under Netbeans + jbpm-bpel 1.1.3 bet
by ZazzaZ
Hi all,
this is not an issue subject! It's a problem solved.
I'm working with Neatbeans with the extensions to write BPEL processes.
My choice was targeted by my personal love for Netbeans.
I just found myself against a problem trying to deploy a process needing activity as scope and while.
The exception was:
RROR [ProblemHandler] SportelloUnico.bpel could not read process document
java.lang.NullPointerException
at org.jbpm.bpel.xml.util.XmlUtil.getAttribute(XmlUtil.java:269)
at org.jbpm.bpel.xml.BpelReader.readExpression(BpelReader.java:463)
at org.jbpm.bpel.xml.BpelReader.readExpression(BpelReader.java:445)
at org.jbpm.bpel.xml.WhileReader.readSpecificProperties(WhileReader.java:40)
at org.jbpm.bpel.xml.ActivityReader.read(ActivityReader.java:54)
at org.jbpm.bpel.xml.BpelReader.readActivity(BpelReader.java:1178)
at org.jbpm.bpel.xml.SequenceReader.readSpecificProperties(SequenceReader.java:41)
at org.jbpm.bpel.xml.ActivityReader.read(ActivityReader.java:54)
at org.jbpm.bpel.xml.BpelReader.readActivity(BpelReader.java:1178)
at org.jbpm.bpel.xml.BpelReader.readScope(BpelReader.java:540)
at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:251)
at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:200)
at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser.java:48)
...
I knew for previous error that this was caused by missing namespace and things like that. So I moved to atm example and added this namespace to
my process' one.
xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
But that was NOT enough. I had to explicitly used that namespace, by typing commands like
<bpel:while name="whileScope" condition="whileCond">
</bpel:while>
and now your process is whie-enable. Enjoy!
I hope I was of nome help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087256#4087256
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087256
18 years, 8 months