I have put the passwords back in and that does clear the errors but it turns
out that they were just masking the real error which is preventing the
GeoServer from loading.
The real issues is:
ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'gml32FeatureTypeEncoder' defined in URL
[jar:file:/C:/Apache-Tomcat%208.0-SecondInstance/webapps/ROOT/WEB-INF/lib/gs-wfs-2.11.2.jar!/applicationContext.xml]:
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20]: Constructor threw
exception; nested exception is java.lang.StackOverflowError
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
...
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate [org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20]: Constructor
threw exception; nested exception is java.lang.StackOverflowError
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 28 more
Caused by: java.lang.StackOverflowError
at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaImpl.java:2227)
at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(XSDSchemaImpl.java:2286)
at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveElementDeclaration(XSDSchemaImpl.java:2333)
...
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:796)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at org.geotools.xml.Schemas.parse(Schemas.java:329)
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.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML32.createTypeMappingProfile(FeatureTypeSchemaBuilder.java:1000)
at
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML3.<init>(FeatureTypeSchemaBuilder.java:935)
at
org.geoserver.wfs.xml.FeatureTypeSchemaBuilder$GML32.<init>(FeatureTypeSchemaBuilder.java:984)
at
org.geoserver.wfs.xml.v1_1_0.XmlSchemaEncoder$V20.<init>(XmlSchemaEncoder.java:122)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 30 more
Anyone have any pointers about that error message?
I think I might have tried to install the Marlin renderer at one point, perhaps
I've left a jar file somewhere?
Thanks,
Paul
From: Paul Wittle
Sent: 17 August 2017 10:31
To: 'McDonaldR' <mcdona...@angus.gov.uk>
Cc: 'geoserver-users@lists.sourceforge.net'
<geoserver-users@lists.sourceforge.net>
Subject: RE: Upgrading issue from 2.9.x to 2.11.x
Hi Ross,
I hadn't installed those JAR files but then I don't think the passwords were
actually using the strong encryption anyway. I've installed them now and the
messages are now correct on the old installs but the upgrade test is still not
loading.
I think I'll try putting a few passwords in unencrypted and see if it manages
to load any of them. If it does then I'll do it for all of them and then repeat
in the administration console once it is back on (should re-encrypt them).
Thanks for the suggestion,
Paul
From: McDonaldR [mailto:mcdona...@angus.gov.uk]
Sent: 17 August 2017 08:48
To: Paul Wittle <p.wit...@dorsetcc.gov.uk<mailto:p.wit...@dorsetcc.gov.uk>>
Cc:
geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>
Subject: RE: Upgrading issue from 2.9.x to 2.11.x
Have you installed the Unlimited Strength Policy jars in your upgraded Java
installation?
http://docs.geoserver.org/latest/en/user/production/java.html#installing-unlimited-strength-jurisdiction-policy-files
I recall similar messages from a recent upgrade (java 7 to 8, tomcat 7 to 8 and
geoserver 2.8 to 2.11) and I had forgotten to add those to the new java
installation.
Ross
From: Paul Wittle via Geoserver-users
[mailto:geoserver-users@lists.sourceforge.net]
Sent: 16 August 2017 09:58
To: 'geoserver-users@lists.sourceforge.net'
Subject: [Geoserver-users] Upgrading issue from 2.9.x to 2.11.x
Hi,
I'm getting some errors when trying to upgrade a GeoServer from 2.9.x to
2.11.x. I believe the key part of the stack trace is:
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)
I wondered whether this means that I need to unencrypt the passwords in all the
stores then reload and re-encrypt but perhaps I'm just missing something
obvious elsewhere in the logs?
Any thoughts would be appreciated :)
Paul
"This e-mail is intended for the named addressee(s) only and may contain
information about individuals or other sensitive information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this email in error, kindly disregard the
content of the message and notify the sender immediately. Please be aware that
all email may be subject to recording and/or monitoring in accordance with
relevant legislation."
This message is strictly confidential. If you have received this in error,
please inform the sender and remove it from your system. If received in error
you may not copy, print, forward or use it or any attachment in any way. This
message is not capable of creating a legal contract or a binding representation
and does not represent the views of Angus Council. Emails may be monitored for
security and network management reasons. Messages containing inappropriate
content may be intercepted. Angus Council does not accept any liability for any
harm that may be caused to the recipient system or data on it by this message
or any attachment.
"This e-mail is intended for the named addressee(s) only and may contain
information about individuals or other sensitive information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this email in error, kindly disregard the
content of the message and notify the sender immediately. Please be aware that
all email may be subject to recording and/or monitoring in accordance with
relevant legislation."
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users