Hi guys,
I further investigated the problem... after commenting my two @Schedule annotations no more Threads are produced.
The code for my Scheduled Bean looks like this:
@ConcurrencyManagement(javax.ejb.ConcurrencyManagementType.CONTAINER)
@Startup
@Singleton
public class ReporterTaskBean {
@EJB
private DataBean pdb;
@Schedule(minute = "*/1", hour = "*")
public void executeTimer() {
// some code
}
}
Is there a proper way to destroy objects or free resources of those beans.
Cheers
Peter
[Message sent by forum member 'peter0601']
http://forums.java.net/jive/thread.jspa?messageID=472219