[GeoNetwork-users] A small issue with RC1

Hi all,

after installing geonetwork RC1 there is a small fix to do if you
want to use the embedded McKoi DBMS. Before releasing, I was
testing geonetwork with oracle and that setting remained there.
So, to fix this, you have to edit the web/WEB-INF/config.xml file
and do this:

- locate the 'resource' relative to oracle (the third one) and
  disable it (just set the enabled attribute to 'false')

- locate the 'resource' relative to McKoi (the first one) and
  enable it.

That's all.

Cheers,
Andrea

Hi Andrea,

I just downloaded RC1 and installed using the Jetty server.
I rant eh bat file and attempted to load the page in the browser. I get
the following error :

C:\geonetwork\bin>cd ..\jetty

C:\geonetwork\jetty>rem rm log\*.log

C:\geonetwork\jetty>java -Xmx512m -DSTOP.PORT=8079 -jar start.jar
..\bin\jetty.x
ml 1>log\jetty.log
10:05:06.765 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109)

16> ad

ded org.mortbay.log.OutputStreamLogSink@anonymised.com
10:05:06.718 INFO [main]
org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
10:05:07.453 INFO [main]
org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5rc2
10:05:08.265 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@anonymised.com
exception while opening lucene index, going to rebuild it:
C:\geonetwork\web\WEB
-INF\lucene\segments (The system cannot find the file specified)
10:05:15.312 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/geonetwork,geonetwork]
10:05:15.343 INFO [main]
org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 0.0.0.0:8080
10:05:15.343 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@anonymised.com
ERROR: 'file:///C:/geonetwork/web/xsl/metadata-iso19115.xsl: line 1615:
Templat
e 'displayTab' not defined in this stylesheet.'
FATAL ERROR: 'Could not compile stylesheet'
10:05:17.656 INFO [SocketListener0-9]
org.mortbay.util.Container.start(Contain
er.java:74) >08> Started HttpContext[/,/]

You assistance appreciated.

sean

Hi Sean,
This is a know issue. It is related to the use of Java 1.5 instead of Java 1.4. Currently only Java 1.4 is supported. Make sure your batch file points to a Java 1.4 installation (SDK or JRE). So instead of java -jar .... it should read C:\<location of java 1.4>\java -jar
Ciao,
Jeroen

On 5 Dec 2005, at 08:07, Sean Khan wrote:

Hi Andrea,

I just downloaded RC1 and installed using the Jetty server.
I rant eh bat file and attempted to load the page in the browser. I get
the following error :

C:\geonetwork\bin>cd ..\jetty

C:\geonetwork\jetty>rem rm log\*.log

C:\geonetwork\jetty>java -Xmx512m -DSTOP.PORT=8079 -jar start.jar
..\bin\jetty.x
ml 1>log\jetty.log
10:05:06.765 INFO [main] org.mortbay.log.LogImpl.add(LogImpl.java:109)

16> ad

ded org.mortbay.log.OutputStreamLogSink@anonymised.com
10:05:06.718 INFO [main]
org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
10:05:07.453 INFO [main]
org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5rc2
10:05:08.265 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@anonymised.com
exception while opening lucene index, going to rebuild it:
C:\geonetwork\web\WEB
-INF\lucene\segments (The system cannot find the file specified)
10:05:15.312 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/geonetwork,geonetwork]
10:05:15.343 INFO [main]
org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 0.0.0.0:8080
10:05:15.343 INFO [main]
org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@anonymised.com
ERROR: 'file:///C:/geonetwork/web/xsl/metadata-iso19115.xsl: line 1615:
Templat
e 'displayTab' not defined in this stylesheet.'
FATAL ERROR: 'Could not compile stylesheet'
10:05:17.656 INFO [SocketListener0-9]
org.mortbay.util.Container.start(Contain
er.java:74) >08> Started HttpContext[/,/]

You assistance appreciated.

sean