Hi Paul, I'm not too familiar with that part of the code, but my guess is that you're authenticating against a dbms (as in, checking if the username/pw combination allows a login into the db) and the logging level for the login failure is just set too high (someone mistyping the password is normal business, it's not a warning worthy event, although someone making 100 errors in a row would indeed be noteworthy...)
Cheers Andrea On Tue, Sep 13, 2016 at 9:47 AM, Paul Wittle <[email protected]> wrote: > Hi folks, > > > > I get this error message frequently but everything seems to work. I assume > it is related to an old setting I no longer need but it does clog up the > log files. > > > > Is there any clue in this stack trace that would let me know which bit of > the data directory I should be looking in to find the incorrect login > details? > > > > WARN [geoserver.security] - JDBC connect error > > org.springframework.security.authentication.AuthenticationServiceException: > JDBC connect error > > at org.geoserver.security.jdbc.JDBCConnectAuthProvider. > authenticate(JDBCConnectAuthProvider.java:95) > > at org.geoserver.security.GeoServerAuthenticationProvide > r.authenticate(GeoServerAuthenticationProvider.java:58) > > at org.springframework.security.authentication. > ProviderManager.authenticate(ProviderManager.java:156) > > at org.springframework.security.web.authentication.www. > BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:168) > > 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. > GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFi > lter.java:83) > > at org.springframework.security.web.FilterChainProxy$ > VirtualFilterChain.doFilter(FilterChainProxy.java:323) > > at org.geoserver.security.filter.GeoServerCompositeFilter$ > NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69) > > at org.springframework.security.web.context. > SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilt > er.java:87) > > 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:323) > > at org.springframework.security. > web.FilterChainProxy.doFilter(FilterChainProxy.java:173) > > at org.geoserver.security.GeoServerSecurityFilterChainPr > oxy.doFilter(GeoServerSecurityFilterChainProxy.java:135) > > at org.springframework.web.filter.DelegatingFilterProxy. > invokeDelegate(DelegatingFilterProxy.java:346) > > at org.springframework.web.filter.DelegatingFilterProxy. > doFilter(DelegatingFilterProxy.java:259) > > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:239) > > at org.apache.catalina.core.ApplicationFilterChain. > doFilter(ApplicationFilterChain.java:206) > > at org.geoserver.filters.LoggingFilter.doFilter( > LoggingFilter.java:87) > > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:239) > > at org.apache.catalina.core.ApplicationFilterChain. > doFilter(ApplicationFilterChain.java:206) > > at org.geoserver.filters.GZIPFilter.doFilter( > GZIPFilter.java:48) > > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:239) > > at org.apache.catalina.core.ApplicationFilterChain. > doFilter(ApplicationFilterChain.java:206) > > at org.geoserver.filters.SessionDebugFilter.doFilter( > SessionDebugFilter.java:48) > > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:239) > > at org.apache.catalina.core.ApplicationFilterChain. > doFilter(ApplicationFilterChain.java:206) > > at org.geoserver.filters.FlushSafeFilter.doFilter( > FlushSafeFilter.java:44) > > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:239) > > at org.apache.catalina.core.ApplicationFilterChain. > doFilter(ApplicationFilterChain.java:206) > > at org.vfny.geoserver.filters.SetCharacterEncodingFilter. > doFilter(SetCharacterEncodingFilter.java:109) > > at org.apache.catalina.core.ApplicationFilterChain. > internalDoFilter(ApplicationFilterChain.java:239) > > at org.apache.catalina.core.ApplicationFilterChain. > doFilter(ApplicationFilterChain.java:206) > > at org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:219) > > at org.apache.catalina.core.StandardContextValve.invoke( > StandardContextValve.java:106) > > at org.apache.catalina.authenticator. > AuthenticatorBase.invoke(AuthenticatorBase.java:501) > > at org.apache.catalina.core.StandardHostValve.invoke( > StandardHostValve.java:142) > > at org.apache.catalina.valves.ErrorReportValve.invoke( > ErrorReportValve.java:79) > > at org.apache.catalina.valves. > AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) > > at org.apache.catalina.core.StandardEngineValve.invoke( > StandardEngineValve.java:88) > > at org.apache.catalina.connector.CoyoteAdapter.service( > CoyoteAdapter.java:537) > > at org.apache.coyote.http11.AbstractHttp11Processor. > process(AbstractHttp11Processor.java:1085) > > at org.apache.coyote.AbstractProtocol$ > AbstractConnectionHandler.process(AbstractProtocol.java:658) > > at org.apache.coyote.http11.Http11AprProtocol$ > Http11ConnectionHandler.process(Http11AprProtocol.java:277) > > at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor. > doRun(AprEndpoint.java:2407) > > at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor. > run(AprEndpoint.java:2396) > > at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1145) > > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:615) > > at org.apache.tomcat.util.threads.TaskThread$ > WrappingRunnable.run(TaskThread.java:61) > > at java.lang.Thread.run(Thread.java:745) > > Caused by: java.sql.SQLException: ORA-01017: invalid username/password; > logon denied > > > > at oracle.jdbc.driver.T4CTTIoer. > processError(T4CTTIoer.java:447) > > at oracle.jdbc.driver.T4CTTIoer. > processError(T4CTTIoer.java:389) > > at oracle.jdbc.driver.T4CTTIoer. > processError(T4CTTIoer.java:382) > > at oracle.jdbc.driver.T4CTTIfun. > processError(T4CTTIfun.java:675) > > at oracle.jdbc.driver.T4CTTIoauthenticate.processError( > T4CTTIoauthenticate.java:448) > > at oracle.jdbc.driver.T4CTTIfun. > receive(T4CTTIfun.java:513) > > at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227) > > at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH( > T4CTTIoauthenticate.java:383) > > at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH( > T4CTTIoauthenticate.java:776) > > at oracle.jdbc.driver.T4CConnection.logon( > T4CConnection.java:432) > > at oracle.jdbc.driver.PhysicalConnection.<init>( > PhysicalConnection.java:553) > > at oracle.jdbc.driver.T4CConnection.<init>( > T4CConnection.java:254) > > at oracle.jdbc.driver.T4CDriverExtension.getConnection( > T4CDriverExtension.java:32) > > at oracle.jdbc.driver.OracleDriver.connect( > OracleDriver.java:528) > > at java.sql.DriverManager.getConnection(DriverManager. > java:571) > > at java.sql.DriverManager.getConnection(DriverManager. > java:215) > > at org.geoserver.security.jdbc.JDBCConnectAuthProvider. > authenticate(JDBCConnectAuthProvider.java:90) > > ... 51 more > > > > Best Regards, > > > > Paul Wittle > > GIS Developer > > Ext: 710 8473 > > Tel: 01305 228473 > > > "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." > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > -- == 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. -------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
