Skip to content

Hosted Remote Console: Browser refresh removes all providers except last-used from user-projects.json #108

@Edzilla2000

Description

@Edzilla2000

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

  1. Deploy and access Hosted WebLogic Remote Console
  2. Add multiple Admin Server Connection Providers (e.g., 5+ remote domains)
  3. Connect to one of the providers and perform some actions
  4. Press F5 or click the browser refresh button
  5. Observe that only the last-used provider remains in the Providers drawer
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions