Skip to content

Connecting to multiple OMERO servers doesn't seem to work #112

@hinerm

Description

@hinerm

When running in Fiji with the "Import from OMERO" commands, given two OMERO database locations (server A and server B), attempting to open an image from server A and then an image from server B within the same JVM results in security errors such as "User doesn't have access" or "Group doesn't exist".

Interestingly, when the following steps happens:

  1. Open server A image
  2. Try to open server B image (fails but leaves a cached OMEROSession for server B)
  3. Manually closing the session created in (2)
  4. Opening an image from server B again

It works! But then trying to open a server A image using its originally cached OMEROSession fails with the aforementioned security exceptions.

This strongly suggests one of:

  • there is additional cached state on the OMERO side making caching sessions inadvisable
  • we're using the OMERO API incorrectly

Currently, the user workaround is to restart the application when needing to switch servers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions