8 Replies Latest reply: Jul 9, 2012 4:46 AM by Kalyan Pasupuleti-Oracle RSS

    java.lang.IllegalArgumentException: Registered with same objectName

    668040
      I get the following exception in weblogic logs when deploying an ear file. Restarting the weblogic server, or undeploy/then redeploy has no effect. Any suggestions on how to fix this:

      <Oct 31, 2008 11:24:19 AM EDT> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
      java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : foo:ServerRuntime=AdminServer,Name=weblogic.ejb.timer.foo.fooPortalEJB.jar.fooRuntimeEJB,Location=AdminServer,Type=PersistentStoreConnectionRuntime,PersistentStoreRuntime=_WLS_AdminServer new:weblogic.store.admin.PersistentStoreConnectionRuntimeMBeanImpl@cf590 existing weblogic.store.admin.PersistentStoreConnectionRuntimeMBeanImpl@8f83a9
      at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:152)
      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.internal.RegistrationManagerImpl.initiateRegistrationHandler(RegistrationManagerImpl.java:228)
      Truncated. see log file for complete stacktrace

      Thanks.

      Edited by: user10496229 on Nov 2, 2008 9:14 AM