启动weblogic报错:
java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : base_domain:ServerRuntime=AdminServer,Name=default@portal@null,WorkManagerRuntime=default,ApplicationRuntime=portal,Location=AdminServer,Type=RequestClassRuntime new:weblogic.work.RequestClassRuntimeMBeanImpl@9491a9 existing weblogic.work.RequestClassRuntimeMBeanImpl@45105c
at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)at weblogic.management.mbeanservers.compatibility.internal.CompatibilityObjectNameManager.lookupObjectName(CompatibilityObjectNameManager.java:65)
at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
at weblogic.management.provider.core.RegistrationManagerBase.initiateRegistrationHandler(RegistrationManagerBase.java:233)
Truncated. see log file for complete stacktrace
问题原因:
以上错误的原因是新加的一个数据源名称和我们一个项目的名称相同,导致weblogic不能识别2个同名的实例名
原文地址:http://xiaohu0901.iteye.com/blog/837744