[jboss-user] [EJB 3.0] - Re: MDB pool configuration EJB3
http://www.jboss.com/index.html?module=bbop=viewtopicp=4135987 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135988#4135988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB pool configuration EJB3
I am having a problem following your suggestion. I increased by session size to 20 using : @ActivationConfigProperty(propertyName = maxSession, propertyValue = 20 but now I get the following exception : anonymous wrote : Failed to acquire the pool semaphore, strictTimeout=1 A search on the forum suggestion that I need to increase my MDB pool size to boyond the number of the sessions. http://www.jboss.org/index.html?module=bbop=viewtopict=58293 However you suggest that this is not the way to go. I tried it and it didn't work. It complained about the jboss.xml file not being correct. Is there another solution to the Failed to acquire the pool semaphore, strictTimeout=1 ? Thanks Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107064#4107064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB pool configuration EJB3
Before you get your hopes up out of old posts, note that pool configurations on a MDB is not the way to go. http://jira.jboss.com/jira/browse/EJBTHREE-890 Also note that expiration of messages is an issue. http://jira.jboss.com/jira/browse/EJBTHREE-938 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038728#4038728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB pool configuration EJB3
And in case anyone is wondering. This is how you do the same thing in jboss.xml: | ?xml version=1.0 encoding=UTF-8? | jboss | xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee | http://www.jboss.org/j2ee/schema/jboss_5_0.xsd; | version=3.0 |security-domainjava:/jaas/example-domain/security-domain |enterprise-beans | message-driven | ejb-namesample.MDB/ejb-name | pool-config | pool-classorg.jboss.ejb3.StrictMaxPool/pool-class | pool-max-size1/pool-max-size | pool-timeout5000/pool-timeout | /pool-config | /message-driven |/enterprise-beans | /jboss | BTW thanks for this thread. You saved my bacon. And thanks to Eclipse for having an XML editor that understands xsd. Oh and thanks to JIRA for showing that the xsd existed! Finally I'd like to thank my producer... j/k - its late. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038208#4038208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user