Hi,
I have updated the code few days ago (trunk revision 653257) and started facing the user login problem. Use can long successfully just after creating the account. However, once user logs out, and tries to login, get the following error: *The following error occurred during login: Password incorrect. *Stack trace below shows the enter password and db password hash is same. Any idea what is going wrong here? Thanks, Raj * *<stacktrace>* * [java] 2008-05-18 12:49:14,212 (http-0.0.0.0-8443-Processor3) [ LoginServices.java:201:INFO ] Entered password [{SHA}cf11140d799ed24cf6c3f6fc490b165474c0e0db], Entered password OldFunnyHexEncode [b011140d79e1ad4c89bc8983490b165474bf9fa4], db password [{SHA}cf11140d799ed24cf6c3f6fc490b165474c0e0db] [java] 2008-05-18 12:49:14,213 (http-0.0.0.0-8443-Processor3) [ LoginServices.java:211:INFO ] [LoginServices.userLogin] : Password Incorrect [java] 2008-05-18 12:49:14,228 (http-0.0.0.0-8443-Processor3) [ ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: Password incorrect. [java] 2008-05-18 12:49:14,229 (http-0.0.0.0-8443-Processor3) [ TransactionUtil.java:275:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] [TransactionUtil.rollback] [java] Exception: java.lang.Exception [java] Message: Stack Trace [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.Exception: Stack Trace [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) [java] org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) [java] org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:363) [java] org.ofbiz.securityext.login.LoginEvents.storeLogin(LoginEvents.java:344) [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] java.lang.reflect.Method.invoke(Method.java:585) [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) [java] org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) [java] org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) [java] org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) [java] org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) [java] org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) [java] org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) [java] org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) [java] org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) [java] java.lang.Thread.run(Thread.java:595) [java] -------------------------------------------------------------------------------- </stacktrace> |
Hi Raj
There were some issues there that have been resolved since your revision, an update should fix the problem. Regards Scott 2008/5/18 Raj Saini <[hidden email]>: > Hi, > > I have updated the code few days ago (trunk revision 653257) and started > facing the user login problem. Use can long successfully just after creating > the account. However, once user logs out, and tries to login, get the > following error: > > *The following error occurred during login: Password incorrect. > > *Stack trace below shows the enter password and db password hash is same. > Any idea what is going wrong here? > > Thanks, > > Raj > * > *<stacktrace>* > * [java] 2008-05-18 12:49:14,212 (http-0.0.0.0-8443-Processor3) [ > LoginServices.java:201:INFO ] Entered password > [{SHA}cf11140d799ed24cf6c3f6fc490b165474c0e0db], Entered password > OldFunnyHexEncode [b011140d79e1ad4c89bc8983490b165474bf9fa4], db password > [{SHA}cf11140d799ed24cf6c3f6fc490b165474c0e0db] > [java] 2008-05-18 12:49:14,213 (http-0.0.0.0-8443-Processor3) [ > LoginServices.java:211:INFO ] [LoginServices.userLogin] : Password > Incorrect > [java] 2008-05-18 12:49:14,228 (http-0.0.0.0-8443-Processor3) [ > ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: Password > incorrect. > [java] 2008-05-18 12:49:14,229 (http-0.0.0.0-8443-Processor3) [ > TransactionUtil.java:275:ERROR] > [java] ---- exception report > ---------------------------------------------------------- > [java] [TransactionUtil.rollback] > [java] Exception: java.lang.Exception > [java] Message: Stack Trace > [java] ---- stack trace > --------------------------------------------------------------- > [java] java.lang.Exception: Stack Trace > [java] > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) > [java] > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) > [java] > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) > [java] > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > [java] > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) > [java] org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:363) > [java] > org.ofbiz.securityext.login.LoginEvents.storeLogin(LoginEvents.java:344) > [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [java] java.lang.reflect.Method.invoke(Method.java:585) > [java] > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) > [java] > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) > [java] > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454) > [java] > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281) > [java] > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) > [java] > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) > [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > [java] > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > [java] > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > [java] > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255) > [java] > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > [java] > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > [java] > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) > [java] > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) > [java] > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > [java] > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > [java] > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > [java] > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) > [java] > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) > [java] > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) > [java] > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > [java] > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > [java] > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > [java] > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) > [java] java.lang.Thread.run(Thread.java:595) > [java] > -------------------------------------------------------------------------------- > </stacktrace> > |
I just updated (rev. 658402) and re ran the install to a fresh database
. I got the following after trying to login as admin/ofbiz for the first time. [java] 2008-05-20 12:42:55,291 (http-0.0.0.0-8443-Processor3) [ ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: Password incorrect. [java] 2008-05-20 12:42:55,291 (http-0.0.0.0-8443-Processor3) [ TransactionUtil.java:275:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] [TransactionUtil.rollback] [java] Exception: java.lang.Exception [java] Message: Stack Trace [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.Exception: Stack Trace [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) [java] org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) [java] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) [java] org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) [java] org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:373) ... Scott Gray wrote: > Hi Raj > > There were some issues there that have been resolved since your revision, an > update should fix the problem. > > Regards > Scott > > 2008/5/18 Raj Saini <[hidden email]>: > >> Hi, >> >> I have updated the code few days ago (trunk revision 653257) and started >> facing the user login problem. Use can long successfully just after creating >> the account. However, once user logs out, and tries to login, get the >> following error: >> >> *The following error occurred during login: Password incorrect. >> >> *Stack trace below shows the enter password and db password hash is same. >> Any idea what is going wrong here? >> >> Thanks, >> >> Raj |
Sorry I think my issue was that I had to invoke ant with run-install-extseed instead of run-install-seed the ext seed version encrypts the admin password for you.
|
Hi Stephen
That's right sort of, "ant run-install-seed" does not load seed-initial data, which contains passwords for the main UserLogins. You can find more information on what is loaded by looking at the main build.xml file. Regards Scott 2008/5/21 srufle <[hidden email]>: > > Sorry I think my issue was that I had to invoke ant with > run-install-extseed > instead of run-install-seed the ext seed version encrypts the admin > password > for you. > -- > View this message in context: > http://www.nabble.com/User-login-problem-tp17299952p17353553.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
Free forum by Nabble | Edit this page |