Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure in setting RemoteAnonymousRMIT3Enabled/RemoteAnonymousRMIIIOPEnabled flag to false through WLST in all WLS on Azure VM Offers #179

Open
gnsuryan opened this issue Jul 21, 2022 · 2 comments
Assignees

Comments

@gnsuryan
Copy link
Member

gnsuryan commented Jul 21, 2022

Failure in setting RemoteAnonymousRMIT3Enabled/RemoteAnonymousRMIIIOPEnabled flag to false through WLST in all WLS on Azure VM Offers

The following exception is thrown, when trying to set RemoteAnonymousRMIT3Enabled and RemoteAnonymousRMIIIOPEnabled to false using WLST

The exception when trying to activate the WLST changes.

Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is completed.
WLST lost connection to the WebLogic Server that you were connected to.
This may happen if the server was shut down or partitioned.
You will have to re-connect to the server once the server is available.
Disconnected from weblogic server: admin
This Exception occurred at Wed Jul 20 13:29:12 UTC 2022.
java.lang.RuntimeException: weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
Error occurred while performing disconnect : Error while Activating changes. : weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
Use dumpStack() to view the full stacktrace :
Failed to DisableRemoteAnonymousRequests for domain adminDomain

@gnsuryan gnsuryan self-assigned this Jul 21, 2022
@gnsuryan gnsuryan changed the title Fix failure in setting RemoteAnonymousRMIT3Enabled/RemoteAnonymousRMIIIOPEnabled flag to false through WLST in all WLS on Azure VM Offers Failure in setting RemoteAnonymousRMIT3Enabled/RemoteAnonymousRMIIIOPEnabled flag to false through WLST in all WLS on Azure VM Offers Jul 21, 2022
@gnsuryan
Copy link
Member Author

The fix has been tested with all the three offers - Admin Only, Cluster & Dynamic Cluster and found working fine.
The following changes have been made to fix the issue.

  1. Remove use of WLST to set the RemoteAnonymousRMISettings
  2. Use WDT (WebLogic Deployment tool) - modelHelp utility to check if the RemoteAnonymousRMISettings related attributes are available as MBeans
  3. If available, then modify the WDT Domain yaml file to set the RemoteAnonymousRMISettings to false
  4. If not available, no change is required in the WDT Domain yaml file

@gnsuryan
Copy link
Member Author

created PR #184 for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant