-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
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:
- Open
server A
image - Try to open
server B
image (fails but leaves a cachedOMEROSession
forserver B
) - Manually closing the session created in (2)
- 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.