IRC Chat : 2011-11-25 - OpenMRS

00:05:14 *** shahid21st has joined #openmrs
00:15:17 *** Gagaman has quit IRC
00:16:15 *** Gagaman has joined #openmrs
00:19:50 *** srinivasa has joined #openmrs
00:20:31 *** mnunez has joined #openmrs
00:24:20 *** shahid21st has quit IRC
00:27:42 *** Gagaman has quit IRC
00:29:19 *** Gagaman has joined #openmrs
00:29:23 *** srinivasa has quit IRC
00:34:35 *** srinivasa has joined #openmrs
00:41:01 *** Gagaman has quit IRC
00:41:22 *** Gagaman has joined #openmrs
02:33:33 *** r0bby is now known as robbyoconnor
03:09:19 *** upul` has joined #openmrs
03:09:19 *** ChanServ sets mode: +v upul`
04:27:18 *** Gagaman has quit IRC
04:33:28 *** srinivasa has quit IRC
06:13:09 *** djazayeri has joined #openmrs
06:13:09 *** ChanServ sets mode: +o djazayeri
06:29:42 *** bryq has joined #openmrs
06:29:42 *** ChanServ sets mode: +v bryq
06:40:41 *** bryq has quit IRC
07:10:39 *** djazayeri has quit IRC
07:21:30 *** Gagaman has joined #openmrs
07:30:02 <OpenMRSBot> Recent updates in the world of openmrs: Shazin Sadakath: DOS Batch File to Periodically Copy Files to a Location <http://shazsterblog.blogspot.com/2011/11/dos-batch-file-to-periodically-copy.html>
08:27:11 *** rafa has joined #openmrs
08:27:11 *** ChanServ sets mode: +v rafa
08:55:38 *** kishoreyekkanti has joined #openmrs
09:44:41 *** bryq has joined #openmrs
09:44:41 *** ChanServ sets mode: +v bryq
10:06:10 *** bryq has quit IRC
10:34:09 *** bwolfe has joined #openmrs
10:34:09 *** ChanServ sets mode: +o bwolfe
11:04:46 *** dkayiwa has joined #openmrs
11:17:25 <kishoreyekkanti> dkayiwa: Hi
11:17:56 <dkayiwa> hi kishoreyekkanti
11:18:52 <kishoreyekkanti> dkayiwa: I have a small question. During the initial setup in InitializationFilter from lines 1559 to 1562. Why do we authenitcate with admin, test and change the password
11:19:32 <dkayiwa> kishoreyekkanti: let me check those lines
11:19:55 <kishoreyekkanti> dkayiwa: My initial setup when i select "advanced" its failing when trying to authenticate with admin, test.
11:20:27 <dkayiwa> kishoreyekkanti: what do you mean by authenticate with admin test?
11:20:45 <kishoreyekkanti> dkayiwa: its failing at Context.authenticate("admin", "test");
11:21:12 <dkayiwa> kishoreyekkanti: does your database have that user admin:test?
11:21:32 <kishoreyekkanti> dkayiwa: I'm not sure. Will setup creates this user?
11:22:06 <dkayiwa> kishoreyekkanti: advanced setup ask you for admin password and you enter it
11:22:24 <dkayiwa> kishoreyekkanti: so it is you who knows what you entered :)
11:22:26 <kishoreyekkanti> dkayiwa: Yeah i've given the admin password as "Admin123"
11:22:44 <dkayiwa> kishoreyekkanti: then in that case admin:test cannot work
11:22:51 <dkayiwa> kishoreyekkanti: it is rather admin:Admin123
11:23:31 <kishoreyekkanti> dkayiwa: Do you mean that the values in InitializationFilter are hardcoded to "admin" and "test" and we need to use the same?
11:23:55 <dkayiwa> kishoreyekkanti: it is only the user name which is hardcoded as admin
11:24:04 <dkayiwa> kishoreyekkanti: but password is supplied by you
11:24:43 <kishoreyekkanti> dkayiwa: according to the line number 1560 in initialization filter. its first authenticating with "admin" and "test" and then changing the password to the password supplied by me
11:24:53 <dkayiwa> kishoreyekkanti: now looking at the lines you sent me .....
11:25:51 *** upul` has quit IRC
11:28:05 <dkayiwa> kishoreyekkanti: basing on the lines you have sent me, looks like admin is first created with password test and then later on changed to the password you gave it
11:29:15 <kishoreyekkanti> dkayiwa: Yeah! but whats happening for me is, after the db is created, instead of taking me to the login screen, i was shown an error message Invalid username and/or password: admin.
11:29:42 <kishoreyekkanti> dkayiwa: After debugging it i've seen that its failing at 1560 line number when its trying to authenticate with "admin" and "test"
11:29:57 <dkayiwa> kishoreyekkanti: are you the one who created the database? or was it created by the setup wizard?
11:29:59 <kishoreyekkanti> dkayiwa: But it works fine if i try "simple" installation
11:30:24 <kishoreyekkanti> dkayiwa: Ahh thats a bit tricky question
11:30:51 <dkayiwa> :)
11:30:53 <kishoreyekkanti> dkayiwa: to be simple my current setup wizard is not creating the databse
11:31:08 <kishoreyekkanti> dkayiwa: I mean it points to the existing database :)
11:32:22 <dkayiwa> kishoreyekkanti: is your existing database completely uptodate with the expected one?
11:32:38 <dkayiwa> kishoreyekkanti: if it were, you would not be going through the setup wizard
11:33:06 <kishoreyekkanti> dkayiwa: Yeah. I've created the database through setup wizard an hour back using my automated test.
11:33:17 <kishoreyekkanti> dkayiwa: Any ways let me try to drop the db and try it once again
11:33:36 <dkayiwa> kishoreyekkanti: if the db is correct, you should not go through the setup wizard
11:34:33 <kishoreyekkanti> dkayiwa: the trick is my automation suite will create and delete the openmrs runtime properties file
11:34:44 <kishoreyekkanti> dkayiwa: but it will not drop the database :)
11:35:10 <dkayiwa> :D
11:35:43 <kishoreyekkanti> dkayiwa: i guess as you said yesterday, if there is no properties file its trying to create the db. But as db exists, i guess its skipping the creation of database.
11:36:33 <dkayiwa> ok
11:37:16 <dkayiwa> kishoreyekkanti: you could give a different database name from the one which exists
11:37:31 <kishoreyekkanti> dkayiwa: Sure i'll try this now
11:37:47 <dkayiwa> ok
12:17:38 <kishoreyekkanti> dkayiwa: you are right. Its the problem of database access rights.
12:18:19 <kishoreyekkanti> dkayiwa: first time i created the db with my automation-suite and then i'm trying to use the app through web.
12:19:29 <dkayiwa> kishoreyekkanti: ok
13:17:59 *** bryq has joined #openmrs
13:17:59 *** ChanServ sets mode: +v bryq
13:44:40 *** dkayiwa has quit IRC
14:47:29 *** mnunez has quit IRC
14:59:51 *** mnunez has joined #openmrs
15:05:40 *** mnunez has quit IRC
15:10:49 *** rafa has quit IRC
15:21:25 *** kishoreyekkanti has quit IRC
16:01:21 *** morristic has joined #openmrs
17:24:15 *** morristic has quit IRC
18:06:10 *** kishoreyekkanti has joined #openmrs
18:22:35 *** kishoreyekkanti has quit IRC
18:24:27 *** kishoreyekkanti has joined #openmrs
18:24:30 *** bwolfe has quit IRC
18:43:00 *** bwolfe has joined #openmrs
18:43:00 *** ChanServ sets mode: +o bwolfe
18:48:54 *** kishoreyekkanti has quit IRC
18:56:01 *** Gagaman has quit IRC
18:57:50 *** djazayeri has joined #openmrs
18:57:50 *** ChanServ sets mode: +o djazayeri
18:58:34 *** Gagaman has joined #openmrs
19:24:50 *** djazayeri has quit IRC
19:43:22 *** djazayeri has joined #openmrs
19:43:22 *** ChanServ sets mode: +o djazayeri
19:53:04 *** djazayeri has quit IRC
19:59:53 *** rafa has joined #openmrs
19:59:53 *** ChanServ sets mode: +v rafa
20:14:25 *** Echidna has quit IRC
20:14:25 *** Echidna_ has joined #openmrs
21:01:49 *** bryq has quit IRC
21:27:34 *** Gagaman has quit IRC
21:36:30 *** bryq has joined #openmrs
21:36:30 *** ChanServ sets mode: +v bryq
21:40:41 *** srinivasa has joined #openmrs
21:42:44 <srinivasa> @bwolfe: This is just to update you...I have tried to create the patch inorder to upload it...but i was'nt able to..one of my teammates has an idea abt how to do it...we will do it today and upload the patch...
21:48:51 *** rafa has quit IRC
21:54:34 *** srinivasa has quit IRC
22:27:54 *** srinivasa has joined #openmrs
22:51:51 *** bryq has quit IRC
23:34:36 *** wyclif has joined #openmrs
23:56:51 *** robbyoconnor has quit IRC
23:57:39 *** robbyoconnor has joined #openmrs
23:57:39 *** ChanServ sets mode: +v robbyoconnor