Hi,
Using ofbiz-trunk-2009-01-15-v734653. When I try to log in with an invalid user or an invalid pasword, the error message is not displayed, I have only : "The Following Errors Occurred:". It should also says "invalid login or password". 2009-01-30 13:21:57,000 (http-0.0.0.0-8443-4) [ RequestHandler.java:326:ERROR] Request login caused an error with the following message: 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: User not found. 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ TransactionUtil.java:275:ERROR] ---- exception report ---------------------------------------------------------- [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack Trace ---- stack trace --------------------------------------------------------------- java.lang.Exception: Stack Trace org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:376) Cimballi |
Some more informations, in the error.log files, I have these messages :
2009-01-30 14:22:12,661 (http-0.0.0.0-8443-4) [ RequestHandler.java:326:ERROR] Request login caused an error with the following message: 2009-01-30 14:22:12,691 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 123. Error message: cvc-complex-type.3.2.2: Attribute 'result-map-name' is not allowed to appear in element 'service'. 2009-01-30 14:22:12,701 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 139. Error message: cvc-complex-type.3.2.2: Attribute 'value-name' is not allowed to appear in element 'entity-one'. 2009-01-30 14:22:12,701 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 139. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 154. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 154. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 159. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 159. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 194. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 194. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 402. Error message: cvc-complex-type.3.2.2: Attribute 'field-name' is not allowed to appear in element 'if-empty'. 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ UtilXml.java:665:ERROR] XmlFileLoader: File file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml process error. Line: 402. Error message: cvc-complex-type.4: Attribute 'field' must appear on element 'if-empty'. 2009-01-30 14:22:21,574 (http-0.0.0.0-8443-4) [ RequestHandler.java:326:ERROR] Request login caused an error with the following message: Also I have a strange behavior with the login screen, after trying to log with the blog_user user and having the previous emailed error, I tried to login with the admin user and it displays the same message (without the error message) and it puts this in the login box : [blog_user, admin] And it strange because I typed the right login-password for the admin user but it doesn't log me. Cimballi On Fri, Jan 30, 2009 at 1:30 PM, Cimballi <[hidden email]> wrote: > Hi, > > Using ofbiz-trunk-2009-01-15-v734653. > > When I try to log in with an invalid user or an invalid pasword, the > error message is not displayed, I have only : "The Following Errors > Occurred:". > It should also says "invalid login or password". > > 2009-01-30 13:21:57,000 (http-0.0.0.0-8443-4) [ > RequestHandler.java:326:ERROR] Request login caused an error with the > following message: > 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ > ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: User > not found. > 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ > TransactionUtil.java:275:ERROR] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack Trace > ---- stack trace --------------------------------------------------------------- > java.lang.Exception: Stack Trace > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) > org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:376) > > Cimballi > |
Administrator
|
In reply to this post by Cimballi
Yes, it said something alike before, but no longer since some time... Could you please open a Jira issue for this ?
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices BTW, please use rather user ML for such questions, see why here : http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists#MailingLists-DeveloperList:dev@... Thanks Jacques From: "Cimballi" <[hidden email]> > Hi, > > Using ofbiz-trunk-2009-01-15-v734653. > > When I try to log in with an invalid user or an invalid pasword, the > error message is not displayed, I have only : "The Following Errors > Occurred:". > It should also says "invalid login or password". > > 2009-01-30 13:21:57,000 (http-0.0.0.0-8443-4) [ > RequestHandler.java:326:ERROR] Request login caused an error with the > following message: > 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ > ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: User > not found. > 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ > TransactionUtil.java:275:ERROR] > ---- exception report ---------------------------------------------------------- > [TransactionUtil.rollback] > Exception: java.lang.Exception > Message: Stack Trace > ---- stack trace --------------------------------------------------------------- > java.lang.Exception: Stack Trace > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) > org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:376) > > Cimballi > |
Administrator
|
In reply to this post by Cimballi
This is not related to subject. Actually, these errors are ony warnings, and should not prevent OFBiz to run smoothly. After some
XSD refactoring, we are working on it, and one day they will all dissapear (only deprecated stuff anyway) Jacques From: "Cimballi" <[hidden email]> > Some more informations, in the error.log files, I have these messages : > > 2009-01-30 14:22:12,661 (http-0.0.0.0-8443-4) [ > RequestHandler.java:326:ERROR] Request login caused an error with the > following message: > 2009-01-30 14:22:12,691 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 123. Error message: cvc-complex-type.3.2.2: > Attribute 'result-map-name' is not allowed to appear in element > 'service'. > 2009-01-30 14:22:12,701 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 139. Error message: cvc-complex-type.3.2.2: > Attribute 'value-name' is not allowed to appear in element > 'entity-one'. > 2009-01-30 14:22:12,701 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 139. Error message: cvc-complex-type.4: Attribute > 'value-field' must appear on element 'entity-one'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 154. Error message: cvc-complex-type.3.2.2: > Attribute 'field-name' is not allowed to appear in element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 154. Error message: cvc-complex-type.4: Attribute > 'field' must appear on element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 159. Error message: cvc-complex-type.3.2.2: > Attribute 'field-name' is not allowed to appear in element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 159. Error message: cvc-complex-type.4: Attribute > 'field' must appear on element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 194. Error message: cvc-complex-type.3.2.2: > Attribute 'field-name' is not allowed to appear in element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 194. Error message: cvc-complex-type.4: Attribute > 'field' must appear on element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 402. Error message: cvc-complex-type.3.2.2: > Attribute 'field-name' is not allowed to appear in element 'if-empty'. > 2009-01-30 14:22:12,721 (http-0.0.0.0-8443-4) [ > UtilXml.java:665:ERROR] XmlFileLoader: File > file:/C:/ofbiz-trunk-2009-01-15-v734653/ofbiz-trunk/framework/common/widget/CommonScreens.xml > process error. Line: 402. Error message: cvc-complex-type.4: Attribute > 'field' must appear on element 'if-empty'. > 2009-01-30 14:22:21,574 (http-0.0.0.0-8443-4) [ > RequestHandler.java:326:ERROR] Request login caused an error with the > following message: > > Also I have a strange behavior with the login screen, after trying to > log with the blog_user user and having the previous emailed error, I > tried to login with the admin user and it displays the same message > (without the error message) and it puts this in the login box : > [blog_user, admin] > And it strange because I typed the right login-password for the admin > user but it doesn't log me. > > Cimballi > > > On Fri, Jan 30, 2009 at 1:30 PM, Cimballi <[hidden email]> wrote: >> Hi, >> >> Using ofbiz-trunk-2009-01-15-v734653. >> >> When I try to log in with an invalid user or an invalid pasword, the >> error message is not displayed, I have only : "The Following Errors >> Occurred:". >> It should also says "invalid login or password". >> >> 2009-01-30 13:21:57,000 (http-0.0.0.0-8443-4) [ >> RequestHandler.java:326:ERROR] Request login caused an error with the >> following message: >> 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ >> ServiceDispatcher.java:522:ERROR] Error in Service [userLogin]: User >> not found. >> 2009-01-30 13:22:18,852 (http-0.0.0.0-8443-4) [ >> TransactionUtil.java:275:ERROR] >> ---- exception report ---------------------------------------------------------- >> [TransactionUtil.rollback] >> Exception: java.lang.Exception >> Message: Stack Trace >> ---- stack trace --------------------------------------------------------------- >> java.lang.Exception: Stack Trace >> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274) >> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256) >> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526) >> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:213) >> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:149) >> org.ofbiz.webapp.control.LoginWorker.login(LoginWorker.java:376) >> >> Cimballi >> > |
Free forum by Nabble | Edit this page |