weblogic中使用EJB Timer

红番茄 发布于 2013/05/13 14:35
阅读 537
收藏 0

weblogic,使用了EJB Timer,启动服务器总报错

<2013-5-13 下午02时34分33秒 CST> <Error> <EJB> <BEA-011090> <The following error occurred while preparing to invoke the ejbTimeout(javax.ejb.Timer) method of EJB TaskTimer(Application: AirTicket, EJBComponent: AirTicket).
java.lang.AssertionError: No transaction policy specified!
at weblogic.ejb.container.internal.InvocationWrapper.enforceTransactionPolicy(InvocationWrapper.java:262)
at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:85)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_preInvoke(BaseLocalObject.java:67)
at weblogic.ejb.container.internal.TimerDrivenLocalObject.preInvoke(TimerDrivenLocalObject.java:35)
at weblogic.ejb.container.timer.TimerImpl.timerExpired(TimerImpl.java:296)
Truncated. see log file for complete stacktrace

加载中
返回顶部
顶部