java.lang.IllegalArgumentException: Registered more than one instance with the s

webloigc 10 在登录控制台或停止服务器时,出现如下错误:

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个同名的实例名

你可能感兴趣的:(java,weblogic)