Environment
- Hosted WebLogic Remote Console Version: 2.4.18 (latest PSU applied)
- WebLogic Server hosting the console: 14.1.2.0.0
- Browser: Firefox
- OS: Oracle linux 9
Description
When using the Hosted WebLogic Remote Console and performing a browser refresh (F5 or browser refresh button), all configured Admin Server Connection Providers are removed from the project except for the last-used provider. The configuration file user-projects.json is overwritten with only the single provider that was most recently accessed.
Steps to Reproduce
- Deploy and access Hosted WebLogic Remote Console
- Add multiple Admin Server Connection Providers (e.g., 5+ remote domains)
- Connect to one of the providers and perform some actions
- Press F5 or click the browser refresh button
- Observe that only the last-used provider remains in the Providers drawer
- Check the persistence file - it now contains only one provider
Expected Behavior
Browser refresh should reload the console UI while preserving all configured providers. The user-projects.json file should not be modified by a browser refresh.
Actual Behavior
Browser refresh causes the console to lose all providers except the one most recently used. The server-side persistence file at:
DOMAIN_HOME/remote-console-persistence/<username>/user-projects.json
is overwritten with only the single last-used provider, permanently losing all other provider configurations.
Relevant Log Output
Connection to remote domains works correctly before refresh:
<Info> <weblogic.remoteconsole.server.connection.ConnectionManager> <BEA-000000> <Connection response from WebLogic Domain: InboundJaxrsResponse{context=ClientResponse{method=POST, uri=http://hostname:7001/management/weblogic/12.2.1.0.0/domainConfig/search?enableConsoleRestExtension=true, status=200, reason=OK}}>
<Info> <weblogic.remoteconsole.server.connection.ConnectionManager> <BEA-000000> <The domain has version '2.4.18-internal' of the WebLogic Remote Console Extension installed.>
<Info> <weblogic.remoteconsole.server.connection.ConnectionManager> <BEA-000000> <>>>> Connected to the WebLogic Domain 'XXX' with version '14.1.1.0.0' <<<<>
Workaround
- I set 444 permissions on the file. This works, but prevents me from updating the providers from the web
Environment
Description
When using the Hosted WebLogic Remote Console and performing a browser refresh (F5 or browser refresh button), all configured Admin Server Connection Providers are removed from the project except for the last-used provider. The configuration file
user-projects.jsonis overwritten with only the single provider that was most recently accessed.Steps to Reproduce
Expected Behavior
Browser refresh should reload the console UI while preserving all configured providers. The
user-projects.jsonfile should not be modified by a browser refresh.Actual Behavior
Browser refresh causes the console to lose all providers except the one most recently used. The server-side persistence file at:
is overwritten with only the single last-used provider, permanently losing all other provider configurations.
Relevant Log Output
Connection to remote domains works correctly before refresh:
Workaround