[Geonetwork-devel] Installation problems

I am unable to successfully install geonetwork. I’ve tried java 1.4.2_10 and mysql 5.0 on win2k as well as various permutations with mckoi, jetty, tomcat 4.1, tomcat 5, java 1.5 (just in case). I tried on Linux FC3 as well. Can someone give me the exact versions that are known to work together? What is the recommended setup that is least prone to install problems?

Version 2.0.1 did not install the samples, and the login functionality was not working (I was getting the APP.Users error).
Version 2.0.0 gives the declaration of Metadata element error.

Thanks
Paul

Alle 22:35, mercoledì 11 gennaio 2006, pgrzeszc@anonymised.com ha scritto:

I am unable to successfully install geonetwork. I've tried java 1.4.2_10
and mysql 5.0 on win2k as well as various permutations with mckoi, jetty,
tomcat 4.1, tomcat 5, java 1.5 (just in case). I tried on Linux FC3 as
well. Can someone give me the exact versions that are known to work
together? What is the recommended setup that is least prone to install
problems?

Version 2.0.1 did not install the samples, and the login functionality was
not working (I was getting the APP.Users error).
Version 2.0.0 gives the declaration of Metadata element error.

Thanks
Paul

Do you get errors during the installation stage or when executing it?
Can you provide more info (i.e. the logs). During the installation there
is a log inside the setup directory while during execution there is a log
inside web/log/. I think you have to edit the web/WEB-INF/config.xml file
and enable debug to have the latter log.

Regarding the platform, I use a debian testing with kernel 2.6.12 and
jdk 1.4.2, with provided jetty and mckoi as servlet engine and dbms.
You can use windows 2000/xp with jdk 1.4.2 from sun. Remember that
jdk 1.5 doesn't work and jvm not from sun have not been tested.

Cheers,
Andrea

The errors are encountered during use, not during install, so I suppose the problem is not really an installation problem. I was assuming that since people have this working, I must be installing it wrong.

I’ve got Windows 2k, relatively new, plain install. Java is 1.4.2_10. For the purpose of troubleshooting, I’m using the included jetty and mckoi.

Here are the log files that may shed some light on what’s going on. Note that I did not find any logs in geonetwork\web\log. I did enable debug in config.xml.

The setup.log is normal, no errors, all tables are reported as filled (other than Help, which is skipped).

This is for version 2.0.0: I get the “Cannot find the declaration of element ‘Metadata’” error when I try to validate one of the sample xmls, or add new metadata.

These are for version 2.0.1: Sample metadata does not appear at the bottom of main page, login does not work - this is because APP.Users cannot be found. Apparently, the other tables cannot be accessed as well.

debug.log from geonetwork\WEB-INF\db\log

jetty.log from geonetwork\jetty\log

–Paul

**Andrea Carboni <acarboni@anonymised.com>** Sent by: geonetwork-devel-admin@anonymised.coms.sourceforge.net

2006-01-11 05:26 PM

Please respond to
acarboni@anonymised.com

To

geonetwork-devel@anonymised.comet

cc

Subject

Re: [Geonetwork-devel] Installation problems

Alle 22:35, mercoledì 11 gennaio 2006, pgrzeszc@anonymised.com.65... ha scritto:
> I am unable to successfully install geonetwork. I've tried java 1.4.2_10
> and mysql 5.0 on win2k as well as various permutations with mckoi, jetty,
> tomcat 4.1, tomcat 5, java 1.5 (just in case). I tried on Linux FC3 as
> well. Can someone give me the exact versions that are known to work
> together? What is the recommended setup that is least prone to install
> problems?
>
> Version 2.0.1 did not install the samples, and the login functionality was
> not working (I was getting the APP.Users error).
> Version 2.0.0 gives the declaration of Metadata element error.
>
> Thanks
> Paul

Do you get errors during the installation stage or when executing it?
Can you provide more info (i.e. the logs). During the installation there
is a log inside the setup directory while during execution there is a log
inside web/log/. I think you have to edit the web/WEB-INF/config.xml file
and enable debug to have the latter log.

Regarding the platform, I use a debian testing with kernel 2.6.12 and
jdk 1.4.2, with provided jetty and mckoi as servlet engine and dbms.
You can use windows 2000/xp with jdk 1.4.2 from sun. Remember that
jdk 1.5 doesn't work and jvm not from sun have not been tested.

Cheers,
Andrea

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geonetwork-devel mailing list
Geonetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

(attachments)

debug.log (8 KB)
jetty.log (25.5 KB)
jetty.log (7.67 KB)

The errors are encountered during use, not during install, so I suppose
the problem is not really an installation problem. I was assuming that
since people have this working, I must be installing it wrong.

I've got Windows 2k, relatively new, plain install. Java is 1.4.2_10. For
the purpose of troubleshooting, I'm using the included jetty and mckoi.

Here are the log files that may shed some light on what's going on. Note
that I did not find any logs in geonetwork\web\log. I did enable debug in
config.xml.

The setup.log is normal, no errors, all tables are reported as filled
(other than Help, which is skipped).

This is for version 2.0.0: I get the "Cannot find the declaration of
element 'Metadata'" error when I try to validate one of the sample xmls,
or add new metadata.

These are for version 2.0.1: Sample metadata does not appear at the
bottom of main page, login does not work - this is because APP.Users
cannot be found. Apparently, the other tables cannot be accessed as well.

The error on validation on 2.0.0 was known and it should have been fixed in 2.0.1.

About the logs:

- The following exception is due to jetty and don't compromise the execution

0 [main] WARN com.k_int.hss - Unable to locate collection directory service
javax.naming.NotContextException: Services is not a subcontext

The following exception is the cause of all:

2006-01-12 10:11:18 | Exception : com.mckoi.database.jdbc.MSQLException: Table 'APP.Metadata' was not found.
2006-01-12 10:11:18 | Message : Table 'APP.Metadata' was not found.
2006-01-12 10:11:18 | Stack : com.mckoi.database.jdbc.MSQLException: Table 'APP.Metadata' was not found.

It seems that GeoNetwork cannot access the database. In fact, it cannot access almost all the tables:
APP.Metadata, APP.Categories

The exceptions that follow this one are related to the failed initialization of the system.

In my opinion, the installation fails or you are connecting to the wrong mckoi. One reason of
a failed installation is that users try to install a new GeoNetwork over an old one.
You say that the installation log is clear so maybe it is the second issue.

Cheers,
Andrea

The metadata validation error ("Cannot find the declaration of element 'Metadata'") is unfortunately still there: there are two windows PCs in FAO with this bug and I was unable to find any problem in their GeoNetwork installation.
Since the problem can be replicated on a working installation by just removing the ISO schema file, I am going to add some debugging code in the validation methods to log which URLs are accessed by Xerces during validation, hoping that the problem will continue to show up with this new code.

        Roberto

On 12 Jan 2006, at 17:48, Andrea Carboni wrote:

The errors are encountered during use, not during install, so I suppose
the problem is not really an installation problem. I was assuming that
since people have this working, I must be installing it wrong.

I've got Windows 2k, relatively new, plain install. Java is 1.4.2_10. For
the purpose of troubleshooting, I'm using the included jetty and mckoi.

Here are the log files that may shed some light on what's going on. Note
that I did not find any logs in geonetwork\web\log. I did enable debug in
config.xml.

The setup.log is normal, no errors, all tables are reported as filled
(other than Help, which is skipped).

This is for version 2.0.0: I get the "Cannot find the declaration of
element 'Metadata'" error when I try to validate one of the sample xmls,
or add new metadata.

These are for version 2.0.1: Sample metadata does not appear at the
bottom of main page, login does not work - this is because APP.Users
cannot be found. Apparently, the other tables cannot be accessed as well.

The error on validation on 2.0.0 was known and it should have been fixed in 2.0.1.

About the logs:

- The following exception is due to jetty and don't compromise the execution

0 [main] WARN com.k_int.hss - Unable to locate collection directory service
javax.naming.NotContextException: Services is not a subcontext

The following exception is the cause of all:

2006-01-12 10:11:18 | Exception : com.mckoi.database.jdbc.MSQLException: Table 'APP.Metadata' was not found.
2006-01-12 10:11:18 | Message : Table 'APP.Metadata' was not found.
2006-01-12 10:11:18 | Stack : com.mckoi.database.jdbc.MSQLException: Table 'APP.Metadata' was not found.

It seems that GeoNetwork cannot access the database. In fact, it cannot access almost all the tables:
APP.Metadata, APP.Categories

The exceptions that follow this one are related to the failed initialization of the system.

In my opinion, the installation fails or you are connecting to the wrong mckoi. One reason of
a failed installation is that users try to install a new GeoNetwork over an old one.
You say that the installation log is clear so maybe it is the second issue.

Cheers,
Andrea

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Geonetwork-devel mailing list
Geonetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork