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 #1978 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

BUG: internal repo fails with external registry

Reported by: jamoore Owned by: jamoore
Priority: n.a. Milestone: OMERO-Beta4.2
Component: n.a. Version: n.a.
Keywords: n.a. Cc: cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-03-19 (5)

Description (last modified by jmoore)

In default.xml, the IceGrid registry is collocated with blitz. When separating it out into another process (in trunk), the following happens:

2010-03-10 00:18:43,500 INFO  [        ome.services.util.ServiceHandler] (r_Worker-1)  Rslt:	IceGrid.DeploymentException
    reason = "failed to invoke ice_id() on proxy `InternalRepository-d27f1e95-feb2-4e93-a041-957438a4464e -t @ BlitzAdapters':
              Reference.cpp:1585: Ice::NoEndpointException:
              no suitable endpoint available for proxy `InternalRepository-d27f1e95-feb2-4e93-a041-957438a4464e -t @ BlitzAdapters'"
2010-03-10 00:18:43,501 ERROR [me.services.blitz.repo.LegacyRepositoryI] (r_Worker-1) Failed during repository takeover
IceGrid.DeploymentException
    reason = "failed to invoke ice_id() on proxy `InternalRepository-d27f1e95-feb2-4e93-a041-957438a4464e -t @ BlitzAdapters':
              Reference.cpp:1585: Ice::NoEndpointException:
              no suitable endpoint available for proxy `InternalRepository-d27f1e95-feb2-4e93-a041-957438a4464e -t @ BlitzAdapters'"
...at ome.services.blitz.repo.LegacyRepositoryI$GetOrCreateRepo.doWork(LegacyRepositoryI.java:292)

and then

2010-03-10 00:22:43,195 INFO  [        ome.services.util.ServiceHandler] (r_Worker-1)  Rslt:	Ice.AlreadyRegisteredException
    kindOfObject = "servant"
    id = "InternalRepository-d27f1e95-feb2-4e93-a041-957438a4464e"
2010-03-10 00:22:43,196 ERROR [me.services.blitz.repo.LegacyRepositoryI] (r_Worker-1) Failed during repository takeover
Ice.AlreadyRegisteredException
    kindOfObject = "servant"
    id = "InternalRepository-d27f1e95-feb2-4e93-a041-957438a4464e"
...	at ome.services.blitz.repo.LegacyRepositoryI$GetOrCreateRepo.doWork(LegacyRepositoryI.java:292)

Change History (11)

comment:1 Changed 14 years ago by jmoore

  • Summary changed from Bug: internal repo fails with external registry to BUG: internal repo fails with external registry

comment:2 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:3 Changed 14 years ago by cxallan

  • Sprint changed from 2010-03-05 (4) to 2010-03-19 (5)

comment:4 Changed 14 years ago by jmoore

The first exception seems to be caused by attempt to add a proxy to the registry before the adapter has been activated. (The following exceptions were caused by unsafe use of objectAdapter.add(), i.e. not taking into consideration that reg.addObject could throw an exception). Testing a patch now.

comment:5 Changed 14 years ago by jmoore

  • Cc cneves-x added
  • Description modified (diff)

comment:6 Changed 14 years ago by jmoore

  • Remaining Time changed from 1 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6332]) fix #1978 - activating before call to registry

comment:7 Changed 14 years ago by jmoore

(In [6333]) see #1978 - activating before call to registry (ported r6332)

comment:8 Changed 13 years ago by jmoore <jmoore@…>

(In [1d9a5eefa6e7cccd401dd20964618d87aa062f02/ome.git]on branches 4_1, dev_4_1, dev_4_1_custom) fix #1978 - activating before call to registry

git-svn-id: file:///home/svn/omero/branches/Beta4.1@6332 05709c45-44f0-0310-885b-81a1db45b4a6

comment:9 Changed 13 years ago by jmoore <jmoore@…>

(In [1d9a5eefa6e7cccd401dd20964618d87aa062f02/ome.git]on branches 4_1, 4_1_custom, dev_4_1, dev_4_1_custom, josh/4.1-web-backport) fix #1978 - activating before call to registry

git-svn-id: file:///home/svn/omero/branches/Beta4.1@6332 05709c45-44f0-0310-885b-81a1db45b4a6

comment:10 Changed 13 years ago by jmoore <josh@…>

(In [2a164995ef8f67a890906b03e875d5affad86f97/ome.git] on branch dev_4_1_custom) Adding call to createDirectProxy in omero.util.Server (See #1978)

comment:11 Changed 13 years ago by jmoore <josh@…>

(In [aed70c8aa3f24251a0cf58991ca472a1846b596f/ome.git] on branch develop) Adding call to createDirectProxy in omero.util.Server (See #1978)

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.70345 sec.)

We're Hiring!