problem creating OmeroMatlab session
Posted: Wed Apr 21, 2010 6:27 pm
Hi, I installed OMERO.server (except OMERO.web) and the clients insight, editor and importer on an XP machine. This part seems to work fine. I then tried to install the OmeroMatlab toolbox (using Matlab R2009a) and that's where I run into problems. I cannot establish a session. In Matlab, I get the following errors:
the diagnostics look as follows:
Everything is run on the same machine. For >> s=c.createSession('user', 'password') I am using the same user name and password I use to connect to the server using the other clients (e.g. insight). I have tried to establish a session using all the other possibilities listed in loadOmero.m but all have failed. Do I need to configure SSL settings? Or get Omero.IceStorm running (how do I do that?) before I can use OmeroMatlab?
Any help would be highly appreciated.
tuco
>> loadOmero
--------------------------
OmeroMatlab Toolbox
Beta-4.2.0-DEV-r6687-b3099
--------------------------
>> c=omero.client('localhost')
c =
omero.client@df46a
>> s=c.createSession('user', 'password')
??? Java exception occurred:
Ice.ConnectionRefusedException
error = 0
at IceInternal.Network.doFinishConnect(Network.java:417)
at IceSSL.TransceiverI.initialize(TransceiverI.java:37)
at Ice.ConnectionI.initialize(ConnectionI.java:1536)
at Ice.ConnectionI.socketReady(ConnectionI.java:1116)
at Ice.ConnectionI$SocketReadyCallback.socketReady(ConnectionI.java:2299)
at IceInternal.SelectorThread.run(SelectorThread.java:203)
at IceInternal.SelectorThread$HelperThread.run(SelectorThread.java:273)
Caused by: java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at IceInternal.Network.doFinishConnect(Network.java:393)
... 6 more
the diagnostics look as follows:
C:\omero_dist>bin\omero admin diagnostics
================================================================================
OMERO Diagnostics Beta-4.1.1-r5927-b91
================================================================================
Commands: java -version 1.6.0 (C:\WINDOWS\system32\java.EXE)
Commands: python -V 2.6.5 (C:\Python26\python.EXE)
Commands: icegridnode --version 3.4.0 (C:\Program Files\ZeroC\Ice-3.4.0\bin\icegridnode.EXE)
Commands: icegridadmin --version 3.4.0 (C:\Program Files\ZeroC\Ice-3.4.0\bin\icegridadmin.EXE)
Commands: psql --version 8.4.3 (C:\Program Files\PostgreSQL\8.4\bin\psql.EXE)
Server: icegridnode running
Server: Blitz-0 active (pid = 2272, enabled)
Server: DropBox inactive (disabled)
Server: FSServer inactive (disabled)
Server: Indexer-0 active (pid = 2328, enabled)
Server: OMERO.Glacier2 active (pid = 2372, enabled)
Server: OMERO.IceStorm inactive (disabled)
Server: Processor-0 inactive (disabled)
Server: Tables-0 inactive (disabled)
Server: TestDropBox inactive (enabled)
Server: Web inactive (enabled)
Log dir: C:\omero_dist\var\log exists
Log files: Blitz-0.log 2.0 MB errors=20 warnings=716
Log files: DropBox.log n/a
Log files: FSServer.log n/a
Log files: Indexer-0.log 369.0 KB errors=63 warnings=45
Log files: OMEROweb.log n/a
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 3.35 MB
Everything is run on the same machine. For >> s=c.createSession('user', 'password') I am using the same user name and password I use to connect to the server using the other clients (e.g. insight). I have tried to establish a session using all the other possibilities listed in loadOmero.m but all have failed. Do I need to configure SSL settings? Or get Omero.IceStorm running (how do I do that?) before I can use OmeroMatlab?
Any help would be highly appreciated.
tuco