you could create an mbean that loops over some create calls once the ejb is deployed
(you'd have to make the mbean's deployment dependent upon the ejb deployment).
are there specific reasons you're looking to have instances created upfront instead of
using lazy instanciation?
View the origina
I'm in the same boat as the author of this thread. I know that the JBoss manual says
JBoss does not preseed the pool... but maybe someone knows of a trick to get the
desired effect? Maybe now is a good time to add the preseed ability to JBoss? :-)
View the original post :
http://www.jboss.or
Per page 270 of the Admin and Devel guide, JBoss AS does not pre-seed the pool to the
minimum size at startu-up -- if that is what you are trying to accomplish.
anonymous wrote : The MinimumSize element gives the minimum number of instances to
keep in the pool, although JBoss does not currently
Sorry, wrong paste, here :
|
|
|
| StartupSession
| StartupSessionLocal
|
|
| ejb/RDISQLRuntimeManagerBean
| RDISQLRuntimeManagerBeanLocal
|
|
|
Here is the jboss.xml of the EJBs
anonymous wrote :
|
| http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd'>
|
|
|
|
| StartupSession
| StartupSessionLocal
|
|
| ejb/RDISQLRuntimeManagerBean
|
you only really need to add the entry into one location, or the other. specifying it
in the standardjboss.xml file means it's a global configuration.
specifying in the jboss.xml means it's specific to only that set of ejbs.
can you post the entire contents of your jboss.xml file?
View the orig
|
|
| Standard Stateless SessionBean
|
|
|
| 1
| 1
| true
|
|
|
|
|
|
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828784#3828784
Re
Hi jae77, thank you for your reply.
I try what you said. I add those into the ejb's jboss.xml and standardjboss.xml. But
it seem dosen't work :(
Standard Stateless SessionBean
1
1
true
Can you help me?
Thanks
no forum bug :) the tag got messed up.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828770#3828770
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828770
---
This S
|
|
|
|
|
ok - sorry for all the spam this caused - not sure if there is a bug w/ the xml
rendering or not.
---
the above xml needs to be added to either the standardjboss.xml file or the ejb's
jboss.xml file.
you can also check out the dtds in your JBOSS_HOME directo
"jae77" wrote : you need to add the following to the container configuration contained
in standardjboss.xml or in the ejb's jboss.xml file.
|
|
|
|
|
|
|
|
| min/max size = min / max beans to create
|
| enable strictMaximumSize = true to set hard limit of ej
you need to add the following to the container configuration contained in
standardjboss.xml or in the ejb's jboss.xml file.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828765#3828765
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=post
12 matches
Mail list logo