There is a Timeout annotation you can add for one specific ejb3.
You can also set a glocal properties in ejb3.deployer/META-INF/jboss-service.xml (I don't remember the syntax but it was somewhere in old thread of this forum)
Thank you jc7442 for your reply.
I looked also on the ejb3.deployer/META-INF/jboss-service.xml but I found no hint, how to configure this.
I seached the forum for you hint about the configuration values. All I found was the follow posting:
Is this the posting you mean?
But I'm not sure how to set this values. Is there a documentation. Is there a wiki page about this values? I didn't find one.
You can change the timeout in
<container-name>Standard Stateful SessionBean</container-name>
Set the max-bean-age.
Hope this helps.
standardjboss.xml is ignored by EJB3 beans.
Thanks you wolfc.
I will try this.
But is there another way to configure the timeout not using annotations? I found the solution for EJB3 to override the configuration from the standardjboss.xml in my local jboss.xml a good solution. If I use annotition I'll have to make all changes in all classes and not in one configuration file.
jc7442 mentioned that there should be way to do this in the ejb3.deployer/META-INF/jboss-service.xml, but it seams that no one knows how to do this !?
Sorry folk, I made a mistake. I meant EJB2 not 3.
So the correct comment is:
I found the solution for EJB2 to override the configuration from the standardjboss.xml in my local jboss.xml a good solution. If I use annotition I'll have to make all changes in all classes and not in one configuration file.
To have the thread complete: for EJB3 you can modify ejb3-interceptors-aop.xml.