[ome-devel] Problem when setting omero.data.dir in omero.properties file

Luca Lianas luca.lianas at crs4.it
Wed Aug 29 14:21:58 BST 2012


Hi everyone,

since OMERO version  4.3, I can't set the omero.data.dir parameter using
the omero.properties file.
Even if I change the value of this variable, when the server starts it
looks for the default /OMERO directory in the file system.

In  my omero.properties file I have

...
omero.data.dir=/opt/omero_4.4/data/
...

but when I run

./dist/bin/omero admin start

I get
...
FATAL: OMERO directory does not exist: /OMERO

and when looking at the omero.properties file into the generated blitz.jar
I find

...
omero.data.dir=/opt/omero_4.4/data/
...
(and this is weird...)

of course, using the

./dist/bin/omero config set omero.data.dir /opt/omero_4.4/data/

fixes the problem.

It seems that the only parameter affected by this problem is the
omero.data.dir, I never experienced problems with DB config parameters and
other variables in the omero.properties file (I also added some new vars
and everything was fine).

Luca

-- 
Luca Lianas
Data Fusion - Healthcare Flows
CRS4 - Centro di Ricerche, Sviluppo e Studi Superiori della Sardegna
POLARIS, Edificio 1, 09010 PULA (CA - Italy)


Phone: 070/9250266
Email: luca.lianas at crs4.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20120829/e709a490/attachment.html>


More information about the ome-devel mailing list