Hi,
I have a sort of weird error when I try to redeploy an EJB Timer. I mean, I can deploy the timer application with no problem, and it works, but when I attempt to redeploy the EJB, Glassfish comes out with the error and I can't redeploy the application and thus I have to undeploy the ear and deploy the EJB again. Does anyone know about a similar problem?
Thanks
@Stateless
public class Timer1 {
</pre>
<pre> /**
* Default constructor.
*/
public Timer1() {
// TODO Auto-generated constructor stub
}
@SuppressWarnings("unused")
@Schedule(second="*/10", minute="*", hour="8-23", dayOfWeek="Mon-Fri",
dayOfMonth="*", month="*", year="*", info="MyTimer")
private void scheduledTimeout(final Timer t) {
System.out.println("@Schedule called at: " + new java.util.Date());
}
}
Regards