We're Hiring!

OMERO5 on windows and versions of stuff

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Re: OMERO5 on windows and versions of stuff

Postby achessel » Tue Sep 16, 2014 10:34 am

So after more digging in the log it seems the windows error code is 193, which is ERROR_BAD_EXE_FORMAT which seemingly would happen for 32bit-64bit mismatch. But I am quite sure the application pool is setup for 32bit as described in the doc; beside it used to work fine until now and I did not change anything in the iis side of things.

Could it be that using 64bit python is what is causing the error? I tried putting '32bits=false' in the application pool thinking maybe everything is in 64 bits now, I get another error
'Failed to import callback module 'omero_web_iis The system cannot find the file specified.'

Thanks again for any help
A.
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: OMERO5 on windows and versions of stuff

Postby kennethgillen » Tue Sep 16, 2014 12:40 pm

Hi,

achessel wrote:But I am quite sure the application pool is setup for 32bit as described in the doc; beside it used to work fine until now and I did not change anything in the iis side of things.

Could it be that using 64bit python is what is causing the error? I tried putting '32bits=false' in the application pool thinking maybe everything is in 64 bits now, I get another error
'Failed to import callback module 'omero_web_iis The system cannot find the file specified.'

I have a clean install of OMERO with 64bit Python 2.6 and I didn't make the "Enable 32-Bit Applications" change for the same reason as yourself (compiled isapi_wsgi from python x64 as well). Setting "Enable 32-Bit Applications" to True in the Application Pool Advanced Settings _also_ breaks my OMERO.web. As you suggest, this is likely because we've both compiled a 64bit version of isapi_wsgi.

Definitely change this back to False and let us know how you get on.

Incidentally, when you received an Error 500, this may in fact have been OMERO.web working. If you see this, make a second (or subsequent) request after you see the Error 500 and OMERO.web should appear. This is caused by the interaction between the IIS worker threads sleep mode and isapi_wsgi.

We have a workaround for this issue, which will be in the next version of the documentation, which should make this initial Error 500 only ever appear on a server upgrade or IIS restart. [1]

[1] https://trac.openmicroscopy.org.uk/ome/ticket/12504
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO5 on windows and versions of stuff

Postby achessel » Tue Sep 16, 2014 2:26 pm

Thanks for the answer.
If I turn the 32bit flag to false, it still fails (and keeps failing after reattempts) with a 500 error. This time it logs an error in the event viewer which says 'Failed to import callback module 'omero_web_iis'
The system cannot find the file specified.'.

Would there be other settings to change between 32bit-64bits, like other dlls it would fail to find?
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: OMERO5 on windows and versions of stuff

Postby kennethgillen » Tue Sep 16, 2014 3:54 pm

Hi,
achessel wrote:Thanks for the answer.

You're welcome.

achessel wrote:If I turn the 32bit flag to false, it still fails (and keeps failing after reattempts) with a 500 error. This time it logs an error in the event viewer which says 'Failed to import callback module 'omero_web_iis'
The system cannot find the file specified.'.

Would there be other settings to change between 32bit-64bits, like other dlls it would fail to find?

I'm afraid I personally didn't hit this error with my x64 Python 2.6 and Ice 3.4 setup, though it was a clean Windows Server 2008R2 with no existing OMERO.server or Python.

We're still investigating to see if we can hit this error too. It might be worth going with our more tested set of prerequisites, as mentioned at the start of this thread, Python 2.6 and Ice 3.4, if we can't also replicate the error.

Can I please confirm the version of Windows Server 2008 you have - is it plain 2008, or 2008 R2?

All the best,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO5 on windows and versions of stuff

Postby achessel » Wed Sep 17, 2014 12:27 pm

I tried python2.6/ice3.4 32bits... and I seem to end up with a similar error to one reported recently in the mailing list, 'Failed to startup some components after 300 seconds' and no logs...

Code: Select all
PS C:\Windows\system32> omero admin start
No descriptor given. Using etc\grid\windefault.xml
Installing OMERO.master Windows service.
Successfully installed OMERO.master Windows service.
Starting OMERO.master Windows service.
Waiting on startup. Use CTRL-C to exit
.............................
Failed to startup some components after 300 seconds
Calling "stop" on remaining components
Server not running
PS C:\Windows\system32> omero admin diagnostics

================================================================================
OMERO Diagnostics 5.0.4-ice34-b43
================================================================================

Commands:   java -version                  1.7.0     (C:\Windows\system32\java.EXE)
Commands:   python -V                      2.6.6     (C:\Python26\python.EXE -- 2 others)
Commands:   icegridnode --version          3.4.2     (C:\Program Files (x86)\ZeroC\Ice-3.4.2\bin\icegridnode.EXE)
Commands:   icegridadmin --version         3.4.2     (C:\Program Files (x86)\ZeroC\Ice-3.4.2\bin\icegridadmin.EXE)
Commands:   psql --version                 not found

Server:     icegridnode                    not started
Server:     OMERO.master                   inactive

Cannot list deployed applications.

Log dir:    C:\Users\omero\Desktop\OMERO.server-5.0.4-ice34-b43\var\log exists

Log files:  Blitz-0.log                    66.0 KB       errors=0    warnings=11
Log files:  DropBox.log                    n/a
Log files:  FileServer.log                 n/a
Log files:  Indexer-0.log                  4.0 KB
Log files:  MonitorServer.log              n/a
Log files:  OMEROweb.log                   n/a
Log files:  PixelData-0.log                6.0 KB
Log files:  Processor-0.log                n/a
Log files:  Tables-0.log                   n/a
Log files:  TestDropBox.log                n/a
Log files:  master.err                     0.0 KB
Log files:  master.out                     0.0 KB
Log files:  Total size                     0.08 MB


Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_TEMPDIR=(unset)
Environment:PATH=C:\Windows\system32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ZeroC\Ice-3.4.2\bin;C:\Python26\;C:\
Python26\Scripts;C:\Users\omero\Desktop\OMERO.server-5.0.4-ice34-b43\bin;C:\Windows\system32;C:\Windows;C:\Windows\Syste
m32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.1\bin
Environment:PYTHONPATH=C:\Program Files (x86)\ZeroC\Ice-3.4.2\python;C:\Users\omero\Desktop\OMERO.server-5.0.4-ice34-b43
\lib\python
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO data dir: 'E:\\OMERO'     Exists? True    Is writable? True
OMERO temp dir: 'C:\Users\omero\AppData\Roaming\omero\tmp'      Exists? True    Is writable? True   (Size: 0)
OMERO.web status... [NOT STARTED]
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: OMERO5 on windows and versions of stuff

Postby manics » Wed Sep 17, 2014 1:10 pm

Anything in your Blitz logs?
User avatar
manics
Team Member
 
Posts: 261
Joined: Mon Oct 08, 2012 11:01 am
Location: Dundee

Re: OMERO5 on windows and versions of stuff

Postby achessel » Wed Sep 17, 2014 1:38 pm

No, no logs. If I run the .jar manually as Josh asked on the mailing list, I do have a blitz log, with the following error; it seems to be the same one as reported on the mailing list.

(I just sent a mail to the mailing list with those info btw)

Code: Select all
2014-09-17 13:49:30,330 INFO  [                ome.services.blitz.Entry] (      main) Creating OMERO.blitz. Please wait...
2014-09-17 13:49:32,249 INFO  [.s.ShutdownSafeEhcacheManagerFactoryBean] (      main) Initializing EHCache CacheManager
2014-09-17 13:49:33,403 INFO  [          ome.services.util.DBPatchCheck] (      main) Verified database patch: OMERO5.0__0
2014-09-17 13:49:33,622 INFO  [           ome.services.util.DBUserCheck] (      main) User root.id = 0
2014-09-17 13:49:33,622 INFO  [           ome.services.util.DBUserCheck] (      main) User guest.id = 1
2014-09-17 13:49:33,622 INFO  [           ome.services.util.DBUserCheck] (      main) Group system.id = 0
2014-09-17 13:49:33,622 INFO  [           ome.services.util.DBUserCheck] (      main) Group user.id = 1
2014-09-17 13:49:33,622 INFO  [           ome.services.util.DBUserCheck] (      main) Group guest.id = 2
2014-09-17 13:49:35,853 INFO  [  ome.services.fulltext.FullTextAnalyzer] (      main) Initialized FullTextAnalyzer
2014-09-17 13:49:40,377 INFO  [        ome.services.db.DatabaseIdentity] (      main) Using LSID format: urn:lsid:export.openmicroscopy.org:%s:250734d4-35d0-4a7c-ae6e-67d94949ab9e_%s%s
2014-09-17 13:49:43,762 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958183450] time[307] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:43,855 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958183762] time[85] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,136 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958183855] time[293] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,230 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184136] time[80] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,308 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184230] time[77] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,386 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184308] time[77] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,464 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184386] time[78] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,542 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184464] time[79] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,729 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184542] time[192] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,807 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184729] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,885 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184807] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:44,963 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184885] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,041 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958184963] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,119 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185041] time[77] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,556 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185119] time[432] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,634 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185556] time[80] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,712 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185634] time[77] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,790 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185712] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,868 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185790] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,930 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958185868] time[76] tag[ome.io.nio.SimpleBackOff.256X256]
2014-09-17 13:49:45,946 INFO  [                ome.io.nio.PixelsService] (      main) Using Bio-Formats Cache: E:\OMERO\BioFormatsCache
2014-09-17 13:49:45,946 INFO  [                ome.io.nio.PixelsService] (      main) PixelsService(path=E:\\OMERO, resolver=ome.services.OmeroFilePathResolver@bff62b, backoff=ome.io.nio.SimpleBackOff(factor=112.2), sizes=ome.io.nio.ConfiguredTileSizes(w=256,h=256,W=3192,H=3192))
2014-09-17 13:49:46,149 INFO  [    ome.services.fulltext.FullTextThread] (      main) Initializing Full-Text Indexer
2014-09-17 13:49:46,164 INFO  [  ome.services.pixeldata.PixelDataThread] (      main) Initializing PixelDataThread (create events only)
2014-09-17 13:49:46,180 INFO  [      ome.services.util.JvmSettingsCheck] (      main) Java version: 1.7.0_67; Windows Server 2008 R2; x86; 6.1
2014-09-17 13:49:46,180 INFO  [      ome.services.util.JvmSettingsCheck] (      main) Max Memory (MB):   =    989
2014-09-17 13:49:46,180 INFO  [      ome.services.util.JvmSettingsCheck] (      main) OS Memory (MB):    =   4095
2014-09-17 13:49:46,180 INFO  [      ome.services.util.JvmSettingsCheck] (      main) Processors:        =      8
2014-09-17 13:49:46,476 INFO  [    ome.services.util.ServerVersionCheck] (      main) -------------------------------------------------
2014-09-17 13:49:46,476 INFO  [    ome.services.util.ServerVersionCheck] (      main) OMERO Version: 5.0.4-ice34-b43 Ready.
2014-09-17 13:49:46,476 INFO  [    ome.services.util.ServerVersionCheck] (      main) -------------------------------------------------
2014-09-17 13:49:47,802 INFO  [                 ome.system.UpgradeCheck] (      main) no update needed
2014-09-17 13:49:47,818 INFO  [    ome.tools.hibernate.ExtendedMetadata] (      main) Calculating ExtendedMetadata...
2014-09-17 13:49:47,911 INFO  [      o.s.scheduler.SchedulerFactoryBean] (      main) Starting Quartz Scheduler now
2014-09-17 13:49:47,911 INFO  [        ome.services.util.ServiceHandler] (      main)  Executor.doWork -- ome.services.util.NamespaceCheck.namespaceCheck
2014-09-17 13:49:47,911 INFO  [        ome.services.util.ServiceHandler] (      main)  Args:   [null, InternalSF@28444359]
2014-09-17 13:49:48,879 INFO  [         ome.security.basic.EventHandler] (      main)  Auth:   user=0,group=0,event=11139351(Internal),sess=5f0e1478-eef6-4e6f-bb74-1c24f5bbd000
2014-09-17 13:49:48,941 INFO  [                 org.perf4j.TimingLogger] (      main) start[1410958187911] time[1038] tag[omero.call.success.ome.services.util.NamespaceCheck$1.doWork]
2014-09-17 13:49:48,957 INFO  [        ome.services.util.ServiceHandler] (      main)  Rslt:   null
2014-09-17 13:49:49,191 INFO  [o.services.blitz.util.BlitzConfiguration] (      main) Initializing Ice.Communicator
2014-09-17 13:49:51,515 ERROR [                ome.services.blitz.Entry] (      main) Error on startup.
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is Ice.ConnectionRefusedException
    error = 0
   at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at ome.system.OmeroContext.getInstance(OmeroContext.java:203) ~[common.jar:na]
   at ome.services.blitz.Entry.start(Entry.java:193) [blitz.jar:na]
   at ome.services.blitz.Entry.main(Entry.java:150) [blitz.jar:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is Ice.ConnectionRefusedException
    error = 0
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:281) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1048) ~[org.springframework.context.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   ... 3 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is Ice.ConnectionRefusedException
    error = 0
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:273) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   ... 13 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'omero.rtypes.RTypeObjectFactoryRegistry#0' defined in class path resource [ome/services/objectfactories.xml]: Cannot resolve reference to bean 'Ice.Communicator' while setting bean property 'iceCommunicator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is Ice.ConnectionRefusedException
    error = 0
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1308) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:562) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:871) ~[org.springframework.context.jar:3.0.1.RELEASE-A]
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423) ~[org.springframework.context.jar:3.0.1.RELEASE-A]
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) ~[org.springframework.context.jar:3.0.1.RELEASE-A]
   at ome.system.OmeroContext.<init>(OmeroContext.java:103) ~[common.jar:na]
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_67]
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_67]
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_67]
   at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_67]
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   ... 15 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configuration' defined in URL [jar:file:/C:/Users/omero/Desktop/OMERO.server-5.0.4-ice34-b43/lib/server/blitz.jar!/ome/services/blitz-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is Ice.ConnectionRefusedException
    error = 0
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:281) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:984) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:888) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:344) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:964) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:870) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   ... 34 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.services.blitz.util.BlitzConfiguration]: Constructor threw exception; nested exception is Ice.ConnectionRefusedException
    error = 0
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:273) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   ... 52 common frames omitted
Caused by: Ice.ConnectionRefusedException: java.net.ConnectException: Connection refused: no further information
   at IceInternal.ConnectRequestHandler.getConnection(ConnectRequestHandler.java:240) ~[ice.jar:na]
   at IceInternal.ConnectRequestHandler.sendRequest(ConnectRequestHandler.java:138) ~[ice.jar:na]
   at IceInternal.Outgoing.invoke(Outgoing.java:66) ~[ice.jar:na]
   at Ice._LocatorDelM.getRegistry(_LocatorDelM.java:138) ~[ice.jar:na]
   at Ice.LocatorPrxHelper.getRegistry(LocatorPrxHelper.java:577) ~[ice.jar:na]
   at Ice.LocatorPrxHelper.getRegistry(LocatorPrxHelper.java:545) ~[ice.jar:na]
   at IceInternal.Instance.getAdmin(Instance.java:392) ~[ice.jar:na]
   at IceInternal.Instance.finishSetup(Instance.java:830) ~[ice.jar:na]
   at Ice.CommunicatorI.finishSetup(CommunicatorI.java:286) ~[ice.jar:na]
   at Ice.Util.initialize(Util.java:212) ~[ice.jar:na]
   at ome.services.blitz.util.BlitzConfiguration.createCommunicator(BlitzConfiguration.java:170) ~[blitz.jar:na]
   at ome.services.blitz.util.BlitzConfiguration.<init>(BlitzConfiguration.java:108) ~[blitz.jar:na]
   at ome.services.blitz.util.BlitzConfiguration.<init>(BlitzConfiguration.java:82) ~[blitz.jar:na]
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_67]
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_67]
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[na:1.7.0_67]
   at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[na:1.7.0_67]
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ~[org.springframework.beans.jar:3.0.1.RELEASE-A]
   ... 54 common frames omitted
Caused by: java.net.ConnectException: Connection refused: no further information
   at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.7.0_67]
   at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[na:1.7.0_67]
   at IceInternal.Network.doFinishConnect(Network.java:325) ~[ice.jar:na]
   at IceInternal.TcpTransceiver.initialize(TcpTransceiver.java:33) ~[ice.jar:na]
   at Ice.ConnectionI.initialize(ConnectionI.java:1831) ~[ice.jar:na]
   at Ice.ConnectionI.message(ConnectionI.java:1038) ~[ice.jar:na]
   at IceInternal.ThreadPool.run(ThreadPool.java:302) ~[ice.jar:na]
   at IceInternal.ThreadPool.access$300(ThreadPool.java:12) ~[ice.jar:na]
   at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643) ~[ice.jar:na]
   at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_67]
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Re: OMERO5 on windows and versions of stuff

Postby achessel » Fri Sep 19, 2014 12:52 pm

The solution(s) (thanks simon), for the record and in case somebody ends up here:
-The weird omero error was solved by removing the whole /var folder in the server.
-the iis error was due to iis being confused by various version of python being present (somehow the right path/pythonpath was not enough, iis seem to use something else as well); it was solved by removing/deleting all things python and reinstalling.
achessel
 
Posts: 67
Joined: Fri Jan 14, 2011 1:58 pm

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest