IRC Chat : 2013-09-02 - OpenMRS

00:18:21 *** wyclif has quit IRC
00:56:48 *** bhashitha has joined #openmrs
01:01:39 *** dkayiwa has quit IRC
02:21:51 *** wyclif has joined #openmrs
02:26:51 *** rfriedman has joined #openmrs
02:42:29 *** wyclif has quit IRC
02:51:59 *** bhashitha has quit IRC
03:01:44 *** wyclif has joined #openmrs
03:35:55 <rfriedman> wyclif, you really here?
03:38:13 *** rfriedman has quit IRC
04:00:32 *** wyclif has quit IRC
04:39:59 *** k-joseph has joined #openmrs
04:41:20 *** rday has joined #openmrs
04:46:56 *** mareias has joined #openmrs
05:42:38 *** k-joseph has quit IRC
05:45:34 *** k-joseph has joined #openmrs
05:58:19 *** dmulindwa has quit IRC
05:59:46 *** sgithens has joined #openmrs
06:00:19 *** LeeBreisacher1 has joined #openmrs
06:00:33 *** LeeBreisacher1 has left #openmrs
06:15:20 *** sgithens has quit IRC
06:35:03 *** djazayeri has joined #openmrs
06:35:03 *** ChanServ sets mode: +o djazayeri
06:46:48 *** k-joseph has quit IRC
06:47:11 *** rcrichton has joined #openmrs
06:54:44 *** LeeBreisacher1 has joined #openmrs
06:54:54 *** LeeBreisacher1 has left #openmrs
07:07:23 *** GitHub92 has joined #openmrs
07:07:23 <GitHub92> [openmrs-core] k-joseph synchronize pull request #396: TRUNK-4032 (master...TRUNK-4032) http://git.io/o3hVrA
07:07:23 *** GitHub92 has left #openmrs
07:07:45 *** k-joseph has joined #openmrs
07:08:17 *** dmulindwa has joined #openmrs
07:09:34 *** rcrichton has quit IRC
07:10:54 *** rcrichton has joined #openmrs
07:11:17 *** dkayiwa has joined #openmrs
07:28:26 *** GitHub62 has joined #openmrs
07:28:26 <GitHub62> [openmrs-core] k-joseph synchronize pull request #391: TRUNK-4030 (master...TRUNK-4030) http://git.io/ICTUvw
07:28:26 *** GitHub62 has left #openmrs
07:56:15 *** rday has quit IRC
08:00:08 *** k-joseph has quit IRC
08:05:17 *** djazayeri has quit IRC
08:18:42 *** NameFILIP has joined #openmrs
08:18:42 *** ChanServ sets mode: +v NameFILIP
08:33:26 *** sgithens has joined #openmrs
08:39:43 *** sgithens has quit IRC
08:53:02 *** rcrichton has quit IRC
09:25:45 *** maninc has joined #openmrs
09:28:38 *** rcrichton has joined #openmrs
09:39:08 *** maninc has quit IRC
10:31:46 *** dkayiwa_ has joined #openmrs
10:33:28 *** dkayiwa has quit IRC
10:33:28 *** dkayiwa_ is now known as dkayiwa
10:35:17 *** GitHub150 has joined #openmrs
10:35:17 <GitHub150> [openmrs-core] NameFILIP opened pull request #397: TRUNK-4051: @SkipBaseSetup annotation is not inherited (master...TRUNK-4051) http://git.io/7P7t1A
10:35:17 *** GitHub150 has left #openmrs
10:46:58 *** GitHub28 has joined #openmrs
10:46:58 <GitHub28> [openmrs-core] dkayiwa opened pull request #398: Fixing Problems with ClassCast Exception - TRUNK-4053 (master...TRUNK-4053) http://git.io/LV2u1g
10:46:58 *** GitHub28 has left #openmrs
10:48:00 *** GitHub54 has joined #openmrs
10:48:00 <GitHub54> [openmrs-core] dkayiwa closed pull request #398: Fixing Problems with ClassCast Exception - TRUNK-4053 (master...TRUNK-4053) http://git.io/LV2u1g
10:48:00 *** GitHub54 has left #openmrs
10:48:01 *** GitHub4 has joined #openmrs
10:48:01 <GitHub4> [openmrs-core] dkayiwa pushed 2 new commits to master: http://git.io/yrja5Q
10:48:01 <GitHub4> openmrs-core/master 1850c17 dkayiwa: Fixing Problems with ClassCast Exception - TRUNK-4053
10:48:01 <GitHub4> openmrs-core/master 98042dc dkayiwa: Merge pull request #398 from dkayiwa/TRUNK-4053...
10:48:01 *** GitHub4 has left #openmrs
11:02:40 *** travis-ci has joined #openmrs
11:02:40 <travis-ci> [travis-ci] [openmrs/openmrs-core] [98042dc] [dkayiwa] The build passed. - http://travis-ci.org/openmrs/openmrs-core/builds/10889000
11:02:41 *** travis-ci has left #openmrs
11:02:45 <OpenMRSBot> <http://ln-s.net/-tE2> (at travis-ci.org)
11:08:57 *** GitHub165 has joined #openmrs
11:08:57 <GitHub165> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/Yyjelg
11:08:57 <GitHub165> openmrs-core/1.9.x 5a15636 dkayiwa: Fixing Problems with ClassCast Exception - TRUNK-4053(cherry picked from commit 1850c17f0d1cb437ee26ff9d0dde9cc1b1c1d706)
11:08:57 *** GitHub165 has left #openmrs
11:47:17 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1076 has FAILED (2 tests failed) : Dependant of TRUNK-LATEST-85 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1076>
11:49:52 *** ptmcgann has joined #openmrs
11:51:09 <ptmcgann> I am trying to logon for the first time and "admin" and "Admin123" is not working
11:51:10 <ptmcgann> any advice?
12:04:07 *** ptmcgann has quit IRC
12:12:31 *** mareias has quit IRC
12:19:18 *** rfriedman has joined #openmrs
12:50:37 *** harshadura has joined #openmrs
12:50:37 *** ChanServ sets mode: +v harshadura
12:59:32 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1077 has FAILED (2 tests failed) : Dependant of EMRAPI-EMRAPI-120 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1077>
13:03:32 *** harshadura has quit IRC
13:10:09 <rafa> dkayiwa: hi, have you noticed https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1076 ?
13:10:17 <rafa> dkayiwa: I think it's due to your fix in core
13:10:23 <rafa> dkayiwa: some classloading issue
13:10:31 <dkayiwa> rafa: checking
13:10:33 <rafa> dkayiwa: see http://devtest01.openmrs.org:8080/openmrs/index.htm
13:11:01 <dkayiwa> rafa: oh thats very dangerous. let me check now
13:11:21 <rafa> dkayiwa: cool
13:27:57 <dkayiwa> rafa: hi
13:28:07 *** LeeBreisacher1 has joined #openmrs
13:28:08 <rafa> dkayiwa: I'm around
13:28:18 <dkayiwa> rafa: do you know how i can restart devtest?
13:28:23 <dkayiwa> devtest01
13:29:02 <dkayiwa> rafa: restarting it should fix the problem
13:29:25 <rafa> dkayiwa: you mean restart the whole tomcat?
13:29:30 <rafa> dkayiwa: not redeploy
13:29:34 <dkayiwa> rafa: restarting tomcat
13:29:54 <rafa> dkayiwa: I don't have access to that machine
13:30:01 <rafa> dkayiwa: maybe Darius has
13:30:12 <dkayiwa> rafa: ok let me send him an email
13:30:14 <LeeBreisacher1> dkayiwa, rafa: manually running the Bamboo build should force a devtests01 restart..
13:30:26 <dkayiwa> LeeBreisacher1: oh great. let me try that
13:30:37 <rafa> LeeBreisacher1: I thought it just redeploys
13:30:52 <LeeBreisacher1> rafa: hm..not sure..
13:32:35 <rafa> dkayiwa: standup time
13:32:39 <dkayiwa> rafa: ok
13:37:05 *** ojwanganto has joined #openmrs
13:39:41 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1077 has FAILED (2 tests failed) : Rebuilt 1 times <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1077>
13:41:22 <LeeBreisacher1> rafa: re restarting devtest01....I assume you're talking about this error that I see there now: java.lang.VerifyError: (class: org/codehaus/groovy/ast/InnerClassNode, method: <init> ....?
13:41:53 <dkayiwa> LeeBreisacher1: yes and we need to restart tomcat
13:44:52 <LeeBreisacher1> dkayiwa: the "Run Automated Functional Tests" step in the RefApp OMOD Bamboo build *does" restart Tomcat.
13:45:03 <dkayiwa> LeeBreisacher1: ok
13:46:25 <LeeBreisacher1> dkayiwa: from the bamboo log:build 02-Sep-2013 02:38:45 * Stopping Tomcat servlet engine tomcat7 build 02-Sep-2013 02:38:46 ...done. build 02-Sep-2013 02:38:47 * Starting Tomcat servlet engine tomcat7 build 02-Sep-2013 02:38:52 ...done. simple 02-Sep-2013 02:38:52 Finished task 'Restart Tomcat'
13:47:16 <dkayiwa> LeeBreisacher1: does that mean it did restart?
13:47:32 <LeeBreisacher1> dkayiwa: yes
13:47:44 <dkayiwa> rafa: hi
13:47:57 <LeeBreisacher1> dkayiwa, rafa: you can view the Tomcat log here: https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1076/artifact/INTTESTS/Tomcat-Log/catalina.out
13:48:16 *** k-joseph has joined #openmrs
13:48:49 <LeeBreisacher1> dkayiwa, rafa: there are lots of stack traces in three
13:48:51 <LeeBreisacher1> there
13:49:35 *** harsz89 has joined #openmrs
13:49:35 *** ChanServ sets mode: +v harsz89
13:49:37 <LeeBreisacher1> dkayiwa, rafa: such as: Caused by: java.lang.NoClassDefFoundError: javax/validation/ValidatorFactory
13:50:00 <dkayiwa> LeeBreisacher1: do you have a local setup of the refaapp?
13:50:35 <LeeBreisacher1> dkayiwa: yes, but I could not get it to run (for other reasons)
13:51:03 <LeeBreisacher1> dkayiwa: oh wait, I have my vagrant VM, that was working ok yesterday. have not tried this morning.
13:52:12 <LeeBreisacher1> dkayiwa, rafa: I see that the Bamboo build has been failing since the ClassCastException fix
13:52:47 <LeeBreisacher1> dkayiwa, rafa: TRUNK-4053. could that change cause the refapp failures?
13:52:53 <dkayiwa> LeeBreisacher1: yes and it does not fail locally. so looking someone else to test it locally
13:53:06 <LeeBreisacher1> dkayiwa: ah. trying it now..
13:53:21 <dkayiwa> LeeBreisacher1: but you would need to use the latest 1.9.x
13:54:19 *** mareias has joined #openmrs
13:54:45 <LeeBreisacher1> dkayiwa: can't I simply update my "distro" project and rebuild?
13:55:19 <dkayiwa> LeeBreisacher1: will that also update the openmrs.war?
13:55:46 <LeeBreisacher1> dkayiwa: rebuilding now...and it seems to be pulling down latest jars. yes, it makes a new war file
13:57:00 *** dkayiwa_ has joined #openmrs
13:57:03 <dkayiwa_> LeeBreisacher1: does it also redeploy the new war?
13:57:15 <LeeBreisacher1> dkayiwa: yes
13:58:03 <dkayiwa_> LeeBreisacher1: ok test and tell me what happens :)
13:59:38 *** dkayiwa has quit IRC
13:59:39 *** dkayiwa_ is now known as dkayiwa
14:00:12 <h3llborn> happy labor day everyone :)
14:00:46 <h3llborn> rafa: good morning, and happy labor day :)
14:00:47 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1078 has FAILED (2 tests failed) : Dependant of REGAPP-REGAPP-63 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1078>
14:03:51 <LeeBreisacher1> dkayiwa, rafa: my local vagrant-based refapp runs ok
14:04:14 <dkayiwa> LeeBreisacher1: what is the build date at the bottom of your browser?
14:04:52 <LeeBreisacher1> dkayiwa: I don't see one
14:05:09 <dkayiwa> LeeBreisacher1: you can click the Legacy Administration link to see it
14:05:31 <LeeBreisacher1> dkayiwa: ah. Last Build: 2013-09-02 02:10 Version: 1.9.4 SNAPSHOT Build 5a1563
14:05:44 <dkayiwa> LeeBreisacher1: what is your time now?
14:05:49 <dkayiwa> LeeBreisacher1: local time
14:05:59 <LeeBreisacher1> dkayiwa: 0705
14:06:24 <rfriedman> dkayiwa, LeeBreisacher1, hi see you are using tomcat 7, is that working OK now for us? with what omrs versions?
14:07:22 <dkayiwa> LeeBreisacher1: strange that it also works for me locally. wondering why it fails on bamboo. can we do a server restart for bamboo?
14:07:27 <dkayiwa> rfriedman: am using 6
14:08:02 <rfriedman> dkayiwa, me too, maurya is using 7 and having classpath problems, wondering if that is it
14:08:04 <LeeBreisacher1> dkayiwa: I doubt if a server restart will help. I think we should look at the errors in the bamboo tomcat log
14:09:07 <dkayiwa> LeeBreisacher1: yes i saw the log. but am wondering why it happens only on bamboo
14:09:35 <dkayiwa> rfriedman: depends on the exact error he is getting
14:10:52 <rfriedman> dkayiwa, it's a 2 part error, the first part complains about an unparsable jar in either calculation or htmlwidgets, the second claims that a spring resource does not implement namespace,
14:10:59 *** harshadura has joined #openmrs
14:10:59 *** ChanServ sets mode: +v harshadura
14:11:20 <rfriedman> dkayiwa, i have spent hours on this and stack overflow and other sites all say it is a classpath error but dont say how to fix it
14:11:45 <dkayiwa> rfriedman: can he pastebin the entire log. (his eyes may see only that error when there are other more useful ones) :)
14:12:17 <rfriedman> dkayiwa, btw, this occurs when trying to start our module
14:12:28 <dkayiwa> rfriedman: ok
14:12:49 <rfriedman> dkayiwa, suggests that we are supplying a different version than the one the loader is seeing
14:13:17 <rfriedman> dkayiwa, because our module works when running tests
14:13:45 <rfriedman> dkayiwa, we have just been trying to run under jetty instead of tomcat to test that, but openmrs installation is very screwed up
14:14:16 <dkayiwa> rfriedman: ok
14:14:47 <rfriedman> dkayiwa, when did we switch from logic to calculation?
14:15:19 <dkayiwa> rfriedman: i do not remember
14:15:46 <rfriedman> dkayiwa, it's a v10 issue, v9 is all logic?
14:16:28 <dkayiwa> rfriedman: am not sure i understand
14:17:01 <rfriedman> dkayiwa, maurya is using omrs 10.0, he needs calculation
14:17:16 <rfriedman> dkayiwa, but i am running 9.3, i think i still need logic
14:18:25 <rfriedman> dkayiwa, and we just have to have the modules in the modules directory of the openmrs directory, right?
14:18:58 <dkayiwa> rfriedman: yes you both need logic
14:19:15 <rfriedman> dkayiwa, tks
14:19:31 <rfriedman> dkayiwa, i am having another problem when installing under Tomcat 6
14:20:16 <rfriedman> dkayiwa, for some reason, maybe a previously failed standalone installation, it keeps trying to update an older 1.8 DB
14:20:44 <rfriedman> dkayiwa, that is even when I get rid of the openmrs-runtime.properties and openmrs-webapp-runtime.properties files
14:21:05 <rfriedman> dkayiwa, i am using a newly downloaded war
14:21:56 <rfriedman> dkayiwa, there was a temp directory that i wiped out also, no change
14:22:09 <rfriedman> dkayiwa, cleaned out tomcat
14:23:06 <dkayiwa> rfriedman: which version of the standalone are you using?
14:23:12 <rfriedman> dkayiwa, none
14:23:43 <dkayiwa> rfriedman: can run the setup afresh? or you do not want to loose your database data?
14:24:22 <rfriedman> dkayiwa, i am running setup afresh, it's just not starting up fresh, it always tries to update this old DB
14:25:07 <dkayiwa> rfriedman: drop the database
14:25:20 <rfriedman> dkayiwa, the old db?
14:27:03 <rfriedman> dkayiwa, either our liquibase changesets are bad or liquibase is not robust
14:27:37 <dkayiwa> rfriedman: the database that your setup is connecting to
14:28:02 <rfriedman> dkayiwa, when i try and do a new setup under jetty and ask for test data, it craps out because there is no test data xml file
14:28:04 <h3llborn> rfriedman: dkayiwa you guys having issues starting up openmrs?
14:28:13 <rfriedman> dkayiwa, ok, i can do that
14:28:23 <rfriedman> h3llborn, starting fresh
14:28:31 <h3llborn> rfriedman: which version?
14:28:45 <rfriedman> h3llborn, 9.3, 10.0
14:29:35 <h3llborn> rfriedman: so whats the issue? maybe I can help haha
14:29:56 <rfriedman> h3llborn, liquibase changesets suck eggs
14:30:17 <h3llborn> rfriedman: omg you had no idea when rafa and I were trying to get the h2 database to work
14:30:27 <rfriedman> h3llborn, appreciate your help, have 2 ideas to follow up
14:30:39 <h3llborn> rfriedman: hah ok :)
14:30:56 <rfriedman> h3llborn, i can imagine!!
14:31:11 <h3llborn> rfriedman: well it works now :)
14:31:17 <h3llborn> rfriedman: even does autosetup xD
14:31:34 <rfriedman> h3llborn, it's deceptively simple ... but of course the working version is not released :((
14:32:01 <h3llborn> rfriedman: of the h2 working database version of openmrs?
14:32:25 <rfriedman> h3llborn, the working liquifreakingbase changesets
14:32:30 <dkayiwa> LeeBreisacher1: hi
14:32:36 <h3llborn> rfriedman: ohh ok
14:32:45 <h3llborn> rfriedman: ya those suck :(
14:32:53 <LeeBreisacher1> dkayiwa: hi
14:33:06 <dkayiwa> LeeBreisacher1: which jdk is bamboo running?
14:33:09 <LeeBreisacher1> dkayiwa: I don't understand why it fails on Bamboo
14:33:26 <rfriedman> h3llborn, they're bamboozled too
14:33:55 <h3llborn> rfriedman: haha it was hell when I had to move those around to get h2 to work lol there were some in there that you didn't even need
14:33:59 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: KenyaCore 0.8.1 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=kenyacore&ampversion=&amp0.8.1> || OpenMRS Modules: KenyaUI 1.12.2 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=kenyaui&ampversion=&amp1.12.2>
14:34:31 <rfriedman> h3llborn, you will be h2born when gsoc is done
14:34:53 <h3llborn> rfriedman: ahah maybe I should change it xD
14:35:26 <rfriedman> or maybe h3llbornagain
14:35:48 <dkayiwa> LeeBreisacher1: what jdk do you have locally?
14:36:22 *** rfriedman is now known as rfriedman-away
14:36:23 <LeeBreisacher1> dkayiwa: trying to figure out what bamboo has. I'm using 1.6.something
14:38:04 <LeeBreisacher1> dkayiwa: local java is OpenJDK 64-bit 1.6.0_27
14:38:43 <harshadura> !seen mogoodrich
14:38:43 <OpenMRSBot> harshadura: mogoodrich was last seen in #openmrs 3 weeks, 3 days, 18 hours, 27 minutes, and 35 seconds ago: <mogoodrich> djazayeri1: i had another thought about that after we talked, fwiw...
14:39:27 <dkayiwa> LeeBreisacher1: ok
14:39:45 <harshadura> hi dkayiwa, can i get a min
14:39:51 <dkayiwa> harshadura: ok
14:40:19 <LeeBreisacher1> dkayiwa: it looks like bamboo requires "openjdk-6-jdk", but I can't see any more detail than that.
14:40:26 <harshadura> dkayiwa: whats the difference between BinaryStreamHandler and BinaryDataHandler ?
14:41:15 <harshadura> dkayiwa: basically my use case is to save a Video under openmrs complex observation and stream/play it when needed.
14:42:27 <rafa> h3llborn: hi
14:42:36 <h3llborn> rafa: morning! happy labor day!
14:42:39 <rafa> h3llborn: sorry I stepped away
14:42:53 <h3llborn> rafa: no worries!
14:43:11 <rafa> h3llborn: how are things standing
14:43:14 <rafa> h3llborn: ?
14:43:52 <h3llborn> rafa: good, that java program is basically finished, Im just testing the adding of the module elements, that prooved a bit trickey
14:44:24 <rafa> h3llborn: ok, have you pushed changes already?
14:44:35 <rafa> h3llborn: any way I can help?
14:44:41 <dkayiwa> harshadura: the look similar
14:45:02 <dkayiwa> rafa: hi
14:45:06 <rafa> dkayiwa: hi
14:45:24 <dkayiwa> rafa: do you have some time to help me test out something?
14:45:33 <rafa> dkayiwa: sure
14:45:41 <dkayiwa> rafa: thanks
14:46:07 <dkayiwa> rafa: do you mind trying out the latest 1.9.x of openmrs for your local refapp and tell me if it works?
14:46:31 <harshadura> dkayiwa: is there any advantage of using BinaryStreamHandler over BinaryDataHandler ? sorry i didn found a doc regarding this.
14:46:36 <rafa> dkayiwa: jetty or tomcat?
14:46:58 <dkayiwa> rafa: tomcat
14:47:28 <rafa> dkayiwa: ok, that will be a bit longer
14:47:39 <dkayiwa> rafa: will jetty be faster?
14:47:58 <h3llborn> rafa: not yet, there's not too much left really I should have it fully working within an hour or 2
14:48:12 <h3llborn> rafa: do you want an email once im done with an installer?
14:48:20 <rafa> h3llborn: yes, would be great
14:48:31 <rafa> dkayiwa: yes
14:48:47 <rafa> dkayiwa: let me first try jetty
14:48:54 <rafa> dkayiwa: tomcat will take 10 more minutes
14:49:08 <h3llborn> rafa: ok sounds good!
14:49:15 <dkayiwa> rafa: ok thanks
14:49:53 <rafa> dkayiwa: tomcat 7 is ok?
14:50:11 <dkayiwa> rafa: which version is bamboo running?
14:52:27 <rafa> dkayiwa: not sure
14:52:53 <dkayiwa> rafa: which would be easier for you to test? 6 or 7? :)
14:53:08 <rafa> dkayiwa: I'll test 7
14:53:14 <dkayiwa> rafa: ok
14:53:24 <rafa> dkayiwa: jetty works
14:53:36 <dkayiwa> rafa: ok thanks for that
14:53:37 <rafa> dkayiwa: or is there anything you want me to test in particular?
14:53:46 <rafa> dkayiwa: it starts and I can login
14:53:53 <dkayiwa> rafa: just to see if the login screen comes up
14:53:56 <LeeBreisacher1> rafa, dkayiwa: bamboo is running Tomcat/7.0.26
14:53:59 <dkayiwa> rafa: thats enough
14:54:04 <dkayiwa> LeeBreisacher1: ok thanks
14:54:12 <dkayiwa> rafa: lets now test tomcat7
15:01:03 <rafa> dkayiwa: http://pastebin.com/ezw6mbUc is what I get
15:01:51 <dkayiwa> rafa: how long do you think it can take you test on tomcat6?
15:02:09 <rafa> dkayiwa: 10 minutes ;)
15:02:19 <dkayiwa> rafa: do you have them? :)
15:02:26 <rafa> dkayiwa: sure
15:02:32 <dkayiwa> rafa: thanks!!! :)
15:06:40 <rafa> dkayiwa: seems to work fine
15:07:08 <rafa> dkayiwa: so we have some issue with tomcat7
15:07:14 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: KenyaDQ 0.1 uploaded to OpenMRS Module Repository <https://modules.openmrs.org/modules/view.jsp?module=kenyadq&ampversion=&amp0.1>
15:07:22 <dkayiwa> rafa: thanks for the great work. So it looks like problem happens only on tomcat7. let me investigate more
15:07:27 <dkayiwa> rafa: yes
15:07:36 <rafa> dkayiwa: np
15:10:08 *** k-joseph has quit IRC
15:16:29 *** k-joseph has joined #openmrs
15:20:18 *** rcrichton has quit IRC
15:22:03 <rfriedman-away> dkayiwa, when running webapp under jetty, where is the openmrs directory?
15:22:33 *** rfriedman-away is now known as rfriedman
15:25:37 <dkayiwa> rfriedman: do you mean openmrs data directory?
15:26:00 <rfriedman> dkayiwa, yes, where the runtime.properties file is located
15:26:15 <dkayiwa> rfriedman: the same as when using tomcat
15:26:24 <rfriedman> dkayiwa, i think not
15:26:45 <dkayiwa> rfriedman: why? :)
15:27:00 <rfriedman> dkayiwa, no openmrs-webapp-runtime.properties is being created, nor is it seeing the modules in the module folder
15:32:17 <dkayiwa> rfriedman: are you trying to run the openmrs setup?
15:32:50 <rfriedman> dkayiwa, yes, it is complaining about missing logic 0.5.2 which is in my modules directory in ~/.OpenMRS
15:33:25 <dkayiwa> rfriedman: are you running from eclipse?
15:33:31 <rfriedman> dkayiwa, yes
15:33:43 <dkayiwa> rfriedman: do an mvn clean install and try again
15:34:06 <rfriedman> dkayiwa, on the openmrs project?
15:34:32 <dkayiwa> rfriedman: yes
15:34:39 *** bhashitha has joined #openmrs
15:36:34 <bhashitha> dkayiwa : Hi
15:37:00 <LeeBreisacher1> dkayiwa: refapp works ok for me locally on ubuntu with tomcat 7.0.26
15:37:52 <dkayiwa> LeeBreisacher1: what build date does it show at the bottom of the browser?
15:37:55 <dkayiwa> bhashitha: hi
15:38:30 <LeeBreisacher1> dkayiwa: Last Build: 2013-09-02 02:10 Version: 1.9.4 SNAPSHOT Build 5a1563
15:38:35 *** djazayeri has joined #openmrs
15:38:35 *** ChanServ sets mode: +o djazayeri
15:38:53 <dkayiwa> LeeBreisacher1: now that is getting very interesting :)
15:39:10 <LeeBreisacher1> dkayiwa: oh? why?
15:39:23 <dkayiwa> LeeBreisacher1: why it fails only on bamboo :)
15:39:49 <LeeBreisacher1> dkayiwa: ah. right. but did I see that it also fails for rafa on tomcat ?
15:40:19 <dkayiwa> LeeBreisacher1: rafa 's failure seems to indicate that he passes over the bamboo failure
15:40:34 <LeeBreisacher1> dkayiwa: oh
15:40:34 <dkayiwa> LeeBreisacher1: his is a different one: http://pastebin.com/ezw6mbUc
15:41:13 <LeeBreisacher1> dkayiwa: ah!! that's the error *I* was getting yesterday trying to run refapp on Windows
15:41:23 <dkayiwa> LeeBreisacher1: hahahaha :)
15:41:29 <dkayiwa> LeeBreisacher1: and he also runs windows :)
15:41:54 <LeeBreisacher1> dkayiwa: interesting. good to know it's not just me.
15:42:05 <dkayiwa> LeeBreisacher1: :D
15:42:46 <dkayiwa> LeeBreisacher1: so no one has been able to locally reproduce the bamboo error :)
15:43:19 <LeeBreisacher1> dkayiwa: but the bamboo failure is still quite mysterious. sure seems like it is classloader related (NoClassDefFoundError: javax/validation/ValidatorFactory), but why only on bamboo?
15:43:43 <dkayiwa> LeeBreisacher1: correct. but why only on bamboo??? :)
15:44:18 *** k-joseph has quit IRC
15:44:28 <LeeBreisacher1> djazayeri: hi Darius. we're seeing a rather strange failure on refapp bamboo build...
15:44:33 <dkayiwa> LeeBreisacher1: is it a NoClassDefFoundError or VerifyError?
15:44:59 <LeeBreisacher1> dkayiwa: I think the root failure is a NoClassDefFoundError
15:45:02 <djazayeri> LeeBreisacher1: hi, just sitting down to start looking at my screen
15:45:05 <dkayiwa> LeeBreisacher1: where did you get that?
15:45:10 <djazayeri> LeeBreisacher1: can I see it on bamboo?
15:46:00 <LeeBreisacher1> dkayiwa: it is in the tomcat log which can be found (downloaded) here: https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1076/artifact/INTTESTS/Tomcat-Log/catalina.out
15:46:10 <dkayiwa> LeeBreisacher1: checking....
15:53:17 <rfriedman> dkayiwa, still the same problem: http://pastebin.com/37asGUZV
15:54:06 <dkayiwa> rfriedman: which version of openmrs?
15:54:17 <rfriedman> 1.9.2-SNAPSHOT
15:54:50 <rfriedman> dkayiwa, see bottom of pastebin
15:55:05 <dkayiwa> rfriedman: use a newer version of the calculation module
15:55:14 <rfriedman> dkayiwa, this is most recent
15:55:23 <dkayiwa> rfriedman: which version?
15:55:24 <LeeBreisacher1> rafa: the problem you saw when running under tomcat7 (groovy.lang.MissingPropertyException: No such property: locations for class: SimpleTemplateScript3) is the same error I'm seeing when I run from jetty (on Windows). let me know if you have a solution for that...
15:55:53 <rfriedman> dkayiwa, 1.0, just downloaded it this morning
15:57:14 <dkayiwa> rfriedman: do you get the same error on 1.10?
15:57:38 <rfriedman> dkayiwa, i have no comment on 1.10
15:58:33 <dkayiwa> LeeBreisacher1: interesting enough, i have also just got the same groovy.lang.MissingPropertyException: No such property: locations for class: SimpleTemplateScript3 on tomcat7 but mac os x :)
16:02:10 <rfriedman> dkayiwa, since when are you a macster?
16:02:37 <dkayiwa> rfriedman: hahaha. been using mac os since 2010 :)
16:03:13 <rfriedman> dkayiwa, thought you were unbuntista
16:03:46 <dkayiwa> rfriedman: never used ubuntu ever since i was born :)
16:04:02 <rfriedman> dkayiwa, ah, but in a previous life ...
16:04:15 <dkayiwa> rfriedman: lolllllllll :)
16:12:54 <rfriedman> dkayiwa, should i wait to hear about jetty problem or go on to try to deal with tomcat problem?
16:13:12 <dkayiwa> rfriedman: does it happen with 1.10?
16:13:37 <rfriedman> dkayiwa, i don't have 1.10, both of these are 1.9.2 or 1.9.3 problems
16:14:15 <dkayiwa> rfriedman: does it help if you do a fresh checkout of 1.9.x
16:15:03 <rfriedman> dkayiwa, if that is what you think the jetty problem requires, then I will go on to the Tomcat problem
16:15:14 <dkayiwa> rfriedman: ok
16:16:40 *** NameFILIP has quit IRC
16:22:30 *** NameFILIP has joined #openmrs
16:22:30 *** ChanServ sets mode: +v NameFILIP
16:26:01 *** NameFILIP has quit IRC
16:28:19 <harshadura> hi dkayiwa
16:28:28 <dkayiwa> harshadura: hi
16:28:53 <harshadura> dkayiwa: is there any advantage of using BinaryStreamHandler over BinaryDataHandler ?
16:29:32 <dkayiwa> harshadura: i have not looked into that yet :)
16:30:18 <harshadura> dkayiwa: basically my use case is to save a Video under openmrs complex observation and stream/play it when needed.
16:30:35 <dkayiwa> harshadura: ok
16:31:03 <harshadura> dkayiwa: is it good to use ComplexObs for this purpose or do u prefer to save them separately ?
16:35:06 <dkayiwa> harshadura: use it
16:37:02 <bhashitha> dkayiwa : hi
16:37:11 <dkayiwa> bhashitha: hi
16:37:52 <bhashitha> dkayiwa : I want to pass objects from the assessItem.jsp page to DC module custom controller of the comparison view portlet
16:38:25 <bhashitha> dkayiwa : I tried to do this, but not any luck with passing objects
16:38:49 <bhashitha> dkayiwa : But I could pass object properties
16:39:39 <bhashitha> dkayiwa : Is there any restrictions which avoid pass complete objects with <openmrs:portlet> tag
16:43:15 <dkayiwa> bhashitha: i have never tried passing full objects :)
16:43:43 <dkayiwa> LeeBreisacher1: hi
16:44:17 <LeeBreisacher1> dkayiwa: hi
16:44:32 <dkayiwa> LeeBreisacher1: which version of tomcat were you running on windows?
16:44:52 <LeeBreisacher1> dkayiwa: not. I'm running jetty
16:45:16 <dkayiwa> LeeBreisacher1: so you got No such property: locations for class: SimpleTemplateScript1 on jetty?
16:45:33 <LeeBreisacher1> dkayiwa: yes
16:46:03 <LeeBreisacher1> dkayiwa: I think it's something to do with the database setup
16:47:22 <bhashitha> dkayiwa : I want to pass the comparing objects however to the custom controller for generate comparison view. But I'm not sure how could I do that, if the complete object passing is cannot be done
16:47:43 <bhashitha> dkayiwa : Do you have any thoughts on this ?
16:47:55 <dkayiwa> bhashitha: can you just pass the object id?
16:52:26 <bhashitha> dkayiwa : Yes, if I do this I can get the existing object, but what about the incoming object which is coming from a uploading/remote package (zip file) ?
16:53:41 <dkayiwa> bhashitha: cant we get the object identifier from the package?
16:55:14 <bhashitha> dkayiwa : I didn't deeply look into that yet, it should be possible. But it seems bit long path :(
16:55:45 <dkayiwa> bhashitha: if you can think if a shorter path that works :)
16:56:34 <bhashitha> dkayiwa : Unfortunately the shorter path which I was thinking didn't waork :(
16:57:23 <dkayiwa> bhashitha: ummmm
16:57:50 <bhashitha> dkayiwa : btw, I'll try what you said :)
16:58:00 <dkayiwa> bhashitha: :)
17:00:40 <rfriedman> dkayiwa, i cleared openmrs out of tomcat, renamed all openmrs-*runtime.properties under my home directory (find -name), deleted the old db, and am getting this:
17:00:41 <rfriedman> The following error occurred at startup:
17:00:42 <rfriedman> Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set
17:00:42 <rfriedman> java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set
17:00:43 <rfriedman> at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:631)
17:00:45 <rfriedman> at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:590)
17:00:47 <rfriedman> at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:262)
17:00:49 <rfriedman> at org.openmrs.web.Listener.setupNeeded(Listener.java:170)
17:00:51 <rfriedman> at org.openmrs.web.Listener.contextInitialized(Listener.java:142)
17:01:43 <rfriedman> dkayiwa, this is tomcat 6, get same message when i have a runtime.properties file pointed at a new DB, i can access it via mysql -uopenmrs -popenmrs
17:03:39 <dkayiwa> rfriedman: which runtime properties file is it using?
17:04:19 <rfriedman> dkayiwa, that is what i was asking you. AFAIK, first time there is no runtime properties, second time in .OpenMRS
17:05:12 <dkayiwa> rfriedman: if you rename the properties file you think it is using, does it ask for it?
17:05:35 <rfriedman> dkayiwa, it has never asked for a properties file, nor has it ever given the initial setup screen
17:06:14 <dkayiwa> rfriedman: if you rename the properties file and you do not get the setup screen, then it is using a different one from the one you think :)
17:07:12 <rfriedman> dkayiwa, as i said, i did find . -name openmrs*runtime.properties from my ubuntu home directory and got nothing but what i knew
17:07:49 <dkayiwa> rfriedman: can you search for all files that end with .properties?
17:08:03 <rfriedman> dkayiwa, i have no idea where it is getting a runtime properties file from, that has been the case since before i asked you
17:08:05 <dkayiwa> rfriedman: that end with runtime.properties
17:08:48 <dkayiwa> rfriedman: search for all *runtime.properties
17:09:11 *** dmulindwa has quit IRC
17:10:52 <rfriedman> dkayiwa, nothing but the one i know about
17:10:59 <rfriedman> in .OpenMRS
17:11:21 <dkayiwa> rfriedman: have you searched the entire hard disk?
17:17:10 <rfriedman> dkayiwa, yes, i even took out my magnifying glass and read the 1s and 0s
17:18:07 <dkayiwa> rfriedman: lollllllllllll :)
17:18:21 <dkayiwa> rfriedman: what happens if you rename .OpenMRS?
17:19:00 <rfriedman> dkayiwa, that is drastic but i will try it
17:19:10 <dkayiwa> rfriedman: :)
17:19:41 <dkayiwa> rfriedman: not as bad as deleting :)
17:20:44 <harsz89> harshadura, nope i didnt used thm :(
17:21:17 * harshadura ok harsz xP
17:21:20 <rfriedman> dkayiwa, no change
17:21:45 <dkayiwa> rfriedman: how about if you drop the database?
17:22:03 <rfriedman> dkayiwa, i already did that
17:22:14 <dkayiwa> rfriedman: what happened when you did it?
17:22:38 *** rday has joined #openmrs
17:23:28 <rfriedman> dkayiwa, just did it again, same error
17:24:05 <dkayiwa> rfriedman: you drop database and runtime properties file, and then it still does not bring up setup screen?
17:24:11 <rfriedman> dkayiwa, do you think 1.9.3 might have a packaging problem so that a runtime.properties from webapp was left in the distro>
17:24:20 <rfriedman> dkayiwa, yes
17:24:38 <dkayiwa> rfriedman: anything can be at this point. feel free to try another
17:25:26 <rfriedman> dkayiwa, i have a cartoon at work ... one hyena says to another, we laugh, but it's a mirthless laugh
17:26:07 <dkayiwa> rfriedman: :D
17:26:25 *** NameFILIP has joined #openmrs
17:26:26 *** ChanServ sets mode: +v NameFILIP
17:27:30 <harshadura> dkayiwa: As far as i know, there's no way to handle requests of a view by portlet controller itself right ? since it hav only the populateModel method
17:28:28 <harshadura> dkayiwa: so need to use a separate controller for that -- POST them to a separate controller inside the portlet view ?
17:28:36 <harshadura> dkayiwa: am i correct xD
17:28:40 <dkayiwa> harshadura: what did you want to do?
17:29:45 <dkayiwa> harshadura: did you try subclassing that controller?
17:30:48 *** NameFILIP has quit IRC
17:33:43 <harshadura> dkayiwa: ok, i will check that
17:38:51 *** sgithens has joined #openmrs
17:44:42 *** lbeier has joined #openmrs
17:45:36 <dkayiwa> LeeBreisacher1: hi
17:46:01 <LeeBreisacher1> dkayiwa: hi
17:46:21 <dkayiwa> LeeBreisacher1: how often does devtest02 pick up changes we have committed?
17:46:48 <LeeBreisacher1> dkayiwa: I think it happens after every successful build (key word: successful)
17:47:06 <dkayiwa> LeeBreisacher1: ok
17:47:11 *** robbyoconnor has quit IRC
17:47:38 *** robbyoconnor has joined #openmrs
17:47:38 *** ChanServ sets mode: +v robbyoconnor
17:53:27 *** harshadura has quit IRC
18:03:36 *** NameFILIP has joined #openmrs
18:03:36 *** ChanServ sets mode: +v NameFILIP
18:14:48 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1079 has FAILED (2 tests failed) : Dependant of CA-CA-190 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1079>
18:29:02 *** harsz89 has quit IRC
18:39:53 <bhashitha> dkayiwa : hi
18:40:08 <dkayiwa> bhashitha: hi
18:41:01 <bhashitha> dkayiwa: I can detect the object identifier from the package for incoming item. But still I need to refer these package inside my custom controller
18:41:23 <bhashitha> dkayiwa : Did you noticed that ?
18:41:30 *** lbeier has left #openmrs
18:41:38 <dkayiwa> bhashitha: and where is the problem?
18:43:36 <bhashitha> dkayiwa : I cannot refer to the package/incoming item list from the controller directly unless I passed those information to the controller
18:44:28 <bhashitha> dkayiwa : what about using global variables ?
18:44:29 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1080 has FAILED (2 tests failed) : Dependant of CA-CA-191 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1080>
18:45:16 <dkayiwa> bhashitha: commit for me to see what you are talking about
18:47:34 <bhashitha> dkayiwa : I didn't do any code changes. I was first finding a way to do this. Simply I want to access the comparing objects from my portlets custom controller
18:49:00 <bhashitha> dkayiwa : I'm just thinking that using a global variable to store those comparing objects (May be session variable) at the controller of assessItem.jsp
18:49:28 <dkayiwa> bhashitha: do as far as passing the id, put some comments in the code, and commit for me to see
18:51:15 <bhashitha> dkayiwa : Okay
19:02:59 <OpenMRSBot> Recent updates in the world of openmrsci: REFAPP-OMODDISTRO-1081 has FAILED (2 tests failed) : Dependant of CA-CA-192 <https://ci-stg.openmrs.org/browse/REFAPP-OMODDISTRO-1081>
19:08:47 *** bhashitha has quit IRC
19:26:16 *** GitHub123 has joined #openmrs
19:26:16 <GitHub123> [openmrs-core] dkayiwa pushed 1 new commit to 1.9.x: http://git.io/XzowwQ
19:26:16 <GitHub123> openmrs-core/1.9.x b7c6b44 dkayiwa: First attempt at fixing failures which do not happen locally, but only...
19:26:16 *** GitHub123 has left #openmrs
19:36:16 *** mareias has quit IRC
19:42:56 *** wyclif has joined #openmrs
19:43:44 *** wyclif has quit IRC
21:44:30 *** NameFILIP has quit IRC
21:45:51 *** sgithens has quit IRC
21:49:59 *** djazayeri has quit IRC
22:23:03 *** dkayiwa has quit IRC
22:36:11 *** rfriedman has quit IRC
22:45:12 *** NameFILIP has joined #openmrs
22:45:12 *** ChanServ sets mode: +v NameFILIP
22:49:14 *** NameFILIP has quit IRC
23:45:42 *** NameFILIP has joined #openmrs
23:45:42 *** ChanServ sets mode: +v NameFILIP
23:50:05 *** NameFILIP has quit IRC