Dear all,
I hope that this mailing list is the right recipient for our question. If not, please excuse me. Maybe you can tell me where to post my question for getting an answer.
We are a group of students from the University of Münster, Germany and do a project for which we want to use GeoNetwork.
We tried to install it with this instruction: https://geonetwork-opensource.org/manuals/3.4.x/is/tutorials/introduction/deployment/build.html.
Everything works fine except some warnings and jetty starts.
But when we try to enter http://localhost:8080/geonetwork in the browser, we get a long error message. We do not know how to solve this error.
We tried to install GeoNetwork with Java 8 and 10 on Windows10 and on MacOS. Nothing worked.
This is our error on Windows 10 with Java 8:
2018-10-24 15:55:32,435 ERROR [jeeves.resources] - Error cloning the cached data. Attempted to get: C:\Users\Kathy\Downloads\geonetwork\web\src\main\webapp\loc\ger\xml\i18n.xmlbut failed so falling back to default language
2018-10-24 15:55:45,594 ERROR [geonetwork.wro4j] - Error occurred during a wro4j request handling
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1927)
at org.fao.geonet.wro4j.TemplatesUriLocator$1.visitFile(TemplatesUriLocator.java:65)
at org.fao.geonet.wro4j.TemplatesUriLocator$1.visitFile(TemplatesUriLocator.java:60)
at java.nio.file.Files.walkFileTree(Files.java:2670)
at java.nio.file.Files.walkFileTree(Files.java:2742)
at org.fao.geonet.wro4j.TemplatesUriLocator.locate(TemplatesUriLocator.java:60)
at ro.isdc.wro.model.resource.locator.factory.InjectableUriLocatorFactoryDecorator.locate(InjectableUriLocatorFactoryDecorator.java:37)
at ro.isdc.wro.model.group.processor.PreProcessorExecutor.getResourceContent(PreProcessorExecutor.java:249)
at ro.isdc.wro.model.group.processor.PreProcessorExecutor.applyPreProcessors(PreProcessorExecutor.java:189)
at ro.isdc.wro.model.group.processor.PreProcessorExecutor.processAndMerge(PreProcessorExecutor.java:103)
at ro.isdc.wro.model.group.processor.PreProcessorExecutor.processAndMerge(PreProcessorExecutor.java:77)
at ro.isdc.wro.model.group.processor.GroupsProcessor.process(GroupsProcessor.java:83)
at ro.isdc.wro.cache.support.DefaultSynchronizedCacheStrategyDecorator.loadValue(DefaultSynchronizedCacheStrategyDecorator.java:101)
at ro.isdc.wro.cache.support.DefaultSynchronizedCacheStrategyDecorator.loadValue(DefaultSynchronizedCacheStrategyDecorator.java:35)
at ro.isdc.wro.cache.support.AbstractSynchronizedCacheStrategyDecorator.get(AbstractSynchronizedCacheStrategyDecorator.java:55)
at ro.isdc.wro.manager.ResourceBundleProcessor.serveProcessedBundle(ResourceBundleProcessor.java:63)
at ro.isdc.wro.manager.WroManager.process(WroManager.java:159)
at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:335)
at ro.isdc.wro.http.WroFilter.doFilter(WroFilter.java:289)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.fao.geonet.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:110)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
2018-10-24 15:55:45,746 WARN [geonetwork.resources] - Resource not found images/logos/favicon.png, default resource returned: /images/logos/favicon.png
2018-10-24 15:55:46,538 ERROR [geonetwork.wro4j] - Error occurred during a wro4j request handling
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:197)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:419)
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313)
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:141)
at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:747)
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:521)
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:697)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:746)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:179)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:163)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:436)
at java.io.OutputStream.write(OutputStream.java:75)
at org.apache.commons.io.IOUtils.write(IOUtils.java:927)
at ro.isdc.wro.manager.ResourceBundleProcessor.serveProcessedBundle(ResourceBundleProcessor.java:94)
at ro.isdc.wro.manager.WroManager.process(WroManager.java:159)
at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:335)
at ro.isdc.wro.http.WroFilter.doFilter(WroFilter.java:289)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.fao.geonet.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:110)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:186)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:104)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:175)
… 59 more
These are the warnings I talked about:
…
/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard-spec/1.2.5/taglibs-standard-spec-1.2.5.jar (40 kB at 3.4 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/taglibs/taglibs-standard-impl/1.2.5/taglibs-standard-impl-1.2.5.jar (206 kB at 17 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/mortbay/jasper/apache-jsp/8.0.33/apache-jsp-8.0.33.jar (966 kB at 75 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.jar (2.3 MB at 168 kB/s)
[INFO] Logging initialized @150417ms
[INFO] Configuring Jetty for project: GeoNetwork Web module
[INFO] Webapp source directory = C:\Users\Kathy\Downloads\geonetwork\web\target\geonetwork
[INFO] Reload Mechanic: automatic
[INFO] Classes = C:\Users\Kathy\Downloads\geonetwork\web\target\classes
[INFO] Applying context xml file C:\Users\Kathy\Downloads\geonetwork\web/jetty-context.xml
[INFO] Context path = /geonetwork
[INFO] Tmp directory = C:\Users\Kathy\Downloads\geonetwork\web\target\tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = C:\Users\Kathy\Downloads\geonetwork\web\target/WEB-INF/web.xml
[INFO] Webapp directory = C:\Users\Kathy\Downloads\geonetwork\web\target\geonetwork
[INFO] jetty-9.3.9.v20160517
[INFO] No Spring WebApplicationInitializer types detected on classpath
2018-10-24 15:53:26,822 WARN [geonetwork.databasemigration] - Unable to retrieve the current GeoNetwork version from the database. If this is an initial run of the software, then the database will be auto-populated. Else check that the database is properly configured
2018-10-24 15:53:35,681 WARN [geonetwork.databasemigration] - Unable to retrieve the current GeoNetwork version from the database. If this is an initial run of the software, then the database will be auto-populated. Else check that the database is properly configured
2018-10-24 15:53:58,158 WARN [geonetwork.data.directory] - - Data directory properties is not set. Use geonetwork.dir or geonetwork.dir properties.
2018-10-24 15:53:58,174 WARN [geonetwork.data.directory] - - Data directory provided could not be used. Using default location: C:\Users\Kathy\Downloads\geonetwork\web\src\main\webapp\WEB-INF\data
2018-10-24 15:53:58,400 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data data-db-
2018-10-24 15:53:59,344 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-eng-
2018-10-24 15:53:59,742 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-fre-
2018-10-24 15:54:00,093 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-ger-
2018-10-24 15:54:00,374 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-spa-
2018-10-24 15:54:00,686 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-cat-
2018-10-24 15:54:00,967 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-rus-
2018-10-24 15:54:01,229 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-por-
2018-10-24 15:54:01,479 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-chi-
2018-10-24 15:54:01,786 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-dut-
2018-10-24 15:54:02,090 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-nor-
2018-10-24 15:54:02,387 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-fin-
2018-10-24 15:54:02,664 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-ara-
2018-10-24 15:54:02,929 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-ita-
2018-10-24 15:54:03,206 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-tur-
2018-10-24 15:54:03,534 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-vie-
2018-10-24 15:54:03,777 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-pol-
2018-10-24 15:54:04,027 WARN [geonetwork.database] - Executing SQL from: WEB-INF\classes\setup\sql\data loc-slo-
2018-10-24 15:54:05,806 WARN [geonetwork.schemamanager] - Cannot resolve http://www.w3.org/2001/03/xml.xsd: will append last component to current path (not sure it will help though!)
2018-10-24 15:54:07,640 WARN [geonetwork.schemamanager] - WARNING: gco:Record is a global element without a type - assuming a string
2018-10-24 15:54:08,905 WARN [geonetwork.schemamanager] - WARNING: gco:Record is a global element without a type - assuming a string
2018-10-24 15:54:09,030 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:VerticalDatum
2018-10-24 15:54:09,155 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:CoordinateSystemAxis
2018-10-24 15:54:09,186 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:VerticalCS
2018-10-24 15:54:09,248 WARN [geonetwork.schemamanager] - WARNING: schema-substitutions.xml has wiped out XSD substitution list for gml:CoordinateSystemAxis
2018-10-24 15:54:17,481 WARN [geonetwork.lucene] - Stopwords file with incorrect ISO 639-2 language as filename: README
[INFO] Initializing Spring FrameworkServlet ‘spring’
[INFO] Started o.e.j.m.p.JettyWebAppContext@anonymised.com{/geonetwork,[file:///C:/Users/Kathy/Downloads/geonetwork/web/src/main/webapp/, file:///C:/Users/Kathy/Downloads/geonetwork/web-ui/src/main/resources/, file:///C:/Users/Kathy/Downloads/geonetwork/web/target/webapp/],AVAILABLE}{[file:///C:/Users/Kathy/Downloads/geonetwork/web/src/main/webapp/, file:///C:/Users/Kathy/Downloads/geonetwork/web-ui/src/main/resources/, file:///C:/Users/Kathy/Downloads/geonetwork/web/target/webapp/]}
[INFO] Started ServerConnector@anonymised.com{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @236703ms
[INFO] Started Jetty Server
Maybe somebody can help us. We are looking forward to your upcoming tips or solutions. We will thank you a lot!
Please, do not hesitate to ask if you need further information.
Best wishes
Katharina Hovestadt