I also have observed this leak, take a look at this topic:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=84255
As far as I observed, the leak is caused by the following sequence of
operations:
- querying server for entities and obtaining them via rmi to the remote java
client
- constu
Hi,
I have an entity bean with a collection of items.
| @OneToMany(cascade = { CascadeType.ALL}, fetch = FetchType.LAZY, mappedBy
="invoice")
| @BatchSize( size = 10)
| public List getItems()
| {
| return items;
| }
|
Everything works fine in everyday use. But ocassionaly I
AFAIK there is no standard way do this.
My solution on JBoss looks like this:
| @Service
| @Depends( {
| //things i need before my startup code executes
"jboss.j2ee:ear=baks-erp.ear,jar=baks-erp-ejb3.jar,name=TheBeanINeedInStartupCodeEJB,service=EJB3",
| })
| public class Star