2011-09-08 42 views
1

我有它运行great.During应用程序部署我看到这个错误在我的WL日志的EJB3.0定时器,EJB计时器抛出:IllegalArgumentException

An exception occurred while registering the MBean null.java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=admin,Name=weblogic.ejb.timer" 

和取消在此

An unexpected error was encountered while attempting to remove any EJB Timers from the persistent store for the EJB 'TimerBean(Application:) 

我不使用持久性存储机制。我使用servlet上下文触发计时器。

我们使用WL 10.3.1,我如何克服/捕获这个异常,以免它在构建过程中显示。

谢谢

回答

0

WLS ejb定时器被保存到默认存储区。错误消息似乎与它有关。它可能来自之前部署的ejb计时器是干扰性的。服务器重新启动可以解决此问题吗?您可能需要在WLS 10.3.4上尝试您的应用程序,以查看问题是否已解决。

+0

嗨,在取消部署和部署期间抛出此错误,一旦应用程序正在运行,我不会看到这个问题。我们无法迁移到WL 10.3.4只是为了克服这一点,但我已阅读此版本的WL应该有所不同。我可能需要知道的一件事是“如何检测定时器干扰”? – user874722

相关问题