Reregister Fusion Middleware home Error Fail to invoke operation mbeans

Register the ofm11g instance with the middleware home due to fail to invoke operation error. This is supposed to only be required after a software upgrade but I have seen it several times.

 

Solution
1. Make sure the AdminServer is up and running.
2. Run the <as instance home>/bin/opmnctl unregisterinstance command.
e.g. <as instance home>/bin/opmnctl unregisterinstance -instanceName instance1 -adminHost myhostname -adminPort 7001
3. Run the opmnctl redeploy command.
e.g. <as instance home>/bin/opmnctl redeploy -adminHost myhostname -adminPort 7001
the command will prompt for the weblogic username and password. Just provide them to complete the command run.
4. Run the opmnctl registerinstance command.
e.g. <as instance home>/bin/opmnctl registerinstance -adminHost myhostname -adminPort 7001