Hi,
I'm installing GeoNetwork 2.10-2.0 on an Ubuntu server 12.04 amd64 virtual
machine (openVZ).
I use Tomcat6, java 1.6.0 (OpenJDK), PostgreSQL 9.1, PostGIS 2.0
I get this error in my log :
ERROR [geonetwork.schemamanager] - Failed whilst adding the schema
information. Exception message if any is No such file or directory
The preferred schema configured in config.xml is iso19139, which exists as
a subfolder of
/opt/geonetwork/web/geonetwork/WEB-INF/data/config/schema_plugins
The user tomcat6 is the owner (and has all the rights) to that folder and
all files in it.
The application does not work, the same error is shown with a geonetwork
stylesheet when i open the application in my browser.
Can anyone tell me what i'm doing wrong?
I'll provide a full log from a restart as a file in the attachment.
Cheers,
WBL
--
"Quality comes from focus and clarity of purpose" -- Mark Shuttleworth
(attachments)
catalina.out (23.5 KB)
Hi WBL,
in the log I see some errors related to filesystem permissions, e.g.:
FileNotFoundException: /usr/share/tomcat6/test.lock.db (Permission denied)"
FileNotFoundException:
/opt/geonetwork/web/geoserver/data/../../../jetty/logs/geoserver.log
(Permission denied)
I guess you should grant write permission to tomcat user to those dirs.
You also probably need to configure GN to use a DB in PostgreSQL -- not
mandatory, but I guess you don't want var data into /usr.
Cheers,
Emanuele
Alle 09:35:20 di Wednesday 26 March 2014, Willy-Bas Loos ha scritto:
Hi,
I'm installing GeoNetwork 2.10-2.0 on an Ubuntu server 12.04 amd64 virtual
machine (openVZ).
I use Tomcat6, java 1.6.0 (OpenJDK), PostgreSQL 9.1, PostGIS 2.0
I get this error in my log :
ERROR [geonetwork.schemamanager] - Failed whilst adding the schema
information. Exception message if any is No such file or directory
The preferred schema configured in config.xml is iso19139, which exists as
a subfolder of
/opt/geonetwork/web/geonetwork/WEB-INF/data/config/schema_plugins
The user tomcat6 is the owner (and has all the rights) to that folder and
all files in it.
The application does not work, the same error is shown with a geonetwork
stylesheet when i open the application in my browser.
Can anyone tell me what i'm doing wrong?
I'll provide a full log from a restart as a file in the attachment.
Cheers,
WBL
--
Ing. Emanuele Tajariol
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 380 2116282
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
On Wed, Mar 26, 2014 at 12:45 PM, Emanuele Tajariol <etj@anonymised.com>wrote:
in the log I see some errors related to filesystem permissions, e.g.:
FileNotFoundException: /usr/share/tomcat6/test.lock.db (Permission
denied)"
FileNotFoundException:
/opt/geonetwork/web/geoserver/data/../../../jetty/logs/geoserver.log
(Permission denied)
I guess you should grant write permission to tomcat user to those dirs.
You also probably need to configure GN to use a DB in PostgreSQL -- not
mandatory, but I guess you don't want var data into /usr.
Cheers,
Emanuele
Hi, Emanuele
Thanks for answering.
I granted the necessary permissions for /usr/share/tomcat6/, though i
think that this is an unrelated issue.
I moved the geoserver log to /var/log/, so that error is gone now. The
geoserver.log does contain errors however.
i'll attach that too, along with the new catalina log.
The issue remains the same: ERROR [geonetwork.schemamanager] - Failed
whilst adding the schema information. Exception message if any is No such
file or directory
I don't understand what you mean by "You also probably need to configure GN
to use a DB in PostgreSQL". I've configured GN to use postgres in the
config.xml, using ApacheDBCPool.
The database objects are created, there are no issue with that. So i figure
that here is no problem in that, am i right?
Cheers,
WBL
--
"Quality comes from focus and clarity of purpose" -- Mark Shuttleworth
(attachments)
catalina.out (16.6 KB)
geoserver.log (1.51 KB)
can anyone help w/ this?
i dont see what configuration file could be absent for geoserver, web.xml
is sitting in place and so are the wms and wfs config files.Maybe this is
unrelated to the main issue though.
Especially, i don't understand what schema file would be absent. The
folders and file mentioned in the log are there and accessible for tomcat,
what is wrong here?
WBL
On Wed, Mar 26, 2014 at 2:55 PM, Willy-Bas Loos <willybas@anonymised.com> wrote:
The issue remains the same: ERROR [geonetwork.schemamanager] - Failed
whilst adding the schema information. Exception message if any is No such
file or directory
--
"Quality comes from focus and clarity of purpose" -- Mark Shuttleworth