01:23:32
|
*** njero has joined #openmrs
|
01:23:32
|
*** ChanServ sets mode: +v njero
|
01:30:29
|
*** sioraiocht has joined #openmrs
|
01:30:29
|
*** ChanServ sets mode: +v sioraiocht
|
02:14:02
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Re: Getting MR Number & City/Village to Appear in Forms <http://forum.openmrs.org/viewtopic.php?f=3&t=402#p1396>
|
02:57:29
|
*** upul has joined #openmrs
|
03:09:20
|
*** sioraiocht has quit IRC
|
03:22:41
|
*** njero has quit IRC
|
04:20:03
|
*** OpenMRSBot` has joined #openmrs
|
04:23:47
|
*** OpenMRSBot has quit IRC
|
04:23:47
|
*** OpenMRSBot` is now known as OpenMRSBot
|
04:24:50
|
*** upul has joined #openmrs
|
04:24:50
|
*** nribeka has joined #openmrs
|
04:24:51
|
*** atomicturtle has joined #openmrs
|
04:24:51
|
*** [mharrison] has joined #openmrs
|
04:24:51
|
*** TorLye has joined #openmrs
|
04:24:51
|
*** Phantal has joined #openmrs
|
04:24:51
|
*** Echidna has joined #openmrs
|
04:24:51
|
*** r0bby has joined #openmrs
|
04:24:51
|
*** jacobb has joined #openmrs
|
04:24:52
|
*** irc.freenode.net sets mode: +v r0bby
|
04:42:28
|
*** Keelhaul has joined #openmrs
|
04:42:28
|
*** ChanServ sets mode: +v Keelhaul
|
04:44:39
|
<Keelhaul> does anyone know how to restart the tomcat demon in linux?
|
04:51:05
|
<upul> Keelhaul: which linux
|
04:51:16
|
<Keelhaul> tbh, i'm not sure
|
04:51:18
|
<Keelhaul> how do i check
|
04:51:20
|
<Keelhaul> the machine is remote
|
04:51:28
|
<upul> uname -a
|
04:51:56
|
<Keelhaul> Ubuntu 2.6.24-19-generic
|
04:52:08
|
<upul> i think /etc/init.d has scripts
|
04:52:16
|
<Keelhaul> hmm
|
04:52:19
|
<Keelhaul> do i need root access for that
|
04:52:29
|
<upul> i think so
|
04:52:37
|
<Keelhaul> damn
|
04:52:41
|
<Keelhaul> they changed the root pw recently
|
04:53:03
|
<upul> if it is running as a script like that then you can find the script and run /etc/init.d/SCRIPTNAME restart
|
04:53:04
|
<Keelhaul> what are the commands for the scripts
|
04:53:16
|
<Keelhaul> oh they're custom? =/
|
04:54:12
|
<upul> these scripts work the same i think, args are start, stop, restart
|
04:54:59
|
<Keelhaul> oh
|
04:55:04
|
<Keelhaul> i wish i knew the name then
|
04:55:30
|
<upul> but may be your tomcat is running as a separate process, started from the command line and running in the background
|
05:01:05
|
<Keelhaul> i know it starts when the machine bootst
|
05:01:06
|
<Keelhaul> -s
|
05:01:11
|
<Keelhaul> so i guess it's in init
|
05:01:12
|
<Keelhaul> but not sure
|
05:01:18
|
<Keelhaul> i havent worked with linux for so long..
|
05:01:21
|
<Keelhaul> thanx anyway
|
05:01:34
|
<Keelhaul> i guess i'll write the admin and tell him to reboot or give me the current root bw
|
05:01:35
|
<Keelhaul> pw
|
05:01:46
|
<upul> then there should be script in the init.d dir
|
05:02:28
|
<Keelhaul> i think i saw one last time i was there
|
05:02:45
|
<Keelhaul> is that the same one where you add the tweaks so it stops running out of memory?
|
05:07:17
|
*** upul has quit IRC
|
06:42:21
|
*** james_regen has joined #openmrs
|
06:42:21
|
*** ChanServ sets mode: +v james_regen
|
06:45:22
|
*** upul has joined #openmrs
|
06:46:37
|
*** upul has quit IRC
|
06:52:05
|
*** bwolfe has joined #openmrs
|
06:52:05
|
*** ChanServ sets mode: +o bwolfe
|
07:36:17
|
*** nribeka has quit IRC
|
08:16:48
|
*** atomicturtle has quit IRC
|
08:22:47
|
*** [mharrison] has quit IRC
|
08:53:15
|
*** njero has joined #openmrs
|
08:53:15
|
*** ChanServ sets mode: +v njero
|
09:00:50
|
*** atomicturtle has joined #openmrs
|
09:11:18
|
*** sunbiz has joined #openmrs
|
09:11:31
|
<sunbiz> hi guys
|
09:12:11
|
<sunbiz> do we have an automated build system that generates the nightlies every night ??
|
09:12:24
|
<sunbiz> or does some1 manually build the nighly at night ?? ;-)
|
09:13:12
|
<sunbiz> bwolfe: its for the openmrs installer that I ask
|
09:17:41
|
*** upul has joined #openmrs
|
09:23:40
|
*** bwolfe_ has joined #openmrs
|
09:23:40
|
*** ChanServ sets mode: +o bwolfe_
|
09:23:43
|
*** atomicturtle has left #openmrs
|
09:23:49
|
*** bwolfe has quit IRC
|
09:25:05
|
*** njero has quit IRC
|
09:38:39
|
<Keelhaul> upul: are you there?
|
09:39:06
|
<upul> yes
|
09:39:54
|
<Keelhaul> i found and moddel the tomcat shell script
|
09:39:58
|
<Keelhaul> but i cant seem to run it
|
09:40:04
|
<Keelhaul> it says unknown
|
09:40:45
|
<upul> you mean sudo /etc/init.d/TOMCATorSOMETHING restart
|
09:41:42
|
<Keelhaul> sudo?
|
09:41:48
|
<Keelhaul> ok it worked with ./
|
09:41:55
|
<Keelhaul> but i dont think it's the right tomcat..
|
09:42:04
|
<Keelhaul> the script is called tomcat5.5
|
09:42:21
|
<Keelhaul> oh wait it is 5.5
|
09:42:34
|
<upul> sudo is to run it as root without becoming root
|
09:43:02
|
<Keelhaul> oh
|
09:43:05
|
<Keelhaul> meh
|
09:43:11
|
<Keelhaul> ssh ftl
|
09:43:15
|
<Keelhaul> i need vnc access
|
09:43:33
|
<Keelhaul> at least i could use winscp to edit the files and didnt have to use vi
|
09:44:51
|
<Keelhaul> ok it seems to run
|
09:44:59
|
<Keelhaul> i hope the memory tweaks will work
|
09:45:18
|
<Keelhaul> the example had /opt/tomcat/something in it
|
09:45:27
|
<Keelhaul> /opt is empty though
|
09:46:05
|
<upul> example?
|
09:46:26
|
<upul> may be you can find the location from the contents of the script file
|
09:47:28
|
<Keelhaul> !wiki out of memory
|
09:47:28
|
<OpenMRSBot> Keelhaul: Error: "wiki" is not a valid command.
|
09:47:30
|
<Keelhaul> hm
|
09:47:35
|
<Keelhaul> damn
|
09:47:48
|
<bwolfe_> !oom
|
09:47:48
|
<OpenMRSBot> bwolfe_: "oom" --- Tomcat's memory management sucks. Increase your memory available to tomcat. See http://openmrs.org/wiki/Out_Of_Memory_Errors
|
09:47:56
|
<Keelhaul> http://openmrs.org/wiki/Out_Of_Memory_Errors
|
09:48:06
|
<Keelhaul> you were faster =)
|
09:48:16
|
<Keelhaul> CATALINA_OPTS="-Djava.library.path=/opt/tomcat/lib/.libs -Xmx512m -Xms512m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=128m"
|
09:48:33
|
<Keelhaul> i just changed tomcat to tomcat5.5 blindly
|
09:48:38
|
<Keelhaul> and hope for the best
|
09:55:31
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1041 (defect closed): Valid XML required for META-INF/context.xml <http://dev.openmrs.org/ticket/1041#comment:2>
|
10:08:42
|
<Keelhaul> heh
|
10:09:04
|
<Keelhaul> you can enroll patients into programs w/o a starting date
|
10:23:10
|
*** atomicturtle1 has joined #openmrs
|
10:23:29
|
*** atomicturtle1 has left #openmrs
|
10:36:48
|
<r0bby> bwolfe_: could our OOME be caused by leaking resources?
|
10:37:07
|
<bwolfe_> yes
|
10:37:44
|
<r0bby> is the classloader leaking?
|
10:37:46
|
<r0bby> :P
|
10:38:17
|
<r0bby> is your fridge running?
|
10:39:48
|
<bwolfe_> its actually just rolling
|
10:39:56
|
<bwolfe_> r0bby: I don't know whats leaking
|
10:40:06
|
<bwolfe_> r0bby: I know that tomcat leaks stuff when the webapp is reloaded
|
10:40:16
|
<bwolfe_> I don't know what leaks when openmrs is just running
|
10:40:24
|
<bwolfe_> brb
|
10:41:24
|
<r0bby> bwolfe_: my bet is the ModuleClassLoader
|
10:41:47
|
<r0bby> but then again Groovy forms module will do the same probably since I have to load the classes to parse them
|
10:41:59
|
<r0bby> (sorry for the lack of work)
|
10:42:00
|
<r0bby> :X
|
10:42:31
|
*** sprasanna has joined #openmrs
|
10:43:46
|
<r0bby> lh wants me to mentor next year
|
10:43:55
|
<r0bby> (if you guys can still stand me)
|
10:44:00
|
*** upul has quit IRC
|
10:59:46
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Modules: Registration Module 0.7 uploaded to OpenMRS Module Repository <https://dev.openmrs.org/modules/view.jsp?module=registration&version=&0.7>
|
11:00:30
|
*** bwolfe_ has quit IRC
|
11:03:04
|
*** bwolfe_ has joined #openmrs
|
11:03:04
|
*** ChanServ sets mode: +o bwolfe_
|
11:10:17
|
<Keelhaul> !junit
|
11:10:17
|
<OpenMRSBot> Keelhaul: "junit" --- OpenMRS uses unit testing. See http://openmrs.org/wiki/Unit_Testing and http://openmrs.org/wiki/Module_Unit_Testing
|
11:11:23
|
<Keelhaul> has anyone succeeded in getting module service tests working since the update?
|
11:18:50
|
<r0bby> using Junit4?
|
11:19:02
|
<Keelhaul> yea
|
11:19:14
|
<r0bby> I think ben updated the wiki
|
11:19:23
|
<Keelhaul> i upgaded the jar and now it doesnt find BaseModuleContextSensitiveTes
|
11:19:24
|
<r0bby> peek at svn
|
11:19:24
|
<Keelhaul> t
|
11:19:28
|
<Keelhaul> the old one is deprecated
|
11:19:33
|
<Keelhaul> and the new location cant be found for some reason
|
11:19:41
|
<Keelhaul> openmrs jars are also up to date
|
11:19:42
|
<r0bby> yeh they did some refactoring
|
11:20:09
|
<Keelhaul> do you know of any examples
|
11:20:16
|
<Keelhaul> so that i dont have to browse all modules
|
11:20:34
|
<r0bby> check the module unit testing wiki doc
|
11:20:46
|
<r0bby> let me see
|
11:21:17
|
<Keelhaul> i'm on the wiki doc right now
|
11:21:24
|
<Keelhaul> but i dont see anything different from how i have it
|
11:21:29
|
<r0bby> are you positive that the new jar is in your classpath?
|
11:21:44
|
<Keelhaul> <classpathentry kind="lib" path="lib-common/junit-4.4.jar"/>
|
11:22:00
|
<Keelhaul> and the old one has been removed too
|
11:22:49
|
<r0bby> Openmrs's jar
|
11:23:08
|
<r0bby> there was refactoring
|
11:23:32
|
<Keelhaul> <classpathentry kind="lib" path="lib-common/openmrs-api-1.4.0.02.5503.jar"/>
|
11:23:32
|
<Keelhaul> <classpathentry kind="lib" path="lib-common/tests-openmrs-api-1.4.0.02.5503.jar"/>
|
11:23:32
|
<Keelhaul> <classpathentry kind="lib" path="lib-common/web-openmrs-api-1.4.0.02.5503.jar"/>
|
11:23:52
|
<r0bby> is that the latest (I haven't touched openmrs in awhile)
|
11:24:14
|
<r0bby> try importing: org.openmrs.test.testutil.BaseModuleContextSensitiveTest
|
11:25:14
|
<Keelhaul> it's a few days old
|
11:25:25
|
<Keelhaul> less than a week i think
|
11:25:32
|
<r0bby> try that
|
11:25:40
|
<r0bby> see if it resolves
|
11:25:49
|
<Keelhaul> The import org.openmrs.test.testutil cannot be resolved
|
11:25:53
|
<r0bby> otherwise something is wonky in your setup
|
11:26:00
|
<r0bby> Okay your jar is definately out of date
|
11:26:09
|
<r0bby> do an svn up
|
11:26:14
|
<r0bby> then remake the jars
|
11:26:28
|
<Keelhaul> maybe build.xml hasnt created the test jar properly
|
11:26:30
|
<Keelhaul> happened before
|
11:26:48
|
<Keelhaul> it used to not include the dataset xml for me for a while, for example
|
11:26:58
|
<r0bby> do it again
|
11:27:06
|
<r0bby> explicitly run that target
|
11:29:58
|
<OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Tickets: Ticket #1042 (defect created): Incorrect Link to Encounter Form When Searching for Observations <http://dev.openmrs.org/ticket/1042>
|
11:37:08
|
*** sunbiz has left #openmrs
|
11:46:12
|
*** njero has joined #openmrs
|
11:46:12
|
*** ChanServ sets mode: +v njero
|
12:16:06
|
*** sunbiz has joined #openmrs
|
12:22:46
|
*** sunbiz has left #openmrs
|
12:44:15
|
*** sprasanna has quit IRC
|
13:38:31
|
*** nribeka has joined #openmrs
|
13:40:31
|
<nribeka> hi bwolfe_
|
13:40:46
|
<bwolfe_> hey
|
13:40:57
|
<nribeka> where's the bot?
|
13:40:58
|
*** bwolfe_ is now known as bwolfe
|
13:41:06
|
<bwolfe> the bot isn't auth'd
|
13:42:30
|
<nribeka> isn't auth'd?
|
13:48:19
|
<bwolfe> it is not authenticated for some reason
|
13:48:27
|
<bwolfe> it probably got disconnected today at some point
|
13:53:50
|
<Keelhaul> bwolfe: maybe you got an idea why my modules cant find org.openmrs.test.testutil.BaseModuleContextSensitiveTest
|
13:54:06
|
<Keelhaul> recent enough jars are included
|
13:54:08
|
<bwolfe> have you updated your test jar ?
|
13:54:27
|
<Keelhaul> name?
|
13:54:54
|
*** OpenMRSBot has left #openmrs
|
13:54:56
|
*** OpenMRSBot has joined #openmrs
|
13:55:12
|
<bwolfe> test- something
|
13:56:04
|
<Keelhaul> <classpathentry kind="lib" path="lib-common/tests-openmrs-api-1.4.0.02.5503.jar"/>
|
13:56:05
|
<Keelhaul> this?
|
13:56:07
|
<bwolfe> tests-openmrs-api-1.4.0.02.5472.jar
|
13:56:12
|
<bwolfe> yeah
|
13:56:22
|
<Keelhaul> yea, i always update all 3
|
13:56:25
|
<bwolfe> unzip that and make sure that /org/openmrs/test/testuitl is in there
|
13:56:44
|
<Keelhaul> no
|
13:56:51
|
<Keelhaul> just include
|
13:57:00
|
<Keelhaul> and some classes w/o a subdir
|
13:57:21
|
<Keelhaul> so i guess it packages it wrong again =/
|
13:57:41
|
<Keelhaul> if i add trunk as a required project to the module, it finds testutil fine
|
13:57:42
|
<bwolfe> apparently
|
14:07:50
|
<Keelhaul> bwolfe: do you have a working one?
|
14:09:21
|
*** njero has quit IRC
|
14:11:32
|
<bwolfe> hmm
|
14:11:33
|
<bwolfe> odd
|
14:11:45
|
<bwolfe> I'm getting the same setup when I build it
|
14:11:52
|
<bwolfe> do an eclipse clean
|
14:11:59
|
<bwolfe> and then run the package-api-tests Keelhaul
|
14:12:14
|
<bwolfe> I think the build file is missing some folders for some reason
|
14:17:01
|
<bwolfe> Keelhaul: just committed a fix to trunk for this
|
14:19:09
|
<Keelhaul> oh
|
14:19:11
|
<Keelhaul> thx
|
14:26:46
|
<Keelhaul> bbl
|
15:02:09
|
*** njero has joined #openmrs
|
15:02:10
|
*** ChanServ sets mode: +v njero
|
15:03:47
|
*** njero has quit IRC
|
15:41:42
|
*** sunbiz has joined #openmrs
|
15:51:55
|
<james_regen> hey bwolfe, quick question?
|
15:52:07
|
<bwolfe> yessir
|
15:52:46
|
<james_regen> i think i remember an API call to get a JDBC connection to the MySQL database. is it just wishful thinking?
|
15:53:49
|
<bwolfe> if you're in your own DAO, you can do sessionFactory.connection()
|
15:54:03
|
<bwolfe> but there is nothing exposed through other services
|
15:54:08
|
<bwolfe> (for a reason)
|
15:55:02
|
<james_regen> that's probably what i was thinking of, and i can see how it'd be a good reason. but surely my case is a very special case that justifies layer violations
|
15:57:05
|
<bwolfe> I'm sure it is
|
15:57:12
|
<bwolfe> therefore I will ignore you
|
15:57:30
|
<james_regen> don't worry, i won't tell you how awful our module is
|
15:57:45
|
<nribeka> haha ... lolz
|
15:57:56
|
<nribeka> that's a secret james :P
|
16:02:08
|
<bwolfe> your module can be terrible
|
16:02:10
|
<bwolfe> I don't care
|
16:02:20
|
<bwolfe> as long as I'm never asked to merge it to core :-p
|
16:17:52
|
*** james_regen has quit IRC
|
16:18:49
|
*** nribeka has quit IRC
|
16:38:19
|
*** bwolfe has quit IRC
|
16:42:52
|
*** nribeka has joined #openmrs
|
16:44:36
|
*** njero has joined #openmrs
|
16:44:36
|
*** ChanServ sets mode: +v njero
|
16:47:06
|
*** sunbiz has quit IRC
|
17:26:26
|
*** njero has quit IRC
|
17:32:28
|
*** njero has joined #openmrs
|
17:32:28
|
*** ChanServ sets mode: +v njero
|
17:57:49
|
* r0bby sighs
|
17:58:25
|
<r0bby> .gg
|
18:30:39
|
*** atomicturtle has joined #openmrs
|
19:14:59
|
*** njero has quit IRC
|
20:43:21
|
*** Keelhaul has quit IRC
|
21:07:16
|
*** bwolfe has joined #openmrs
|
21:07:16
|
*** ChanServ sets mode: +o bwolfe
|
22:06:27
|
*** bwolfe has quit IRC
|