1 Reply Latest reply on Mar 30, 2007 3:06 PM by Chris Laprun

    Overwriting registered mbean

    Jürgen Hersch Newbie

      Hi,

      i like to hot deploy a new CMSObjectCommandFactory for JPortal 2.4.1
      but I get an exception:

      org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: portal:commandFactory=CMSObject
      

      Is it possible to overwrite a registered mbean?
      Has anybody any idea?

      Thanks.

        • 1. Re: Overwriting registered mbean
          Chris Laprun Master

          You can change the service definition by modifying the appropriate bean in the appropriate jboss-service.xml (look for portal:commandFactory=CMSObject). However, you shouldn't do that unless you know what you are doing... If you can't figure out which file or what to change, it's probably a good sign that you shouldn't be doing it ;)