<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>
<div>Hi Tjelvare<br>
<br>
</div>
What version of Java are you using? We've come across a similar problem before:<br>
<a href="https://trac.openmicroscopy.org/ome/ticket/12612">https://trac.openmicroscopy.org/ome/ticket/12612</a><br>
<br>
But it's reported as being fixed in the latest Java 8:<br>
<a href="https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1421501">https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1421501</a><br>
<div>(that bug report is for Ubuntu, but RHEL/CentOS should also have the updated Java)<br>
</div>
<br>
</div>
<div>Could you provide us with the output of:<br>
- omero admin diagnostics<br>
- omero config get --hide-password (just in case it's different from your ansible config)<br>
</div>
<div><br>
</div>
Simon<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 12 November 2015 at 13:28, Tjelvar Olsson (JIC) <span dir="ltr">
<<a href="mailto:Tjelvar.Olsson@jic.ac.uk" target="_blank">Tjelvar.Olsson@jic.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi,<br>
<br>
I cannot currently view thumbnails in: OMERO.web 5.1.2-ice35-b45 running on a CentOS 7 VM, installed using an Ansible playbook developed earlier in the year:<br>
<br>
<a href="https://github.com/JIC-CSB/omero-ansible" target="_blank">https://github.com/JIC-CSB/omero-ansible</a><br>
<br>
I've just realised that I cannot view thumbnails in the web interface. Looking at the OMERO.<br>
<br>
I have appended some output from the OMEROweb.log that seemed relevant.<br>
<br>
Any idea what is wrong with my installation?<br>
<br>
Regards,<br>
<br>
Tjelvare<br>
<br>
<br>
2015-11-12 13:13:00,143 WARNI [                           omero.gateway] (proc.24856) debug:4105 InternalException on <class 'omeroweb.webclient.webclient_gateway.OmeroWebSafeCallWrapper'> to <b1d90d71-3f90-4b72<br>
-b3f8-858d3b3ef964omero.api.RenderingEngine> renderCompressed((object #0 (::omero::romio::PlaneDef)<br>
{<br>
    slice = 0<br>
    x = 0<br>
    y = 0<br>
    z = 0<br>
    t = 0<br>
    region = <nil><br>
    stride = 0<br>
}, <ServiceOptsDict: {'omero.session.uuid': 'abe5fa60-6b2b-4ae6-b7b5-da97732ee258', 'omero.group': '-1', 'omero.client.uuid': '9984e28e-6cfd-4929-90ab-7815ff95c82f'}>), {})<br>
Traceback (most recent call last):<br>
  File "/home/omero/OMERO.server/lib/python/omero/gateway/__init__.py", line 4123, in __call__<br>
    return self.f(*args, **kwargs)<br>
  File "/home/omero/OMERO.server/lib/python/omero_api_RenderingEngine_ice.py", line 307, in renderCompressed<br>
    return _M_omero.api.RenderingEngine._op_renderCompressed.invoke(self, ((_def, ), _ctx))<br>
InternalException: exception ::omero::InternalException<br>
{<br>
    serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.NoClassDefFoundError):<br>
Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageWriter<br>
        at com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.createWriterInstance(JPEGImageWriterSpi.java:96)<br>
        at javax.imageio.spi.ImageWriterSpi.createWriterInstance(ImageWriterSpi.java:351)<br>
        at javax.imageio.ImageIO$ImageWriterIterator.next(ImageIO.java:843)<br>
        at javax.imageio.ImageIO$ImageWriterIterator.next(ImageIO.java:827)<br>
        at ome.logic.CompressImpl.compressToStream(CompressImpl.java:34)<br>
        at ome.services.RenderingBean.renderCompressed(RenderingBean.java:545)<br>
        at sun.reflect.GeneratedMethodAccessor1781.invoke(Unknown Source)<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
        at java.lang.reflect.Method.invoke(Method.java:606)<br>
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)<br>
        at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)<br>
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)<br>
        at com.sun.proxy.$Proxy107.renderCompressed(Unknown Source)<br>
        at sun.reflect.GeneratedMethodAccessor1781.invoke(Unknown Source)<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
        at java.lang.reflect.Method.invoke(Method.java:606)<br>
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)<br>
        at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)<br>
        at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)<br>
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)<br>
        at com.sun.proxy.$Proxy107.renderCompressed(Unknown Source)<br>
        at sun.reflect.GeneratedMethodAccessor2657.invoke(Unknown Source)<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
        at java.lang.reflect.Method.invoke(Method.java:606)<br>
        at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)<br>
        at ome.services.throttling.Callback.run(Callback.java:56)<br>
        at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)<br>
at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:149)<br>
        at ome.services.blitz.impl.RenderingEngineI.renderCompressed_async(RenderingEngineI.java:339)<br>
        at sun.reflect.GeneratedMethodAccessor2656.invoke(Unknown Source)<br>
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
        at java.lang.reflect.Method.invoke(Method.java:606)<br>
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)<br>
        at omero.cmd.CallContext.invoke(CallContext.java:78)<br>
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)<br>
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)<br>
        at com.sun.proxy.$Proxy109.renderCompressed_async(Unknown Source)<br>
        at omero.api._RenderingEngineTie.renderCompressed_async(_RenderingEngineTie.java:276)<br>
        at omero.api._RenderingEngineDisp.___renderCompressed(_RenderingEngineDisp.java:575)<br>
        at omero.api._RenderingEngineDisp.__dispatch(_RenderingEngineDisp.java:1667)<br>
        at IceInternal.Incoming.invoke(Incoming.java:222)<br>
        at Ice.ConnectionI.invokeAll(ConnectionI.java:2482)<br>
        at Ice.ConnectionI.dispatch(ConnectionI.java:1258)<br>
        at Ice.ConnectionI.message(ConnectionI.java:1213)<br>
        at IceInternal.ThreadPool.run(ThreadPool.java:321)<br>
        at IceInternal.ThreadPool.access$300(ThreadPool.java:12)<br>
        at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)<br>
        at java.lang.Thread.run(Thread.java:745)<br>
<br>
    serverExceptionClass = ome.conditions.InternalException<br>
    message =  Wrapped Exception: (java.lang.NoClassDefFoundError):<br>
Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageWriter<br>
}<br>
<br>
</div>
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</div>
<br>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>