[JCA/JBoss] - Re: InUseConnections > MaxPoolSize... is this possible?
by Sancheski
Here is de ds
<?xml version="1.0" encoding="UTF-8"?>
<connection-factories>
<no-tx-connection-factory>
<!-- Where to bind the datasource, under the "java:/" prefix -->
<jndi-name>LdapConnector</jndi-name>
<rar-name>10xxxx.ear#ldap-connector.rar</rar-name>
<connection-definition>com.hp.som.connector.CapabilityConnectionFactory</connection-definition>
<config-property name="ldapContextFactory" type="java.lang.String">com.sun.jndi.ldap.LdapCtxFactory</config-property>
<config-property name="providerUrl" type="java.lang.String">ldap://10.31.21.83:389/</config-property>
<config-property name="securityAuthentication" type="java.lang.String">SIMPLE</config-property>
<config-property name="securityPrincipal" type="java.lang.String">uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot</config-property>
<config-property name="securityCredentials" type="java.lang.String">admin</config-property>
<!-- The minimum number of connections a pool should hold -->
<min-pool-size>1</min-pool-size>
<!-- The maximum number of connections for a pool -->
<max-pool-size>3</max-pool-size>
<!-- The maximum time in milliseconds to block while waiting for a connection -->
<!-- before throwing an exception. Note that this blocks only while waiting -->
<!-- for a permit for a connection, and will never throw an exception if -->
<!-- creating a new connection takes an inordinately long time -->
<blocking-timeout-millis>3000</blocking-timeout-millis>
<!-- The maximum time in minutes a connection may be idle before being closed -->
<idle-timeout-minutes>0</idle-timeout-minutes>
<background-validation>true</background-validation>
<background-validation-minutes>1</background-validation-minutes>
</no-tx-connection-factory>
</connection-factories>
Hope it is helpful,
Thanks
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085884#4085884
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085884
18 years, 10 months
[JBoss Messaging] - Re: Bridge under load throws IllegalStateException
by mclu
Hi Tim!
I don't have much time currently to create an easy testcase because of project priorities. So I have to fight fist to get more time on this (with my wife and my Boss :-) )
But meanwhile I have tested the MaxBatchTime -1 setting and shaped the problem a little.
Again my setup but now only the relevant parts:
- 2 Servers A and B
- A should send messages to B. B processes the messages and sometimes send result to A.
Technical architecture
-A holds a queue Q1 which is bridged to B Bridged_Q1
-On B there is MDB processing the Messages in Bridged_Q1 and send results to Q2.
-Results are bridged to A Bridged_Q2
-on A there is a MDB which stores results.
So each side holds 2 queues. The bridge for both sides are deployed on A.
Testsituation:
about 900 Messages are waiting in Q1
When I now hotdeploy my bridge on A it starts the above processing:
MaxBatchSize is always set to 2
Result:
With maxBatchTime 200 or 300 I have a lot of errors. With 100 it is less!.
With -1 there is no Problem anymore...
It must have something to do if there are 2 directions with messages or two bridges are active at the same time for the same server. My third Server (which only send messages to A) have no bridging problem.
thx again for your effords!!
Markus Lutum
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085878#4085878
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085878
18 years, 10 months
[JBoss Seam] - Re: Gavin King: Bad tools of Seam is kill its uses!!!
by ybxiang.wolf
Yes, i never use seam-tools too.
Now, i only use Ant.
But how to edit FACET? JBPM? Yes, they can be written by hand too.
But you will waste more time because of writting errors,etc.
As we know, we cann't delete files such as web.xml(in exploded war file) from jboss. So,at last, how to deploy EAR as EXPLODED file and JAR,WAR as archived files automatically???
Netbeans5.5 can do it!!!!
Why cann't JBoss Tools or RHDS?
"supernovasoftware.com" wrote : I have never tried using seam tools, but I am looking for well designed reusable code. My facelets templates are many levels deep. I write every thing by hand and prefer it that way.
|
| It gives me better understanding and control. I would only be interested in drag and drop for simple prototyping.
| ~~~~~~~~~yes, you are right. Netbeans, JBossTool can do it now. But why not get better?
|
| Seam gen sets up a working project or just take one of the example and modify.
| ~~~~~~~~~~~I agree with you, I never use Seam-gen, too simple.
|
| I used seam gen to make a seam 2.0 project and then used the seamdisc example to integrate trinidad.
| ~~~~~~Ha, ha, me too!!!
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085877#4085877
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085877
18 years, 10 months