IRC Chat : 2013-02-10 - OpenMRS

00:34:23 *** wyclif has quit IRC
02:03:29 *** sashi has joined #openmrs
02:20:03 *** sashi has quit IRC
02:54:14 *** eshan has joined #openmrs
02:54:45 *** eshan has left #openmrs
04:52:09 *** djadmin has joined #openmrs
05:21:21 *** djadmin2 has joined #openmrs
05:22:20 *** djadmin has quit IRC
05:24:36 *** k-joseph has joined #openmrs
05:51:15 *** jkeiper has quit IRC
06:02:00 *** djadmin2 has quit IRC
06:07:08 *** jkeiper has joined #openmrs
06:07:08 *** ChanServ sets mode: +v jkeiper
06:16:35 *** k-joseph has quit IRC
06:17:46 *** k-joseph has joined #openmrs
06:32:37 *** djadmin has joined #openmrs
07:33:48 *** dkayiwa has joined #openmrs
07:34:46 *** djazayeri has quit IRC
07:53:52 *** djadmin has quit IRC
08:11:03 *** djadmin has joined #openmrs
08:17:43 *** dkayiwa has quit IRC
08:27:56 *** djadmin has quit IRC
08:55:01 *** dkayiwa has joined #openmrs
09:28:46 *** k-joseph has quit IRC
09:42:41 *** dkayiwa has quit IRC
09:49:23 *** dkayiwa has joined #openmrs
10:04:18 *** dkayiwa has quit IRC
10:08:34 *** dkayiwa has joined #openmrs
10:31:27 *** sthaiya has joined #openmrs
10:32:07 <dkayiwa> sthaiya: is your problem easy to reproduce?
10:33:41 <sthaiya> hmm dont think so
10:33:59 <sthaiya> this is a module i have been using and today its just throwing that error
10:34:16 <dkayiwa> sthaiya: does the problem happen randomly?
10:34:37 <sthaiya> since today its consistent
10:35:03 <dkayiwa> sthaiya: can you pastebin the log?
10:37:03 <sthaiya> http://pastebin.com/nQ07J8Cz
10:42:16 <sthaiya> here is the module
10:42:18 <sthaiya> https://bitbucket.org/sthaiya/xformshelper
10:42:23 <dkayiwa> sthaiya: ok
10:43:11 <dkayiwa> sthaiya: is it 1.8.3?
10:43:29 <sthaiya> nope 1.8.2
10:45:26 <dkayiwa> sthaiya: are you setting these values in the module?
10:45:44 <sthaiya> nope
10:46:10 <dkayiwa> sthaiya: can you reproduce the problem again now?
10:46:34 <sthaiya> the POJO xformsError is extending BaseOpenmrsObject and implementing Auditable
10:46:35 <sthaiya> yeah
10:47:14 <dkayiwa> sthaiya: what do you do to reproduce it?
10:47:50 <sthaiya> this module picks forms from a queue directory and sends to xforms for processing
10:48:04 <sthaiya> incase of an error, it logs it
10:48:39 <sthaiya> so to reproduce this am just picking forms from the error dir and dropiing them into the queue directory
10:49:05 <sthaiya> it fails to log that error in the db throwing this error instead
10:49:33 <dkayiwa> sthaiya: which service method saves this object?
10:50:27 <sthaiya> dkayiwa: public void saveErrorInDatabase(XformsError xformsError) {
10:50:28 <sthaiya> sessionFactory.getCurrentSession().saveOrUpdate(xformsError);
10:50:28 <sthaiya> }
10:54:12 <dkayiwa> sthaiya: have installed any new modules?
10:55:11 <sthaiya> mhhh lemi check
10:55:31 <sthaiya> yeah rest web services
10:55:49 <dkayiwa> sthaiya: uninstall and then try to see if you can reproduce it
10:56:05 <sthaiya> ok
11:02:58 <sthaiya> same problem
11:03:09 <dkayiwa> sthaiya: can you try restart tomcat?
11:03:19 <sthaiya> have done that severally
11:03:31 <sthaiya> does this have any implication
11:03:33 <sthaiya> DEBUG - AuthorizationAdvice.before(55) |2013-02-10 14:03:00,014| User null
11:03:41 <dkayiwa> sthaiya: maybe
11:03:49 <sthaiya> seems like scheduler user is returning null
11:04:05 <sthaiya> but under GP its admin
11:04:53 <dkayiwa> sthaiya: where is the form saving task getting the user name and password from?
11:05:12 <sthaiya> its running as a schedule
11:06:03 <dkayiwa> sthaiya: does it still have a valid user name and password?
11:07:35 <sthaiya> the scheduler? YES
11:08:32 <dkayiwa> sthaiya: if you set these values in the module, does everything work well?
11:08:56 <sthaiya> havent tried that
11:08:59 <sthaiya> lemi try that
11:29:03 <sthaiya> hmm
11:29:35 <sthaiya> printed authenticated user out and its returning null
11:29:42 <sthaiya> let me check that out
11:29:53 <dkayiwa> 0k
11:31:02 <sthaiya> any idea what this means
11:31:07 <sthaiya> i think its the culprit
11:31:13 <sthaiya> ERROR - Context.authenticate(291) |2013-02-10 14:28:30,022| Authentication attempted while operating on a daemon thread, authenticating is not necessary or allowed
11:32:13 <dkayiwa> sthaiya: pastebin entire stack trace
11:37:06 <sthaiya> http://pastebin.com/6Dn3jST1
11:44:51 *** sthaiya has quit IRC
12:11:01 *** k-joseph has joined #openmrs
12:40:06 *** djadmin has joined #openmrs
12:45:51 *** peter____ has joined #openmrs
12:47:33 *** peter____ has left #openmrs
12:49:01 *** pokoth has joined #openmrs
12:50:05 <dkayiwa> pokoth: hi
12:50:41 <dkayiwa> pokoth: how are you today?
12:53:48 *** pokoth has quit IRC
13:00:32 *** dkayiwa has quit IRC
13:00:49 *** pokoth has joined #openmrs
13:05:53 *** pokoth has quit IRC
13:17:57 *** k-joseph_ has joined #openmrs
13:17:58 *** k-joseph has quit IRC
13:23:46 *** sonnyl has joined #openmrs
13:24:10 *** djadmin has quit IRC
13:27:31 *** k-joseph_ has quit IRC
13:28:23 *** sonnyl has quit IRC
13:32:18 *** k-joseph_ has joined #openmrs
13:41:22 *** k-joseph_ has quit IRC
13:43:34 *** djadmin has joined #openmrs
13:43:34 *** k-joseph_ has joined #openmrs
13:48:57 *** k-joseph_ has quit IRC
13:49:13 *** dkayiwa has joined #openmrs
13:53:44 *** dkayiwa has quit IRC
14:05:51 *** djadmin has quit IRC
14:06:30 *** djadmin has joined #openmrs
14:11:00 *** djadmin has quit IRC
14:21:29 *** sthaiya has joined #openmrs
14:57:37 *** sthaiya has quit IRC
15:07:27 *** djazayeri has joined #openmrs
15:07:27 *** ChanServ sets mode: +o djazayeri
15:09:44 *** rfriedman has joined #openmrs
15:31:00 *** jkeiper has quit IRC
15:31:09 *** djazayeri has quit IRC
15:38:15 *** djadmin has joined #openmrs
16:08:10 *** djadmin has quit IRC
16:08:56 *** djadmin has joined #openmrs
16:13:57 *** bhashitha has joined #openmrs
16:41:17 *** rfriedman has quit IRC
17:18:45 *** k-joseph has joined #openmrs
17:47:20 *** bhashitha has quit IRC
19:06:16 *** djadmin has quit IRC
19:10:50 *** dkayiwa has joined #openmrs
19:32:20 <k-joseph> dkayiwa: i have finished installing (on linux) git, mysql, eclipse, i downloaded maven.gz and i have been trying to follow up its installation from its page and am failing, please i kindly request for your assistance on how to configure jdk path, and mvn, thanks a lot am now downloading eclipse plugins according to wiki
19:32:45 <dkayiwa> k-joseph: have you tried to google on how to do it?
19:33:33 <k-joseph> dkayiwa: yes, i have not yet a better link than the one i have been using
19:34:12 <dkayiwa> k-joseph: did you try looking into other possible links?
19:34:21 <dkayiwa> k-joseph: or even changing the search phrase?
19:35:23 <k-joseph> dkayiwa: am trying a gain, perhaps
19:42:12 <k-joseph> dkayiwa: how can i ressolve that
19:44:11 <k-joseph> dkayiwa: back soon
19:48:47 *** k-joseph has quit IRC
19:57:44 *** k-joseph has joined #openmrs
20:02:22 <k-joseph> dkayiwa: good, i have set it up
20:02:32 <dkayiwa> k-joseph: great
20:51:56 <k-joseph> dkayiwa: how do i use mysql, is it from the terminal, that is before i install phpmyadmin, i.e a tool == mysql client command line window in windows?
20:52:38 <dkayiwa> k-joseph: yes from terminal
20:52:50 <k-joseph> dkayiwa: how
20:52:57 <dkayiwa> k-joseph: which is the command line in windows
20:53:05 <dkayiwa> k-joseph: have you tried to google about it?
20:53:28 <k-joseph> dkayiwa: i mean in windows mysql has a seperate command line
20:53:46 <dkayiwa> k-joseph: have you tried to google about it?
20:54:15 <k-joseph> dkayiwa: not, yet, will do that
20:54:29 <dkayiwa> k-joseph: you should always do that before asking
20:56:55 <k-joseph> dkayiwa: ok, thanks alot, good night to you all, i will pick up from there tommorow :-)
20:57:08 <dkayiwa> k-joseph: ok :)
20:57:52 *** k-joseph has quit IRC
21:16:47 *** dkayiwa has quit IRC
21:27:54 *** djazayeri has joined #openmrs
21:27:54 *** ChanServ sets mode: +o djazayeri
22:08:22 *** djazayeri has quit IRC
23:30:59 *** djazayeri has joined #openmrs
23:30:59 *** ChanServ sets mode: +o djazayeri
23:46:57 *** djazayeri has quit IRC