Post by peter jamesHi,
Sorry Andrea,i didnt shared the logs correctly,Hereby am again sharing the
correct logs for your information,Kindly look into this.
*2017-06-09 19:37:39,860 WARN [data.store] - Error adding data store to
catalog*
*org.geoserver.catalog.CatalogException: Error persisting
DataStoreInfoImpl[test] to workspaces/test/test/datastore.xml*
* at
org.geoserver.config.GeoServerPersister.persist(GeoServerPersister.java:736)*
* at
org.geoserver.config.GeoServerPersister.addDataStore(GeoServerPersister.java:427)*
* at
org.geoserver.config.GeoServerPersister.handleAddEvent(GeoServerPersister.java:89)*
* at org.geoserver.catalog.impl.Cat
<http://org.geoserver.catalog.impl.Cat>alogImpl.event(CatalogImpl.java:1506)*
* at org.geoserver.catalog.impl.Cat
<http://org.geoserver.catalog.impl.Cat>alogImpl.fireAdded(CatalogImpl.java:1470)*
* at org.geoserver.catalog.impl.Cat
<http://org.geoserver.catalog.impl.Cat>alogImpl.added(CatalogImpl.java:1459)*
* at org.geoserver.catalog.impl.Cat
<http://org.geoserver.catalog.impl.Cat>alogImpl.add(CatalogImpl.java:168)*
* at
org.geoserver.security.SecureCatalogImpl.add(SecureCatalogImpl.java:1207)*
* at
org.geoserver.catalog.impl.AbstractFilteredCatalog.add(AbstractFilteredCatalog.java:597)*
* at
org.geoserver.catalog.impl.AbstractCatalogDecorator.add(AbstractCatalogDecorator.java:81)*
* at
org.geoserver.web.data.store.DataAccessNewPage.onSaveDataStore(DataAccessNewPage.java:118)*
* at
org.geoserver.web.data.store.AbstractDataAccessPage$1.onSubmit(AbstractDataAccessPage.java:165)*
* at
org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:111)*
* at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)*
* at
org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1309)*
* at org.apache.wicket.markup.html.form.Form.process(Form.java:976)*
* at
org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797)*
* at
org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)*
* at
org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)*
* at
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)*
* at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)*
* at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)*
* at java.lang.reflect.Method.invoke(Unknown Source)*
* at
org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258)*
* at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)*
* at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248)*
* at
org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)*
* at
org.apache.wicket.core.request.handler.RequestSettingRequestHandler.respond(RequestSettingRequestHandler.java:78)*
* at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)*
* at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)*
* at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)*
* at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)*
* at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)*
* at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)*
* at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)*
* at
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)*
* at
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)*
* at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)*
* at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)*
* at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)*
* at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)*
* at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)*
* at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:870)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)*
* at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at org.apache.tomcat.websocket.se
<http://org.apache.tomcat.websocket.se>rver.WsFilter.doFilter(WsFilter.java:52)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)*
* at
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)*
* at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)*
* at
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)*
* at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)*
* at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)*
* at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)*
* at
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)*
* at
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)*
* at
org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)*
* at
org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:157)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)*
* at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)*
* at
org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)*
* at
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)*
* at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)*
* at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)*
* at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)*
* at
org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:152)*
* at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)*
* at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)*
* at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)*
* at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)*
* at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)*
* at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)*
* at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)*
* at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)*
* at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)*
* at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)*
* at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)*
* at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)*
* at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)*
* at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)*
* at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)*
* at org.apache.tomcat.util.net
<http://org.apache.tomcat.util.net>.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2521)*
* at org.apache.tomcat.util.net
<http://org.apache.tomcat.util.net>.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2510)*
* at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)*
* at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)*
* at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)*
* at java.lang.Thread.run(Unknown Source)*
Encryption raised an exception. A possible cause is you are using strong
encryption algorithms and you have not installed the Java Cryptography
Extension (JCE) Unlimited Strength Jurisdiction Policy Files in this Java
Virtual Machine*
* at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.handleInvalidKeyException(StandardPBEByteEncryptor.java:999)*
* at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.encrypt(StandardPBEByteEncryptor.java:868)*
* at
org.jasypt.encryption.pbe.StandardPBEStringEncryptor.encrypt(StandardPBEStringEncryptor.java:634)*
* at
org.jasypt.spring.security3.PBEPasswordEncoder.encodePassword(PBEPasswordEncoder.java:199)*
* at
org.geoserver.security.password.AbstractGeoserverPasswordEncoder.encodePassword(AbstractGeoserverPasswordEncoder.java:111)*
* at
org.geoserver.security.password.ConfigurationPasswordEncryptionHelper.encode(ConfigurationPasswordEncryptionHelper.java:132)*
* at
org.geoserver.config.util.XStreamPersister$BreifMapConverter.marshal(XStreamPersister.java:803)*
* at
com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:70)*
* at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)*
* at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:250)*
* at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:226)*
* at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:189)*
* at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:135)*
* at
org.geoserver.config.util.XStreamPersister$AbstractReflectionConverter.doMarshal(XStreamPersister.java:1518)*
* at
org.geoserver.config.util.XStreamPersister$StoreInfoConverter.doMarshal(XStreamPersister.java:1602)*
* at
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)*
* at
com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:70)*
* at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)*
* at
com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)*
* at
com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)*
* at
com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)*
* at com.thoughtworks.xstream.XStream.marshal(XStream.java:1022)*
* at com.thoughtworks.xstream.XStream.marshal(XStream.java:1011)*
* at com.thoughtworks.xstream.XStream.toXML(XStream.java:984)*
* at
org.geoserver.config.util.XStreamPersister.save(XStreamPersister.java:590)*
* at
org.geoserver.config.GeoServerPersister.persist(GeoServerPersister.java:728)*
* ... 134 more*
Post by Andrea AimeHi Peter,
the logs you shared provide no useful information, there should be a full
stack trace added to them when that error appears in the UI.
If I had to make a guess, it may be that the user running GeoServer does not
have rights to write the xml file for the store configuration on disk?
Cheers
Andrea
Post by peter jamesHi all,
Any solutions for the above query?
Post by peter jamesHi Ben,
Sorry for the delay,the logs are found the following.
2017-06-06 16:54:56,177 DEBUG [geoserver.ows] - Could not a layer group
named web
2017-06-06 16:54:56,177 TRACE [ows.OWSHandlerMapping] - No handler
mapping found for [/web/fgN9roXXKp_pvAv4v20CCAL1
LtqpAoCn5FFm3_idvQrcz_6lWmYsAzUAEucVBzPj41QEpAZ9rW2btyAYIuCp
aPVJ021YHrRt/fgN8c/J02bb]
Post by Ben Caradoc-DaviesPeter,
do you see anything in the logs? We are especially interested in stack
traces.
Kind regards,
Ben.
Post by peter jamesHi,
When i trying to create new data sources using PostGIS Database in
Geoserver 2.11.0 version(Database used:PostgreSql 9.5.x),getting error
like:-"Error creating data store with the provided parameters:Error
persisting DataStoreInfoImpl[Test] to
workspaces/OnlineEditingChk/Test/datastore.xml"
Snapshot is attached for tour details.
There is no problem ,when we are doing same thing in 2.9.0.
--
Director
Transient Software Limited <http://transient.nz/>
New Zealand
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo Ú consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be confidential
or proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
-------------------------------------------------------