[JBoss Messaging] - Max. Pool size for JmsXA
by rana24
Hi,
We are running our application with JBoss 4.2.3 GA with JBM 1.4.0SP3.
I have just changed my anti pattern ,connection creation code to JmsXA lookup. I could see a great performance improvment.
With default setting i am getting below error. I guess it has something do with default max pool size, which is 20. in hajndi-jms-ds.xml
i.e. <max-pool-size>20</max-pool-size>
| Could not create a session: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] )
| javax.jms.JMSException: Could not create a session: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] )
| at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:421)
| at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:145)
| at com.alservices.imaging.export.process.util.AuditUtil.setjobDocResource(AuditUtil.java:281)
|
I have increased it max-pool-size and i could reduce frequency of above error. Our application does a heavy usage of messaging.
I have two basic question
1) Above error is because of low pool size ?
if Yes , what is the max. limit for max.pool.size
2) If above error is not because of pool size , what could be other reason ?
Thanks in advance.
Hoping for right direction.
Rana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201429#4201429
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201429
17 years, 6 months
[JBossWS] - JBoss 5.0.0.GA: WebCtxLoader - RuntimeException: mapped-name
by rijkr
I am using jboss-5.0.0.GA to deploy a web service. This service uses a WebService Context. In jboss-web.xml the following tags are present:
<resource-ref>
<res-ref-name>MyWebService/wsc</res-ref-name>
<res-type>javax.xml.ws.WebServiceContext</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
<injection-target>
<injection-target-class>MyWebService</injection-target-class>
<injection-target-name>wsc</injection-target-name>
</injection-target>
</resource-ref>
When starting jboss (run.sh) MyWebService fails to start, due to this error (server.log):
2009-01-13 11:39:37,772 DEBUG [org.jboss.web.tomcat.service.WebCtxLoader] (main) injectionContainer enabled and processing beginning with JBoss WebCtxLoader
2009-01-13 11:39:37,857 ERROR [org.apache.catalina.core.StandardContext] (main) Context [/MyWebApplication] startup failed due to previous errors
java.lang.RuntimeException: mapped-name is required for MyWebService/wsc of deployment MyWebApplication.war
I saw some posts regarding this issue but am not sure if this is a known issue for the 5.0.0.GA release, or that there is a solution available?
Can anyone help me with a solution?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201381#4201381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201381
17 years, 6 months