<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Simon,<br>
<br>
Thanks for the quick reply.<br>
<br>
Running:<br>
<br>
# yum install java-1.8.0-openjdk<br>
# yum remove java-1.7.0<br>
# yum remove java-1.7.0-openjdk-headless.x86_64<br>
<br>
Followed by restarting omero and omero web solved the problem.<br>
<br>
Below are the details of the server, prior to me applying the fix.<br>
<br>
Thanks for your help,<br>
<br>
Tjelvar<br>
<br>
$ java -version<br>
java version "1.7.0_91"<br>
OpenJDK Runtime Environment (rhel-2.6.2.1.el7_1-x86_64 u91-b00)<br>
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)<br>
<br>
<br>
$ ./bin/omero admin diagnostics<br>
<br>
================================================================================<br>
OMERO Diagnostics 5.1.2-ice35-b45<br>
================================================================================<br>
        <br>
WARNING:omero.util.UpgradeCheck:UPGRADE AVAILABLE:Please upgrade to 5.1.4 See http://trac.openmicroscopy.org.uk/omero for the latest version<br>
<br>
Commands:   java -version                  1.7.0     (/usr/bin/java)<br>
Commands:   python -V                      2.7.5     (/usr/bin/python)<br>
Commands:   icegridnode --version          3.5.1     (/usr/bin/icegridnode)<br>
Commands:   icegridadmin --version         3.5.1     (/usr/bin/icegridadmin)<br>
Commands:   psql --version                 9.4.5     (/usr/bin/psql)<br>
<br>
Server:     icegridnode                    running<br>
Server:     Blitz-0                        active (pid = 716, enabled)<br>
Server:     DropBox                        active (pid = 728, enabled)<br>
Server:     FileServer                     active (pid = 729, enabled)<br>
Server:     Indexer-0                      active (pid = 764, enabled)<br>
Server:     MonitorServer                  active (pid = 737, enabled)<br>
Server:     OMERO.Glacier2                 active (pid = 740, enabled)<br>
Server:     OMERO.IceStorm                 active (pid = 743, enabled)<br>
Server:     PixelData-0                    active (pid = 749, enabled)<br>
Server:     Processor-0                    active (pid = 734, enabled)<br>
Server:     Tables-0                       inactive (disabled)<br>
Server:     TestDropBox                    inactive (enabled)<br>
<br>
Log dir:    /home/omero/OMERO.server-5.1.2-ice35-b45/var/log exists<br>
<br>
Log files:  Blitz-0.log                    366.0 MB      errors=597  warnings=1661<br>
Log files:  DropBox.log                    1.0 KB       <br>
Log files:  FileServer.log                 0.0 KB       <br>
Log files:  Indexer-0.log                  3.0 MB        errors=0    warnings=7  
<br>
Log files:  MonitorServer.log              1.0 KB       <br>
Log files:  OMEROweb.log                   3.0 MB        errors=239  warnings=849
<br>
Log files:  OMEROweb_request.log           107.0 KB      errors=2    warnings=790
<br>
Log files:  PixelData-0.log                1.0 MB        errors=18   warnings=2  
<br>
Log files:  Processor-0.log                132.0 KB      errors=7    warnings=0  
<br>
Log files:  Tables-0.log                   2.0 KB        errors=3    warnings=0  
<br>
Log files:  TestDropBox.log                n/a<br>
Log files:  master.err                     0.0 KB       <br>
Log files:  master.out                     0.0 KB       <br>
Log files:  Total size                     375.68 MB<br>
<br>
<br>
Log files:  Total size                     375.68 MB<br>
<br>
Environment:OMERO_HOME=(unset)             <br>
Environment:OMERO_NODE=(unset)             <br>
Environment:OMERO_MASTER=(unset)           <br>
Environment:OMERO_USERDIR=(unset)          <br>
Environment:OMERO_TMPDIR=(unset)           <br>
Environment:PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib/jvm/jre/bin:/usr/share/Ice-3.5.1:/usr/bin:/home/omero/OMERO.server/bin
<br>
Environment:PYTHONPATH=(unset)             <br>
Environment:ICE_HOME=/usr/share/Ice-3.5.1  <br>
Environment:LD_LIBRARY_PATH=/usr/share/java:/usr/lib:/usr/local/lib <br>
Environment:DYLD_LIBRARY_PATH=(unset)      <br>
<br>
OMERO SSL port:4064                           <br>
OMERO TCP port:4063                           <br>
OMERO data dir:'/OMERO'                       Exists? True      Is writable? True<br>
OMERO temp dir:'/home/omero/omero/tmp'        Exists? True      Is writable? True   (Size: 0)<br>
<br>
JVM settings: Blitz                         -Xmx596m -XX:MaxPermSize=256m -XX:+IgnoreUnrecognizedVMOptions<br>
JVM settings: Indexer                       -Xmx397m -XX:MaxPermSize=256m -XX:+IgnoreUnrecognizedVMOptions<br>
JVM settings: Pixeldata                     -Xmx596m -XX:MaxPermSize=256m -XX:+IgnoreUnrecognizedVMOptions<br>
JVM settings: Repository                    -Xmx397m -XX:MaxPermSize=256m -XX:+IgnoreUnrecognizedVMOptions<br>
<br>
OMERO.web status... [RUNNING] (PID 1006)<br>
<br>
<br>
<br>
$ ./bin/omero config get --hide-password<br>
omero.db.name=omero<br>
omero.db.pass=********<br>
omero.db.user=omero_db_user<br>
omero.ldap.base=****<br>
omero.ldap.config=true<br>
omero.ldap.new_user_group=public<br>
omero.ldap.urls=***<br>
omero.ldap.user_filter=(objectClass=inetOrgPerson)<br>
omero.ldap.user_mapping=omeName=uid,firstName=givenName,lastName=sn,email=mail<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF931480"><font face="Tahoma" size="2" color="#000000"><b>From:</b> ome-users [ome-users-bounces@lists.openmicroscopy.org.uk] on behalf of Simon Li [spli@dundee.ac.uk]<br>
<b>Sent:</b> 12 November 2015 14:06<br>
<b>To:</b> OME User Support List<br>
<b>Subject:</b> Re: [ome-users] trouble with thumbnails in omero web<br>
</font><br>
</div>
<div></div>
<div>
<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" target="_blank">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" target="_blank">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" target="_blank">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>
</div>
</div>
</div>
</body>
</html>