Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3189 (new)

Opened 14 years ago

Last modified 14 years ago

BUG:Chaning active group throws SecurityViolation — at Version 1

Reported by: atarkowska Owned by: jmoore
Priority: blocker Milestone: OMERO-Beta4.2.1
Component: Services Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-10-28 (18)

Description (last modified by atarkowska)

Changing active group after joining existing session throws SecurityViolation?

Traceback (most recent call last):
  File "/Users/ola/Dev/omero/components/tools/OmeroPy/test/integration/tickets4000.py", line 126, in chageActiveGroupWhenConnectionLost
    sf.setSecurityContext(omero.model.ExperimenterGroupI(grp.id.val, False))
  File "/Users/ola/Dev/omero/components/tools/OmeroPy/target/omero_API_ice.py", line 197, in setSecurityContext
    return _M_omero.api.ServiceFactory._op_setSecurityContext.invoke(self, ((obj, ), _ctx))
SecurityViolation: exception ::omero::SecurityViolation
{
    serverStackTrace = ome.conditions.SecurityViolation: SecurityContext change cancelled:
Client 4b2669dc-7075-49ef-beed-d411ce35d4c9 has active stateful services:
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f23omero.api.ThumbnailStore
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f24omero.api.Search
Client 2cdacc6a-aac7-416c-a5f3-e7efa7621a6a has active stateful services:
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f23omero.api.ThumbnailStore
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f24omero.api.Search
	at ome.services.sessions.events.ChangeSecurityContextEvent.throwIfCancelled(ChangeSecurityContextEvent.java:61)
	at ome.services.sessions.SessionManagerImpl.setSecurityContext(SessionManagerImpl.java:1106)
	at ome.services.blitz.impl.ServiceFactoryI.setSecurityContext(ServiceFactoryI.java:319)
	at omero.api._ServiceFactoryDisp.___setSecurityContext(_ServiceFactoryDisp.java:385)
	at omero.api._ServiceFactoryDisp.__dispatch(_ServiceFactoryDisp.java:1347)
	at IceInternal.Incoming.invoke(Incoming.java:159)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
	at Ice.ConnectionI.message(ConnectionI.java:972)
	at IceInternal.ThreadPool.run(ThreadPool.java:577)
	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)
    serverExceptionClass = ome.conditions.SecurityViolation
    message = SecurityContext change cancelled:
Client 4b2669dc-7075-49ef-beed-d411ce35d4c9 has active stateful services:
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f23omero.api.ThumbnailStore
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f24omero.api.Search
Client 2cdacc6a-aac7-416c-a5f3-e7efa7621a6a has active stateful services:
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f23omero.api.ThumbnailStore
a:c:1:fe:-7aa64d1e:12be294bfc0:-7f24omero.api.Search
}

Change History (1)

comment:1 Changed 14 years ago by atarkowska

  • Component changed from General to Services
  • Description modified (diff)
  • Owner set to jmoore
  • Priority changed from minor to blocker
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66618 sec.)

We're Hiring!