[ome-users] Extending OMERO fails

Josh Moore josh at glencoesoftware.com
Thu Mar 22 18:16:41 GMT 2012


On Mar 22, 2012, at 4:59 PM, Harri Jäälinoja wrote:

> 
>> This looks like a bug in the server itself. This line:
>> 
>>   https://github.com/openmicroscopy/openmicroscopy/blob/dev_4_3/components/server/src/ome/logic/LdapImpl.java#L474
>> 
>> doesn't strip off the ":bean:" prefix as is done in the other beans, e.g.
>> 
>>   https://github.com/openmicroscopy/openmicroscopy/blob/dev_4_3/components/server/src/ome/security/auth/QueryNewUserGroupBean.java#L46
>> 
>> You can try to rename your bean :bean:hyHcNewUserGroupBean and see if that works. And I'll look into fixing this as soon as possible.
>> 
>> Thanks for hanging in there!
>> ~Josh.
>> 
> 
> Hi Josh,
> 
> your example was great help, thanks! Much quicker now :)

:)

> ---
> BUILD SUCCESSFUL
> Total time: 3 seconds
> ---
> 
...
> 
> So I have the fresh hyldap.jar in [OMERO]/lib/server
> 
> [omero at lmu-omero2 OMERO.server-Beta-4.3.3]$ mkdir tmp
> [omero at lmu-omero2 OMERO.server-Beta-4.3.3]$ cd tmp
> [omero at lmu-omero2 tmp]$ jar xvf ../lib/server/hyldap.jar
> 
...
> Is there maybe something else I need to do to make OMERO aware of the hyldap.jar?

Sorry for being unclear. You'll have to copy hyldap.jar on top of lib/server/extensions.jar, i.e. replace the previous jar. I'm working on a new repository:

  https://github.com/joshmoore/ome-services-example

that will also do that copying for you, but I need to do more testing.

Cheers,
~Josh




More information about the ome-users mailing list