Hi,
I'm having problems getting into OFBiz using username admin and password ofbiz on windows. I've been busy with other things for the past month so I updated from svn (5367), and reverted all files that I'd previously changed. I deleted the contents of the data directory completely, I did 'ant clean' and 'ant run-install' and still it won't let me in. I've attached the log file and I'm hoping someone can help me out. Thanx, Mike _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users ofbiz.zip (33K) Download Attachment |
Administrator
|
I would try a new svn co.
Look at the emails attached. To know more look for "crypt" in ML Jacques ----- Original Message ----- From: "Mike Metcalfe" <[hidden email]> To: "OFBiz Users / Usage Discussion (High Traffic)" <[hidden email]> Sent: Sunday, July 24, 2005 9:57 PM Subject: [OFBiz] Users - User not found > Hi, > > I'm having problems getting into OFBiz using username admin and password > ofbiz on windows. I've been busy with other things for the past month so I > updated from svn (5367), and reverted all files that I'd previously changed. > I deleted the contents of the data directory completely, I did 'ant clean' > and 'ant run-install' and still it won't let me in. > > I've attached the log file and I'm hoping someone can help me out. > > Thanx, > Mike > ---------------------------------------------------------------------------- ---- > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users You have 2 choices: 1. set the password.accept.encrypted.and.plain flag back to true in the security.properties file (NOT RECOMMENDED) 2. make sure all of the passwords in your database are encrypted Note that unless you have changed settings to tell it not to encrypt passwords the ONLY way you can get unencrypted passwords into the system is through seed data. In other words, this problem will typically only affect accounts setup through EE XML imported files and it will not affect any user accounts or that sort of thing. I HIGHLY HIGHLY recommend that everyone running into this problem go with option #2. Why? Because as I mentioned in the commit message for this: if the password.accept.encrypted.and.plain is set to true, you might as well not be encrypting passwords at all, because the encrypted string can be used as the password without knowing the original password that produced the encrypted string. In other words, you might as well not be encrypting the password at all... -David On Jun 20, 2005, at 8:19 AM, Ashish Hareet wrote: > Upated to Rev 5181 today & LoginServices.userLogin fails on run, > stating that password is incorrect. > > Looking at the SVN logs, David has made some changes in Rev 5178 & > as per the text I'm able to get up & running by setting - > password.accept.encrypted.and.plain=true > > The question is, how can I let the value to "false" for > "password.accept.encrypted.and.plain" & yet run with the login > not failing. Which values & where, need to be changed(& how) to keep > password.accept.encrypted.and.plain=false. > > Appreciate your help > Ashish Hareet > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users As mentioned elsewhere you should go through and make sure all passwords are encrypted. To get around this you can comment out the Shark container in the ofbiz-containers.xml file temporarily, change the password(s), and then put it back in. Another option is to load the seed only files with "java -jar ofbiz.jar -install -readers=seed", the install containers file does not have the shark container in it. -David On Jun 20, 2005, at 8:28 AM, Jacopo Cappellato wrote: > Hi David, > > after a clean build and run install I get the following error > message at startup (and then OFBiz stops); the problem disappears > if I set to true the password.accept.encrypted.and.plain parameter > in the security.properties file. > > Jacopo > > > 56297[StandardLoggingManager.java:195:INFO ] SharkUtilities -> > synchronizing XPDL cache > 56297[EntityRepositoryMgr.java:186:INFO ] Get Existing XPDL IDs > 56406[ SharkContainer.java:137:INFO ] Started Shark workflow > service > 56516[ SharkContainer.java:148:INFO ] Started Shark CORBA service > 56610[ AbstractEngine.java:85 :INFO ] Loaded Service > Locations : [main-rmi=rmi://localhost:1099/RMIDispatcher, main- > http=http://localhost:8080/webtools/control/httpService, entity- > sync-rmi=rmi://localhost:1099/RMIDispatcher, entity-sync- > http=http://localhost:8080/webtools/control/httpService, rita- > rmi=rmi://localhost:1099/RMIDispatcher, eedcc-test=http://localhost: > 8080/webtools/control/httpService] > 56641[ LoginServices.java:213:INFO ] > [LoginServices.userLogin] : Password Incorrect > 56828[XAConnectionFactory.java:119:WARN ] no xares in rms for con > org.ofbiz.minerva.pool.jdbc.xa.wrapper.XAConnectionImpl@1d7a424 > 56860[ ServiceDispatcher.java:406:ERROR] Service Error > [userLogin]: Password incorrect. > 56860[ TransactionUtil.java:281:WARN ] > ---- exception report > ---------------------------------------------------------- > [TransactionUtil.setRollbackOnly] Calling transaction > setRollbackOnly; this stack trace shows where this is happening: > Exception: java.lang.Exception > Message: null > ---- stack trace > --------------------------------------------------------------- > java.lang.Exception > org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly > (TransactionUtil.java:281) > org.ofbiz.entity.transaction.TransactionUtil.rollback > (TransactionUtil.java:231) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 410) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java: > 212) > org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java: > 110) > org.ofbiz.shark.auth.OfbizAuthenticationMgr.validateUser > (OfbizAuthenticationMgr.java:67) > org.enhydra.shark.SharkUtilities.validateUser(SharkUtilities.java:936) > org.enhydra.shark.ExecutionAdmin.connect(ExecutionAdmin.java:67) > org.enhydra.shark.ExecutionAdmin.connect(ExecutionAdmin.java:40) > org.ofbiz.shark.container.SharkContainer.start(SharkContainer.java: > 160) > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: > 89) > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > org.ofbiz.base.start.Start.startServer(Start.java:323) > org.ofbiz.base.start.Start.start(Start.java:327) > org.ofbiz.base.start.Start.main(Start.java:413) > ---------------------------------------------------------------------- > ---------- > > 56860[ ServiceDispatcher.java:446:DEBUG] [[Sync service finished- > total:0.297,since last(Begin):0.297]] - 'WFDispatcher / userLogin' > 56860[StandardLoggingManager.java:195:INFO ] ExecutionAdmin -> > Login failed: Invalid username or passwordsystem > 56875[StandardLoggingManager.java:93 :ERROR] Rollback of Shark > transaction happened. > org.enhydra.shark.api.client.wfservice.ConnectFailed: Connection > failed, invalid username or password > at org.enhydra.shark.ExecutionAdmin.connect(ExecutionAdmin.java: > 69) > at org.enhydra.shark.ExecutionAdmin.connect(ExecutionAdmin.java: > 40) > at org.ofbiz.shark.container.SharkContainer.start > (SharkContainer.java:160) > at org.ofbiz.base.container.ContainerLoader.start > (ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > 56875[ TransactionUtil.java:248: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:247) > org.ofbiz.entity.transaction.TransactionUtil.rollback > (TransactionUtil.java:229) > org.ofbiz.shark.transaction.JtaTransaction.rollback > (JtaTransaction.java:93) > org.enhydra.shark.SharkUtilities.rollbackTransaction > (SharkUtilities.java:668) > org.enhydra.shark.ExecutionAdmin.connect(ExecutionAdmin.java:43) > org.ofbiz.shark.container.SharkContainer.start(SharkContainer.java: > 160) > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java: > 89) > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > org.ofbiz.base.start.Start.startServer(Start.java:323) > org.ofbiz.base.start.Start.start(Start.java:327) > org.ofbiz.base.start.Start.main(Start.java:413) > ---------------------------------------------------------------------- > ---------- > > 56875[ TransactionUtil.java:258:INFO ] > [TransactionUtil.rollback] transaction rolled back > 56875[ ContainerLoader.java:102:INFO ] Shutting down containers > 56891[ CatalinaContainer.java:600:ERROR] > ---- exception report > ---------------------------------------------------------- > Exception: org.apache.catalina.LifecycleException > Message: Embedded service has not yet been started > ---- stack trace > --------------------------------------------------------------- > LifecycleException: Embedded service has not yet been started > org.apache.catalina.startup.Embedded.stop(Embedded.java:817) > org.ofbiz.catalina.container.CatalinaContainer.stop > (CatalinaContainer.java:597) > org.ofbiz.base.container.ContainerLoader.unload > (ContainerLoader.java:108) > org.ofbiz.base.start.Start.shutdownServer(Start.java:309) > org.ofbiz.base.start.Start.access$000(Start.java:52) > org.ofbiz.base.start.Start$1.run(Start.java:286) > ---------------------------------------------------------------------- > ---------- > > 56891[ ServiceDispatcher.java:177:INFO ] De-Registering > dispatcher: WFDispatcher > 56891[ SharkContainer.java:192:INFO ] stop Shark > 56891[ JavaMailContainer.java:147:INFO ] stop JavaMail poller > 56891[ ServiceDispatcher.java:177:INFO ] De-Registering > dispatcher: RMIDispatcher > 56891[ Jotm.java:206:INFO ] stop JOTM > 0 [ ContainerLoader.java:57 :INFO ] [Startup] Loading > containers... > > _______________________________________________ > Dev mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev Thanks. It worked after reinstalling pos/data/DemoRetail.xml. Si David E. Jones wrote: > > It should work if you have your data updated, otherwise the old > unencrypted password will be in there and that won't work anymore > (unless you change back the setting to the less secure mode in > security.properties). > > -David > > > On Jul 11, 2005, at 6:33 PM, Si Chen wrote: > >> Has the password for POS demo user 1 changed? I tried "1" for >> username and "1" for password and it did not work. >> >> Si >> _______________________________________________ >> Users mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/users >> > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |