I downloaded the installer from the GeoNetwork site yesterday:
http://geonetwork-opensource.org/software/geonetwork_opensource
I am not sure where the older version of Lucene could be coming from.
Regards, Paul.
________________________________
From: heikki [mailto:tropicano@anonymised.com]
Sent: July 14, 2008 1:00 PM
To: Paciorek,Paul [Ontario]
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Installing GeoNetworks in Windows
.. in fact, it was myself who put in the code that now causes your
problem, in Revision 1171, on March 3rd 2008. This was related to an
upgrade of the Lucene library to version 2.3.0.
Could it be that you have an older version of Lucene somewhere that
somehow, made it into your classpath ?
Regards
Heikki Doeleman
On Mon, Jul 14, 2008 at 9:18 AM, heikki <tropicano@anonymised.com> wrote:
hi Paul,
it's bizarre, but your error seems to indicate you have a version of
Lucene that's old. (lucene-core-2.3.2.jar is the current one in the
trunk, and I believe the standard GeoNetwork 2.2.0 release uses
lucene-core-2.1.0.jar).
Where did you get your installer ? Did you build it yourself, or
downloaded it from somewhere ?
Regards,
Heikki Doeleman
On Mon, Jul 14, 2008 at 9:11 AM, Paciorek,Paul [Ontario]
<Paul.Paciorek@anonymised.com> wrote:
My apologies. I attached a screenshot of the error window to my
previous email but I guess it got stripped.
This is the error I get when I start the GeoNetworks server:
C:\Program Files\geonetwork\bin>cd ..\jetty
C:\Program Files\geonetwork\jetty>del log\*request.log*
C:\Program Files\geonetwork\jetty>move log\jeeves.log.* log\archive
A duplicate file name exists, or the file
cannot be found.
C:\Program Files\geonetwork\jetty>..\jre1.5.0_12\bin\java -Xms48m
-Xmx512m -DSTO
P.PORT=8079 -jar start.jar ..\bin\jetty.xml
12:08:29.815 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109)
16> ad
ded org.mortbay.log.OutputStreamLogSink@anonymised.com
12:08:29.783 INFO [main]
org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
12:08:30.268 INFO [main]
org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5rc2
12:08:30.753 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@anonymised.com
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:151)
at org.mortbay.start.Main.start(Main.java:476)
at org.mortbay.start.Main.main(Main.java:94)
Caused by: java.lang.NoSuchMethodError:
org.apache.lucene.index.IndexReader.dele
teDocuments(Lorg/apache/lucene/index/Term;)I
at
org.fao.geonet.kernel.search.SearchManager.delete(SearchManager.java:
291)
at
org.fao.geonet.kernel.search.SearchManager.index(SearchManager.java:1
92)
at
org.fao.geonet.kernel.DataManager.indexMetadataI(DataManager.java:246
)
at
org.fao.geonet.kernel.DataManager.indexMetadata(DataManager.java:166)
at
org.fao.geonet.kernel.DataManager.indexMetadata(DataManager.java:157)
at
org.fao.geonet.kernel.DataManager.<init>(DataManager.java:120)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:153)
at
jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:421)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:141)
at
jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:65)
at javax.servlet.GenericServlet.init(GenericServlet.java:168)
at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.jav
a:383)
at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHa
ndler.java:446)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(We
bApplicationHandler.java:321)
at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicatio
nContext.java:511)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:753)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.Server.main(Server.java:439)
... 7 more
________________________________
From: heikki [mailto:tropicano@anonymised.com]
Sent: July 14, 2008 12:05 PM
To: Paciorek,Paul [Ontario]
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] Installing GeoNetworks in Windows
hello Paul,
could you be more specific and copy the exact error messages you're
getting ? Also I'm not clear what you mean by a "CSV compilation error"
..
regards,
Heikki Doeleman
On Mon, Jul 14, 2008 at 9:01 AM, Paciorek,Paul [Ontario]
<Paul.Paciorek@anonymised.com> wrote:
Hello,
I am attempting to install GeoNetworks 2.2 on my laptop, and am
encountering some errors (I have tried both windows installers (with and
without JRE 1.5) and experience the same issue). I have previously
installed it on another machine without any problems.
o During step 5 of the installation, an error is issued stating
that there is a CSV compilation error. I ignore it and continue the
installation.
o When I start the GeoNetworks server, I get the following java
error resulting in not being able to load up GeoNetworks in my browser.
Thanks,
________________
Paul Paciorek
Environment Canada | Environnement Canada
------------------------------------------------------------------------
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork