This content has been marked as final.
Show 2 replies
-
1. Re: Configuring SFSB maximim size in EJB3
rcaballero Apr 17, 2007 10:15 AM (in response to normanb)Hi folks,
I have the same problem but with SLSB. My jboss.xml file is the following<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"> <jboss> <enterprise-beans> <session> <ejb-name>PortfolioIdDeliverBean</ejb-name> <configuration-name>MyTunning</configuration-name> </session> </enterprise-beans> <container-configurations> <container-configuration extends="Standard Stateless SessionBean"> <container-name>MyTunning</container-name> <container-pool-conf> <MaximumSize>1</MaximumSize> <strictMaximumSize>true</strictMaximumSize> <strictTimeout>10</strictTimeout> </container-pool-conf> </container-configuration> </container-configurations> </jboss>
Even doing the changes in standarjboss.xml, the result is the same: it's possible to create more than one SLSB.
Regards -
2. Re: Configuring SFSB maximim size in EJB3
gbc Sep 6, 2007 9:55 PM (in response to normanb)Hi,
To use custom properties with EJB3 you have to declare this informations at ejb3-interceptors-aop.xml, or create a new file, like custom-ejb3-interceptors-aop.xml, and then you use the following annotation:
@AspectDomain("Put the Name of the Configuration Here")
Regards