Geonetwork 3.10.2 installation issue

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Geonetwork 3.10.2 installation issue

Miguel Sánchez
Hi,

I wrote you to kwon if my issue is related to Java version or something
else that I'm not seeing.
Thak you in advance for your help.


I have a fresh server with this configuration:

*Apache Tomcat/9.0.16 (Debian)*

*JVM Version: 11.0.7+10-post-Debian-3deb10u1 *
*Debian 10 4.19.0-8-amd64*

Under webapps (tomcat context) I have a geoserver installation from .war
working well.

But, when I try to install Geonetwork 3.10.2 .war I have this result:

At Tomcat Manager:

FAIL - Application at context path [/geonetwork] could not be started


At geonetwork.log:

2020-05-03 01:14:32,542 FATAL [jeeves.engine] - Raised exception during init
2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Exception :
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name
'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
Unsatisfied dependency expressed through field 'searchManager': Error
creating bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError
2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Message   : Error
creating bean with name
'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
Unsatisfied dependency expressed through field 'searchManager': Error
creating bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError
2020-05-03 01:14:32,549 FATAL [jeeves.engine] -    Stack     :
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name
'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
Unsatisfied dependency expressed through field 'searchManager': Error
creating bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:350)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at
jeeves.config.springutil.JeevesContextLoaderListener.contextInitialized(JeevesContextLoaderListener.java:81)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1409)
at
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:698)
at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'SearchManager' defined in URL
[jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
Instantiation of bean failed; nested exception is
java.lang.ExceptionInInitializerError
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1208)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1048)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)
... 46 more
Caused by: java.lang.ExceptionInInitializerError
at org.geotools.xml.Schemas.parse(Schemas.java:302)
at org.geotools.xml.Schemas.parse(Schemas.java:294)
at org.geotools.xml.Schemas.parse(Schemas.java:256)
at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
at org.geotools.xml.XSD.getSchema(XSD.java:232)
at org.geotools.gml3.v3_2.GML.<init>(GML.java:71)
at org.geotools.gml3.v3_2.GML.<clinit>(GML.java:55)
at org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:122)
at org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:114)
at
org.geotools.filter.v2_0.FESConfiguration.<init>(FESConfiguration.java:116)
at
org.fao.geonet.kernel.search.SearchManager.<clinit>(SearchManager.java:157)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
... 58 more
Caused by: java.lang.IllegalArgumentException:
org.geotools.styling.StyleFactory is not an ImageIO SPI class
at
java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
at
java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
at org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:155)
at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:91)
at
org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:76)
at
org.geotools.factory.CommonFactoryFinder.lookup(CommonFactoryFinder.java:346)
at
org.geotools.factory.CommonFactoryFinder.getFilterFactory(CommonFactoryFinder.java:300)
at
org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:390)
at
org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:404)
at org.geotools.data.DataUtilities.<clinit>(DataUtilities.java:205)
... 76 more


--
----
Luis Miguel Sánchez Zoque
@kublaykan <http://www.twitter.com/kublaykan>
http://redhumus.org
Copyleft. Hack the planet an have a fun day!!!
OSM USER: OMNBUS <http://wiki.openstreetmap.org/wiki/WikiProject_Colombia>
https://primerrespondiente.wordpress.com
https://www.gnu.org/copyleft/

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.10.2 installation issue

Viktor Stroh
Hi Miguel,

Yes, I guess the problem is with the Java version. I could not get the
server to start under Java 11. After uninstalling Java 11 and installing
Java 8 the server was running.

Best regard

Viktor

Am 03.05.20 um 02:07 schrieb Miguel Sánchez:

> Hi,
>
> I wrote you to kwon if my issue is related to Java version or something
> else that I'm not seeing.
> Thak you in advance for your help.
>
>
> I have a fresh server with this configuration:
>
> *Apache Tomcat/9.0.16 (Debian)*
>
> *JVM Version: 11.0.7+10-post-Debian-3deb10u1 *
> *Debian 10 4.19.0-8-amd64*
>
> Under webapps (tomcat context) I have a geoserver installation from .war
> working well.
>
> But, when I try to install Geonetwork 3.10.2 .war I have this result:
>
> At Tomcat Manager:
>
> FAIL - Application at context path [/geonetwork] could not be started
>
>
> At geonetwork.log:
>
> 2020-05-03 01:14:32,542 FATAL [jeeves.engine] - Raised exception during init
> 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Exception :
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name
> 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> Unsatisfied dependency expressed through field 'searchManager': Error
> creating bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError
> 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Message   : Error
> creating bean with name
> 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> Unsatisfied dependency expressed through field 'searchManager': Error
> creating bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError
> 2020-05-03 01:14:32,549 FATAL [jeeves.engine] -    Stack     :
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name
> 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> Unsatisfied dependency expressed through field 'searchManager': Error
> creating bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> at
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:350)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
> at
> jeeves.config.springutil.JeevesContextLoaderListener.contextInitialized(JeevesContextLoaderListener.java:81)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> at
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1409)
> at
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:698)
> at
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'SearchManager' defined in URL
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> Instantiation of bean failed; nested exception is
> java.lang.ExceptionInInitializerError
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> at
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1208)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1048)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)
> ... 46 more
> Caused by: java.lang.ExceptionInInitializerError
> at org.geotools.xml.Schemas.parse(Schemas.java:302)
> at org.geotools.xml.Schemas.parse(Schemas.java:294)
> at org.geotools.xml.Schemas.parse(Schemas.java:256)
> at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
> at org.geotools.xml.XSD.getSchema(XSD.java:232)
> at org.geotools.gml3.v3_2.GML.<init>(GML.java:71)
> at org.geotools.gml3.v3_2.GML.<clinit>(GML.java:55)
> at org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:122)
> at org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:114)
> at
> org.geotools.filter.v2_0.FESConfiguration.<init>(FESConfiguration.java:116)
> at
> org.fao.geonet.kernel.search.SearchManager.<clinit>(SearchManager.java:157)
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
> at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
> at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
> ... 58 more
> Caused by: java.lang.IllegalArgumentException:
> org.geotools.styling.StyleFactory is not an ImageIO SPI class
> at
> java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
> at
> java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
> at org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:155)
> at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:91)
> at
> org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:76)
> at
> org.geotools.factory.CommonFactoryFinder.lookup(CommonFactoryFinder.java:346)
> at
> org.geotools.factory.CommonFactoryFinder.getFilterFactory(CommonFactoryFinder.java:300)
> at
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:390)
> at
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:404)
> at org.geotools.data.DataUtilities.<clinit>(DataUtilities.java:205)
> ... 76 more
>
>
--
_________________________________________
Viktor Stroh
Institut für Geodäsie und Geoinformation
Bereich der Geoinformation
Universität Bonn
Meckenheimer Allee 172
53115 Bonn

Tel: +49(0)228 73-1763
Fax: +49(0)228 73-1753
EMail: [hidden email]



_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.10.2 installation issue

Mats Elfström
Hi!
I can confirm this. I set up a fresh geodata stack and wanted to use
AdoptOpenJDK for licensing reasons. However Geonetwork failed on v11 but
runs fine on v8.
On the other hand, Geoserver 2.16 had no problem with v11.
All of this runs under Apache Tomcat with war-files.
Regards, Mats.E

Den mån 4 maj 2020 kl 00:15 skrev Viktor Stroh <[hidden email]>:

> Hi Miguel,
>
> Yes, I guess the problem is with the Java version. I could not get the
> server to start under Java 11. After uninstalling Java 11 and installing
> Java 8 the server was running.
>
> Best regard
>
> Viktor
>
> Am 03.05.20 um 02:07 schrieb Miguel Sánchez:
> > Hi,
> >
> > I wrote you to kwon if my issue is related to Java version or something
> > else that I'm not seeing.
> > Thak you in advance for your help.
> >
> >
> > I have a fresh server with this configuration:
> >
> > *Apache Tomcat/9.0.16 (Debian)*
> >
> > *JVM Version: 11.0.7+10-post-Debian-3deb10u1 *
> > *Debian 10 4.19.0-8-amd64*
> >
> > Under webapps (tomcat context) I have a geoserver installation from .war
> > working well.
> >
> > But, when I try to install Geonetwork 3.10.2 .war I have this result:
> >
> > At Tomcat Manager:
> >
> > FAIL - Application at context path [/geonetwork] could not be started
> >
> >
> > At geonetwork.log:
> >
> > 2020-05-03 01:14:32,542 FATAL [jeeves.engine] - Raised exception during
> init
> > 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Exception :
> > org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> > creating bean with name
> > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > Unsatisfied dependency expressed through field 'searchManager': Error
> > creating bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError; nested exception is
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError
> > 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Message   : Error
> > creating bean with name
> > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > Unsatisfied dependency expressed through field 'searchManager': Error
> > creating bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError; nested exception is
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError
> > 2020-05-03 01:14:32,549 FATAL [jeeves.engine] -    Stack     :
> > org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> > creating bean with name
> > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > Unsatisfied dependency expressed through field 'searchManager': Error
> > creating bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError; nested exception is
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError
> > at
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> > at
> >
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> > at
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:350)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> > at
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> > at
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)
> > at
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
> > at
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
> > at
> >
> jeeves.config.springutil.JeevesContextLoaderListener.contextInitialized(JeevesContextLoaderListener.java:81)
> > at
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
> > at
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
> > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> > at
> >
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1409)
> > at
> >
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:698)
> > at
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > at
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> > at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> > at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> > at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
> > at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> > at
> >
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> > at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> > at
> >
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> > at
> >
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> > at
> >
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
> > at
> > org.apache.tomcat.util.net
> .NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> > at
> > org.apache.tomcat.util.net
> .SocketProcessorBase.run(SocketProcessorBase.java:49)
> > at
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > at
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > at
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> > at java.base/java.lang.Thread.run(Thread.java:834)
> > Caused by: org.springframework.beans.factory.BeanCreationException: Error
> > creating bean with name 'SearchManager' defined in URL
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > Instantiation of bean failed; nested exception is
> > java.lang.ExceptionInInitializerError
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> > at
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> > at
> >
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)
> > at
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1208)
> > at
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1048)
> > at
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)
> > at
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)
> > ... 46 more
> > Caused by: java.lang.ExceptionInInitializerError
> > at org.geotools.xml.Schemas.parse(Schemas.java:302)
> > at org.geotools.xml.Schemas.parse(Schemas.java:294)
> > at org.geotools.xml.Schemas.parse(Schemas.java:256)
> > at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
> > at org.geotools.xml.XSD.getSchema(XSD.java:232)
> > at org.geotools.gml3.v3_2.GML.<init>(GML.java:71)
> > at org.geotools.gml3.v3_2.GML.<clinit>(GML.java:55)
> > at
> org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:122)
> > at
> org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:114)
> > at
> >
> org.geotools.filter.v2_0.FESConfiguration.<init>(FESConfiguration.java:116)
> > at
> >
> org.fao.geonet.kernel.search.SearchManager.<clinit>(SearchManager.java:157)
> > at
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> > at
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > at
> >
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
> > at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
> > at
> >
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
> > at
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
> > ... 58 more
> > Caused by: java.lang.IllegalArgumentException:
> > org.geotools.styling.StyleFactory is not an ImageIO SPI class
> > at
> >
> java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
> > at
> >
> java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
> > at org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:155)
> > at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:91)
> > at
> >
> org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:76)
> > at
> >
> org.geotools.factory.CommonFactoryFinder.lookup(CommonFactoryFinder.java:346)
> > at
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory(CommonFactoryFinder.java:300)
> > at
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:390)
> > at
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:404)
> > at org.geotools.data.DataUtilities.<clinit>(DataUtilities.java:205)
> > ... 76 more
> >
> >
> --
> _________________________________________
> Viktor Stroh
> Institut für Geodäsie und Geoinformation
> Bereich der Geoinformation
> Universität Bonn
> Meckenheimer Allee 172
> 53115 Bonn
>
> Tel: +49(0)228 73-1763
> Fax: +49(0)228 73-1753
> EMail: [hidden email]
>
>
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>


--
______________________________________________
Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
tel: +46 46 145959 / mob: +46 70 595 39 35
alt e-mail: [hidden email] <[hidden email]>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.10.2 installation issue

Juan Luis Rodríguez Ponce
Indeed, GeoNetwork 3 doesn't support Java 11 yet, only Java 8.

On Mon, May 4, 2020 at 12:45 PM Mats Elfström <[hidden email]>
wrote:

> Hi!
> I can confirm this. I set up a fresh geodata stack and wanted to use
> AdoptOpenJDK for licensing reasons. However Geonetwork failed on v11 but
> runs fine on v8.
> On the other hand, Geoserver 2.16 had no problem with v11.
> All of this runs under Apache Tomcat with war-files.
> Regards, Mats.E
>
> Den mån 4 maj 2020 kl 00:15 skrev Viktor Stroh <[hidden email]>:
>
> > Hi Miguel,
> >
> > Yes, I guess the problem is with the Java version. I could not get the
> > server to start under Java 11. After uninstalling Java 11 and installing
> > Java 8 the server was running.
> >
> > Best regard
> >
> > Viktor
> >
> > Am 03.05.20 um 02:07 schrieb Miguel Sánchez:
> > > Hi,
> > >
> > > I wrote you to kwon if my issue is related to Java version or something
> > > else that I'm not seeing.
> > > Thak you in advance for your help.
> > >
> > >
> > > I have a fresh server with this configuration:
> > >
> > > *Apache Tomcat/9.0.16 (Debian)*
> > >
> > > *JVM Version: 11.0.7+10-post-Debian-3deb10u1 *
> > > *Debian 10 4.19.0-8-amd64*
> > >
> > > Under webapps (tomcat context) I have a geoserver installation from
> .war
> > > working well.
> > >
> > > But, when I try to install Geonetwork 3.10.2 .war I have this result:
> > >
> > > At Tomcat Manager:
> > >
> > > FAIL - Application at context path [/geonetwork] could not be started
> > >
> > >
> > > At geonetwork.log:
> > >
> > > 2020-05-03 01:14:32,542 FATAL [jeeves.engine] - Raised exception during
> > init
> > > 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Exception :
> > > org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> > > creating bean with name
> > > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > > Unsatisfied dependency expressed through field 'searchManager': Error
> > > creating bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError; nested exception is
> > > org.springframework.beans.factory.BeanCreationException: Error creating
> > > bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError
> > > 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Message   : Error
> > > creating bean with name
> > > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > > Unsatisfied dependency expressed through field 'searchManager': Error
> > > creating bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError; nested exception is
> > > org.springframework.beans.factory.BeanCreationException: Error creating
> > > bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError
> > > 2020-05-03 01:14:32,549 FATAL [jeeves.engine] -    Stack     :
> > > org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> > > creating bean with name
> > > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > > Unsatisfied dependency expressed through field 'searchManager': Error
> > > creating bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError; nested exception is
> > > org.springframework.beans.factory.BeanCreationException: Error creating
> > > bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError
> > > at
> > >
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> > > at
> > >
> >
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> > > at
> > >
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:350)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> > > at
> > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> > > at
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)
> > > at
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
> > > at
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
> > > at
> > >
> >
> jeeves.config.springutil.JeevesContextLoaderListener.contextInitialized(JeevesContextLoaderListener.java:81)
> > > at
> > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
> > > at
> > >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
> > > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> > > at
> > >
> >
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1409)
> > > at
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:698)
> > > at
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > > at
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > > at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> > > at
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > > at
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> > > at
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> > > at
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
> > > at
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> > > at
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> > > at
> > >
> >
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
> > > at
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> > > at
> > >
> >
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> > > at
> > >
> >
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> > > at
> > >
> >
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
> > > at
> > > org.apache.tomcat.util.net
> > .NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> > > at
> > > org.apache.tomcat.util.net
> > .SocketProcessorBase.run(SocketProcessorBase.java:49)
> > > at
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > > at
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > > at
> > >
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> > > at java.base/java.lang.Thread.run(Thread.java:834)
> > > Caused by: org.springframework.beans.factory.BeanCreationException:
> Error
> > > creating bean with name 'SearchManager' defined in URL
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > Instantiation of bean failed; nested exception is
> > > java.lang.ExceptionInInitializerError
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> > > at
> > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> > > at
> > >
> >
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)
> > > at
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1208)
> > > at
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1048)
> > > at
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)
> > > at
> > >
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)
> > > ... 46 more
> > > Caused by: java.lang.ExceptionInInitializerError
> > > at org.geotools.xml.Schemas.parse(Schemas.java:302)
> > > at org.geotools.xml.Schemas.parse(Schemas.java:294)
> > > at org.geotools.xml.Schemas.parse(Schemas.java:256)
> > > at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
> > > at org.geotools.xml.XSD.getSchema(XSD.java:232)
> > > at org.geotools.gml3.v3_2.GML.<init>(GML.java:71)
> > > at org.geotools.gml3.v3_2.GML.<clinit>(GML.java:55)
> > > at
> > org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:122)
> > > at
> > org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:114)
> > > at
> > >
> >
> org.geotools.filter.v2_0.FESConfiguration.<init>(FESConfiguration.java:116)
> > > at
> > >
> >
> org.fao.geonet.kernel.search.SearchManager.<clinit>(SearchManager.java:157)
> > > at
> > >
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > Method)
> > > at
> > >
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > > at
> > >
> >
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > at
> > java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
> > > at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
> > > at
> > >
> >
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
> > > at
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
> > > ... 58 more
> > > Caused by: java.lang.IllegalArgumentException:
> > > org.geotools.styling.StyleFactory is not an ImageIO SPI class
> > > at
> > >
> >
> java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
> > > at
> > >
> >
> java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
> > > at
> org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:155)
> > > at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:91)
> > > at
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:76)
> > > at
> > >
> >
> org.geotools.factory.CommonFactoryFinder.lookup(CommonFactoryFinder.java:346)
> > > at
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory(CommonFactoryFinder.java:300)
> > > at
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:390)
> > > at
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:404)
> > > at org.geotools.data.DataUtilities.<clinit>(DataUtilities.java:205)
> > > ... 76 more
> > >
> > >
> > --
> > _________________________________________
> > Viktor Stroh
> > Institut für Geodäsie und Geoinformation
> > Bereich der Geoinformation
> > Universität Bonn
> > Meckenheimer Allee 172
> > 53115 Bonn
> >
> > Tel: +49(0)228 73-1763
> > Fax: +49(0)228 73-1753
> > EMail: [hidden email]
> >
> >
> >
> > _______________________________________________
> > GeoNetwork-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> > GeoNetwork OpenSource is maintained at
> > http://sourceforge.net/projects/geonetwork
> >
>
>
> --
> ______________________________________________
> Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
> tel: +46 46 145959 / mob: +46 70 595 39 35
> alt e-mail: [hidden email] <[hidden email]>
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>


--










*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Geonetwork 3.10.2 installation issue

Miguel Sánchez
Hi, Thanks a lot for your help. I could use java8 to manage to install
geonetwork:

I installed java 8 using these indications:
https://installvirtual.com/install-java-8-on-debian-10-buster/

Select default java version to use
update-alternatives --config java

confirm java 8 location:

echo $JAVA_HOME

Tell tomcat9 to use this route at:

/etc/default/tomcat9

Restart tomcat9

service tomcat9 restart

Finally, geonetwork running

Thanks




El mié., 6 may. 2020 a las 3:01, Juan Luis Rodríguez Ponce (<
[hidden email]>) escribió:

> Indeed, GeoNetwork 3 doesn't support Java 11 yet, only Java 8.
>
> On Mon, May 4, 2020 at 12:45 PM Mats Elfström <[hidden email]>
> wrote:
>
> > Hi!
> > I can confirm this. I set up a fresh geodata stack and wanted to use
> > AdoptOpenJDK for licensing reasons. However Geonetwork failed on v11 but
> > runs fine on v8.
> > On the other hand, Geoserver 2.16 had no problem with v11.
> > All of this runs under Apache Tomcat with war-files.
> > Regards, Mats.E
> >
> > Den mån 4 maj 2020 kl 00:15 skrev Viktor Stroh <[hidden email]>:
> >
> > > Hi Miguel,
> > >
> > > Yes, I guess the problem is with the Java version. I could not get the
> > > server to start under Java 11. After uninstalling Java 11 and
> installing
> > > Java 8 the server was running.
> > >
> > > Best regard
> > >
> > > Viktor
> > >
> > > Am 03.05.20 um 02:07 schrieb Miguel Sánchez:
> > > > Hi,
> > > >
> > > > I wrote you to kwon if my issue is related to Java version or
> something
> > > > else that I'm not seeing.
> > > > Thak you in advance for your help.
> > > >
> > > >
> > > > I have a fresh server with this configuration:
> > > >
> > > > *Apache Tomcat/9.0.16 (Debian)*
> > > >
> > > > *JVM Version: 11.0.7+10-post-Debian-3deb10u1 *
> > > > *Debian 10 4.19.0-8-amd64*
> > > >
> > > > Under webapps (tomcat context) I have a geoserver installation from
> > .war
> > > > working well.
> > > >
> > > > But, when I try to install Geonetwork 3.10.2 .war I have this result:
> > > >
> > > > At Tomcat Manager:
> > > >
> > > > FAIL - Application at context path [/geonetwork] could not be started
> > > >
> > > >
> > > > At geonetwork.log:
> > > >
> > > > 2020-05-03 01:14:32,542 FATAL [jeeves.engine] - Raised exception
> during
> > > init
> > > > 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Exception :
> > > > org.springframework.beans.factory.UnsatisfiedDependencyException:
> Error
> > > > creating bean with name
> > > > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > > > Unsatisfied dependency expressed through field 'searchManager': Error
> > > > creating bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError; nested exception is
> > > > org.springframework.beans.factory.BeanCreationException: Error
> creating
> > > > bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError
> > > > 2020-05-03 01:14:32,545 FATAL [jeeves.engine] -    Message   : Error
> > > > creating bean with name
> > > > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > > > Unsatisfied dependency expressed through field 'searchManager': Error
> > > > creating bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError; nested exception is
> > > > org.springframework.beans.factory.BeanCreationException: Error
> creating
> > > > bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError
> > > > 2020-05-03 01:14:32,549 FATAL [jeeves.engine] -    Stack     :
> > > > org.springframework.beans.factory.UnsatisfiedDependencyException:
> Error
> > > > creating bean with name
> > > > 'org.fao.geonet.kernel.datamanager.draft.DraftMetadataIndexer#0':
> > > > Unsatisfied dependency expressed through field 'searchManager': Error
> > > > creating bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError; nested exception is
> > > > org.springframework.beans.factory.BeanCreationException: Error
> creating
> > > > bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:350)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)
> > > > at
> > > >
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
> > > > at
> > > >
> > >
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
> > > > at
> > > >
> > >
> >
> jeeves.config.springutil.JeevesContextLoaderListener.contextInitialized(JeevesContextLoaderListener.java:81)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4668)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5136)
> > > > at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1409)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:698)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:223)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
> > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > > > at
> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> > > > at
> > > >
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> > > > at
> > > >
> > >
> >
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> > > > at
> > > >
> > >
> >
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> > > > at
> > > >
> > >
> >
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
> > > > at
> > > > org.apache.tomcat.util.net
> > > .NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> > > > at
> > > > org.apache.tomcat.util.net
> > > .SocketProcessorBase.run(SocketProcessorBase.java:49)
> > > > at
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> > > > at
> > > >
> > >
> >
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> > > > at
> > > >
> > >
> >
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> > > > at java.base/java.lang.Thread.run(Thread.java:834)
> > > > Caused by: org.springframework.beans.factory.BeanCreationException:
> > Error
> > > > creating bean with name 'SearchManager' defined in URL
> > > >
> > >
> >
> [jar:file:/var/lib/tomcat9/webapps/geonetwork/WEB-INF/lib/core-3.10.2-0.jar!/config-spring-geonetwork.xml]:
> > > > Instantiation of bean failed; nested exception is
> > > > java.lang.ExceptionInInitializerError
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:187)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1208)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1048)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1018)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)
> > > > ... 46 more
> > > > Caused by: java.lang.ExceptionInInitializerError
> > > > at org.geotools.xml.Schemas.parse(Schemas.java:302)
> > > > at org.geotools.xml.Schemas.parse(Schemas.java:294)
> > > > at org.geotools.xml.Schemas.parse(Schemas.java:256)
> > > > at org.geotools.gml3.v3_2.GML.buildSchema(GML.java:2732)
> > > > at org.geotools.xml.XSD.getSchema(XSD.java:232)
> > > > at org.geotools.gml3.v3_2.GML.<init>(GML.java:71)
> > > > at org.geotools.gml3.v3_2.GML.<clinit>(GML.java:55)
> > > > at
> > >
> org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:122)
> > > > at
> > >
> org.geotools.gml3.v3_2.GMLConfiguration.<init>(GMLConfiguration.java:114)
> > > > at
> > > >
> > >
> >
> org.geotools.filter.v2_0.FESConfiguration.<init>(FESConfiguration.java:116)
> > > > at
> > > >
> > >
> >
> org.fao.geonet.kernel.search.SearchManager.<clinit>(SearchManager.java:157)
> > > > at
> > > >
> > >
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > > Method)
> > > > at
> > > >
> > >
> >
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > > > at
> > > >
> > >
> >
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > > at
> > >
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
> > > > at
> > >
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
> > > > at
> > > >
> > >
> >
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
> > > > ... 58 more
> > > > Caused by: java.lang.IllegalArgumentException:
> > > > org.geotools.styling.StyleFactory is not an ImageIO SPI class
> > > > at
> > > >
> > >
> >
> java.desktop/javax.imageio.spi.ServiceRegistry.checkClassAllowed(ServiceRegistry.java:722)
> > > > at
> > > >
> > >
> >
> java.desktop/javax.imageio.spi.ServiceRegistry.<init>(ServiceRegistry.java:117)
> > > > at
> > org.geotools.factory.FactoryRegistry.<init>(FactoryRegistry.java:155)
> > > > at org.geotools.factory.FactoryCreator.<init>(FactoryCreator.java:91)
> > > > at
> > > >
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getServiceRegistry(CommonFactoryFinder.java:76)
> > > > at
> > > >
> > >
> >
> org.geotools.factory.CommonFactoryFinder.lookup(CommonFactoryFinder.java:346)
> > > > at
> > > >
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory(CommonFactoryFinder.java:300)
> > > > at
> > > >
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:390)
> > > > at
> > > >
> > >
> >
> org.geotools.factory.CommonFactoryFinder.getFilterFactory2(CommonFactoryFinder.java:404)
> > > > at org.geotools.data.DataUtilities.<clinit>(DataUtilities.java:205)
> > > > ... 76 more
> > > >
> > > >
> > > --
> > > _________________________________________
> > > Viktor Stroh
> > > Institut für Geodäsie und Geoinformation
> > > Bereich der Geoinformation
> > > Universität Bonn
> > > Meckenheimer Allee 172
> > > 53115 Bonn
> > >
> > > Tel: +49(0)228 73-1763
> > > Fax: +49(0)228 73-1753
> > > EMail: [hidden email]
> > >
> > >
> > >
> > > _______________________________________________
> > > GeoNetwork-users mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> > > GeoNetwork OpenSource is maintained at
> > > http://sourceforge.net/projects/geonetwork
> > >
> >
> >
> > --
> > ______________________________________________
> > Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
> > tel: +46 46 145959 / mob: +46 70 595 39 35
> > alt e-mail: [hidden email] <[hidden email]>
> >
> > _______________________________________________
> > GeoNetwork-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> > GeoNetwork OpenSource is maintained at
> > http://sourceforge.net/projects/geonetwork
> >
>
>
> --
>
>
>
>
>
>
>
>
>
>
> *Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
> <http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
> (0)318 416664 <+31318416664>Please consider the environment before printing
> this email.*
>
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>


--
----
Luis Miguel Sánchez Zoque
@kublaykan <http://www.twitter.com/kublaykan>
http://redhumus.org
Copyleft. Hack the planet an have a fun day!!!
OSM USER: OMNBUS <http://wiki.openstreetmap.org/wiki/WikiProject_Colombia>
https://primerrespondiente.wordpress.com
https://www.gnu.org/copyleft/

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork