Hi,
I am new to OFBIZ. I created custom component using "ant create-component" component name test. It got created successfully. I run Ofbiz and access component "//localhost:8443/test/control/main" it shows me login Screen. Now it gives me Error for user : "admin" password :"ofbiz" says "//localhost:8443/test/control". I done this before with 10.04 it works fine but for trunk and 11.04 it shows me this same Error. And same user name password works for other apps like webtools. Also please let me know if I am posting this into wrong forum. Thanks Nachi Logs : 2011-08-10 01:35:32,406 (http-0.0.0.0-8443-6) [ ControlServlet.java:141:INFO ] [[[main] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2011-08-10 01:35:32,406 (http-0.0.0.0-8443-6) [ ConfigXMLReader.java:120:INFO ] controller loaded: 0.0s, 1 requests, 1 views in jndi:/0.0.0.0/test/WEB-INF/controller.xml 2011-08-10 01:35:32,406 (http-0.0.0.0-8443-6) [ ConfigXMLReader.java:120:INFO ] controller loaded: 0.0s, 32 requests, 17 views in file:/D:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2011-08-10 01:35:32,406 (http-0.0.0.0-8443-6) [ RequestHandler.java:745:INFO ] Rendering View [login], sessionId=20A7AE8EA14496E53C19809852F74053.jvm1 2011-08-10 01:35:32,515 (http-0.0.0.0-8443-6) [ ScreenFactory.java:130:INFO ] Got 21 screens in 0.015s from: file:/D:/ofbiz/framework/common/widget/CommonScreens.xml 2011-08-10 01:35:32,515 (http-0.0.0.0-8443-6) [ ScreenFactory.java:130:INFO ] Got 2 screens in 0.0s from: file:/D:/ofbiz/hot-deploy/test/widget/CommonScreens.xml 2011-08-10 01:35:32,640 (http-0.0.0.0-8443-6) [ ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin delegatorName=default 2011-08-10 01:35:32,656 (http-0.0.0.0-8443-6) [ ControlServlet.java:324:INFO ] [[[main] Request Done- total:0.25,since last([main] Request Be...):0.25]] 2011-08-10 01:35:37,421 (http-0.0.0.0-8443-3) [ ControlServlet.java:141:INFO ] [[[login] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2011-08-10 01:35:37,484 (http-0.0.0.0-8443-3) [ ServiceDispatcher.java:604:INFO ] Sync service [test/setUserPreference] finished in [63] milliseconds with response [{responseMessage=success}] 2011-08-10 01:35:37,484 (http-0.0.0.0-8443-3) [ RequestHandler.java:643:INFO ] Ran Event [java:org.ofbiz.webapp.control.LoginWorker#login] from [request], result is [error] 2011-08-10 01:35:37,484 (http-0.0.0.0-8443-3) [ RequestHandler.java:426:ERROR] Request login caused an error with the following message: You cannot login to this application 2011-08-10 01:35:37,484 (http-0.0.0.0-8443-3) [ RequestHandler.java:745:INFO ] Rendering View [login], sessionId=20A7AE8EA14496E53C19809852F74053.jvm1 2011-08-10 01:35:37,609 (http-0.0.0.0-8443-3) [ ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin delegatorName=default 2011-08-10 01:35:37,609 (http-0.0.0.0-8443-3) [ ControlServlet.java:324:INFO ] [[[login] Request Done- total:0.188,since last([login] Request B...):0.188]] |
Hi Nachi
As i experienced your problem i will suggest you to please check your ofbiz-commonent.xml file for base-permission attrib in <webapp> tag if you have given different permission then change it to "OFBTOOLS". I hope it will work Ricky Khatri |
Thanks Ricky,
That worked.. Thanks for help. Regards Nachi -- View this message in context: http://ofbiz.135035.n4.nabble.com/ant-Create-Component-Login-does-not-work-tp3731118p3732439.html Sent from the OFBiz - Dev mailing list archive at Nabble.com. |
Free forum by Nabble | Edit this page |