IRC Chat : 2010-05-01 - OpenMRS

02:52:13 *** fixl has joined #openmrs
02:54:38 <basic`> any admins around?
03:23:30 *** chopin has joined #openmrs
03:23:30 *** ChanServ sets mode: +v chopin
03:29:17 *** chopin has quit IRC
04:13:05 *** wyclif has joined #openmrs
04:19:43 *** downeym-mobile has joined #openmrs
04:19:43 *** ChanServ sets mode: +o downeym-mobile
04:28:41 *** downeym-mobile has quit IRC
05:35:04 *** umashanthi_ has joined #openmrs
05:35:04 *** ChanServ sets mode: +v umashanthi_
06:55:19 *** robbyoconnor has quit IRC
06:56:34 *** robbyoconnor has joined #openmrs
06:56:34 *** ChanServ sets mode: +v robbyoconnor
07:00:42 *** Hazamonzo has joined #openmrs
07:59:54 <fixl> oh my god
08:00:00 <fixl> all the trouble with tomcat ...
08:00:06 <fixl> it was a bug in debian's java
08:03:46 <fixl> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056
08:03:53 <OpenMRSBot> <http://ln-s.net/6CTh> (at bugs.debian.org)
08:18:38 *** pascal` has joined #openmrs
08:19:05 *** pascal` is now known as Guest42279
08:19:45 <OpenMRSBot> Recent updates in the world of openmrs: OpenMRS Forum: Where are the Forms to match demo database? <http://forum.openmrs.org/viewtopic.php?f=9&t=586#p2205>
08:22:50 *** astelmashenko has joined #openmrs
08:32:12 *** Guest42279 is now known as pbrandt
08:32:20 *** ChanServ sets mode: +v pbrandt
08:52:40 *** astelmashenko has quit IRC
08:54:13 *** umashanthi_ has left #openmrs
09:08:55 *** Hazamonzo has quit IRC
10:33:55 *** MalteF has joined #openmrs
10:33:56 *** ChanServ sets mode: +v MalteF
10:34:09 <MalteF> hi all
11:18:10 *** MalteF has quit IRC
11:23:47 *** umashanthi_ has joined #openmrs
11:23:47 *** ChanServ sets mode: +v umashanthi_
11:50:25 *** r0bby|android has joined #openmrs
11:50:25 *** ChanServ sets mode: +v r0bby|android
11:56:06 *** umashanthi_1 has joined #openmrs
11:57:56 *** umashanthi_1 has quit IRC
11:58:12 *** umashanthi_ has quit IRC
11:58:33 *** umashanthi_ has joined #openmrs
11:58:33 *** ChanServ sets mode: +v umashanthi_
12:28:09 *** fixl has quit IRC
12:28:55 *** astelmashenko has joined #openmrs
12:34:07 *** fixl has joined #openmrs
12:41:27 <fixl> can someone explain to me in 25 words or less how to deploy tomcat stuff from eclipse?
12:41:45 <fixl> i dont quiet get what that whole stuff is good for
12:50:31 *** chopin has joined #openmrs
12:50:31 *** ChanServ sets mode: +v chopin
12:51:25 <chopin> o/ pbrandt
12:52:02 <chopin> \o Echidna ]
12:53:30 *** astelmashenko has quit IRC
12:53:56 <fixl> ?
12:55:16 <chopin> hi fixl
12:55:24 <fixl> hi
12:55:35 <fixl> oh you didn't see my question :D
12:56:05 <fixl> i am mixed up about tomcat
12:56:37 <fixl> if you guys develop
12:56:52 <fixl> did you set up mysql & tomcat on your local machine?
12:57:35 *** umashanthi_ has quit IRC
13:00:53 <chopin> yes
13:00:57 <chopin> fixl: what OS are you using?
13:01:09 <fixl> sidux (debian sid)
13:01:23 <fixl> and on my vm i use Debian Squeeze
13:01:23 <chopin> k, did you follow ubuntu setup steps?
13:02:14 <chopin> the ubuntu setup should work for debian unless you're not using aptitutde
13:02:34 <fixl> i followed http://openmrs.org/wiki/Installing_An_OpenMRS_Server_On_Linux
13:02:35 <OpenMRSBot> <http://ln-s.net/5zFK> (at openmrs.org)
13:02:43 <fixl> i mean
13:02:48 <fixl> mysql and tomcat are working
13:02:51 <chopin> ok
13:03:03 <fixl> but i'm not really sure about how to develop :/
13:03:07 <chopin> so what is giving you problems?
13:03:07 <chopin> ah
13:03:19 <fixl> i've got eclipse
13:03:24 <fixl> i wanted to add a server
13:03:33 <chopin> yes
13:03:39 <fixl> but when i changed localhost to the name of the server
13:03:43 <fixl> tomcat disappears
13:04:27 <chopin> fixl: this is a better resource for development: http://openmrs.org/wiki/Step-by-Step_Installation_Guide_for_Ubuntu_8.10_for_Developers
13:04:28 <OpenMRSBot> <http://ln-s.net/4C0J> (at openmrs.org)
13:04:48 <fixl> yes
13:05:01 <fixl> but i dont want tomcat on my local machine
13:05:09 <fixl> or is it impossible
13:05:45 <fixl> i want to have all the openmrs stuff on the vm
13:06:01 <chopin> it is possible
13:06:14 <chopin> fixl: all you really need to do is compile the openmrs.war file (using the deploy ant target)
13:06:24 <chopin> then copy the openmrs.war file to your tomcat's webapps directory
13:06:27 <chopin> and redeploy
13:06:47 <chopin> well, the best bet is to undeploy first
13:06:52 <chopin> then copy over the new openmrs.war file
13:07:03 <chopin> and tomcat will automatically try to deploy it
13:08:14 <fixl> oh man
13:08:24 <fixl> i'm really losing my motivation :(
13:11:02 <fixl> isn't there something like automatically puting it onto my server?
13:11:40 <chopin> fixl: you could try to modify the build or build properties so the update target tries to deploy to your server
13:11:42 <chopin> http://tweetphoto.com/20589624
13:11:48 <chopin> that's an unrelated pic
13:11:55 <chopin> but it was a tasty cheesecake
13:12:22 <fixl> hehe
13:12:56 <chopin> i'm going to have to go change diapers
13:13:08 <chopin> but good luck fixl, and there's always folks here who can help
13:13:15 <chopin> so don't get frustrate
13:13:15 <chopin> d
13:13:16 <chopin> :-)
13:13:56 <fixl> i'm not a web dev :(
13:14:05 <fixl> and i was asked by a friend of mine to have a look at openMRS
13:14:57 <chopin> fixl: oh, so why do you want eclipse?
13:15:08 <fixl> why not?
13:15:17 <fixl> dont i need it to develop?
13:15:21 <fixl> or write modules
13:16:55 <chopin> fixl: yes, but ... i thought you said you aren't a developer :-)
13:17:02 <fixl> ah sry
13:17:03 <chopin> tomcat running on your machine is a good bet then
13:17:03 <fixl> well
13:17:05 <chopin> honestly
13:17:08 <fixl> i'm a cs student
13:17:08 <chopin> it helps in development
13:17:11 <chopin> ah ok
13:17:35 <fixl> but this is something i'm not doing for the university
13:18:51 *** downeym has joined #openmrs
13:18:56 *** ChanServ sets mode: +o downeym
13:19:54 <fixl> whats your setup chopin
13:20:09 <chopin> i've got tomcat and mysql running on my machine
13:20:13 <chopin> along w/ eclipse
13:20:20 <fixl> hmkay
13:20:25 <chopin> i used the ubuntu guide
13:20:37 <fixl> i thought it might be a good idea to simulate a "real server" situation
13:20:48 <fixl> to set up everything in a vm
13:20:55 <chopin> fixl: that make sense if you need to test an implementation
13:21:05 <chopin> fixl: but for troubleshooting code, nothing's better than a local environment
13:21:34 <chopin> fixl: once you have all your unit tests succeeding and debugging is over, that's when you can deploy on the server
13:21:43 <chopin> fixl: and deploying on the server is actually really easy
13:22:01 <chopin> like i said, you just undeploy (via tomcat manager app) and copy the war file into the webapps folder
13:22:05 <chopin> everything else is handled
13:22:07 <chopin> :-D
13:22:14 <chopin> it is good to have a server to test on
13:22:17 <chopin> so don't kill your vm
13:22:18 <chopin> :-)
13:22:23 <fixl> ah i wont
13:22:29 <fixl> i have come to like kvm :)
13:22:45 <chopin> good
13:22:54 <chopin> are you familiar with unit tests?
13:22:56 <fixl> and to set up minimal debian testing
13:23:14 <fixl> i know what they are yes
13:23:21 <fixl> i#ve written a few a while back
13:23:29 <chopin> ok great, for us they can contain context
13:23:51 <chopin> so you can assume a controlled-but-realistic scenario
13:24:29 <chopin> so really, for most concerns, the unit test really helps us flesh out any problems with code
13:24:49 <chopin> debugging in eclipse against your local tomcat server is fantastic, too
13:25:27 <fixl> k
13:25:43 <fixl> did you use the tocat packae that comes with ubuntu?
13:26:36 <chopin> i used apt-get
13:26:38 <chopin> so, yes
13:26:52 <chopin> but we modify them using the steps in that howto
13:27:06 <chopin> you have to set the users up just right so the ant targets work
13:27:58 <fixl> k
13:28:09 <fixl> and i thought i had a genius idea
13:28:17 <fixl> of putting everything on the vm in the first place
13:31:03 <chopin> fixl: it's a step ahead of the game
13:31:13 <fixl> hehe
13:31:19 <fixl> to bad :D
13:31:38 <chopin> you basically have the second level of development finished: having a server to test your assumedly ready-for-production code on
13:32:06 <chopin> honestly, there are lots of scenarios that may dictate using a VM
13:32:15 <chopin> like working with other apps on the server
13:32:24 <chopin> but for your basic development environment, it's fine for it all to be local
13:32:35 <chopin> of course, you could set up an ubuntu vm that has your entire dev env in it :-)
13:32:42 <chopin> bleh, i have to go feed a baby
13:32:43 <chopin> ttyl
13:33:57 <fixl> kk
13:34:13 <fixl> i don't like ubuntu very much ^^
13:48:00 <fixl> it works :D
13:57:23 *** chopin has quit IRC
14:02:00 *** umashanthi_ has joined #openmrs
14:02:00 *** ChanServ sets mode: +v umashanthi_
14:17:10 <fixl> how long does it take for that wizard to set up the db?
14:19:01 *** chopin has joined #openmrs
14:19:01 *** ChanServ sets mode: +v chopin
14:19:31 <chopin> fixl: what works?
14:19:49 <fixl> tomcat
14:19:58 <fixl> i'm setting up the databases
14:20:08 <fixl> or lets say its setting up itself
14:20:14 <fixl> but its stuck at 0%
14:20:14 <fixl> :D
14:26:45 * downeym says: Trac is having problems - we should have it back up soon
14:27:35 <fixl> and why cant i reach the manager web-app now
14:27:40 <fixl> after restarting tomcat
14:29:16 <fixl> 404 o_O
14:32:46 <fixl> anyone got an idea
14:37:47 <fixl> brb
14:37:50 *** fixl has quit IRC
14:52:07 *** fixl has joined #openmrs
14:52:24 <fixl> ok
14:52:27 <fixl> yet another problem :D
14:52:36 <fixl> Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
14:57:09 <downeym> fixl: Any context about where you're seeing that or what you were trying to do when you saw it?
14:57:23 <fixl> http://localhost:8080/openmrs/initialsetup
14:57:34 <fixl> the database was there
14:57:37 <fixl> but i dropped it
14:57:41 <fixl> in mysql
14:57:43 <robbyoconnor> WTF
14:57:48 <robbyoconnor> blogger deleted my blog
14:57:51 <fixl> and redeployed it
14:57:56 <fixl> but
14:57:58 *** bwolfe has joined #openmrs
14:57:58 *** ChanServ sets mode: +o bwolfe
14:58:28 <downeym> you dropped openmrs ?
14:58:45 <fixl> yes
14:59:23 <robbyoconnor> ok no it didnt
15:00:36 <downeym> fixl: i would imagine if you dropped the schema then you won't be able to connect to it :)
15:00:57 <fixl> but i want the install wizzard :D
15:02:32 <downeym> fixl: you may want to undeploy the webapp, drop the schema, delete .OpenMRS directory and try again from the top
15:02:37 <downeym> redeploy webapp
15:02:48 <fixl> yep i figured that
15:03:00 <fixl> i just deleted the conbtents of .OpenMRS
15:03:30 <downeym> just rm -rf .OpenMRS
15:03:44 <downeym> then you can do a 100% clean install
15:08:59 <fixl> i got it workin g:)
15:09:04 <fixl> i was just irritated
15:09:29 <fixl> i thought the autosetup would display when it has done its job
15:11:51 <fixl> but everything finally works :D
15:16:09 *** openmrs_web429 has joined #openmrs
15:17:06 <downeym> fixl: cool!
15:17:09 <downeym> congrats
15:17:14 <fixl> thx
15:17:20 <fixl> and again 01:17 in the morning
15:17:27 <fixl> and i'm sick :|
15:17:56 *** openmrs_web429 is now known as shivashankar
15:19:05 <downeym> fixl: sorry to hear, hope you feel better
15:19:07 <downeym> hey shivashankar
15:19:17 <fixl> no worries
15:27:20 <umashanthi_> shivashankar: hi
15:29:17 *** openmrs_web763 has joined #openmrs
15:29:42 *** openmrs_web763 has left #openmrs
15:30:23 *** pbrandt has quit IRC
15:30:52 *** pbrandt has joined #openmrs
15:31:20 *** pbrandt is now known as Guest29069
15:35:03 * downeym burnt his bacon
15:35:12 <downeym> -t +ed
15:37:42 <robbyoconnor> boohoo?
15:44:00 <downeym> :P
15:44:04 <downeym> i ate it anyway
15:44:40 <downeym> robbyoconnor: http://tweetphoto.com/20589624
15:44:54 <robbyoconnor> holy crap am I in one hell of a bad mood today
15:45:08 <downeym> go back to sleep :)
15:49:02 <robbyoconnor> lol i slept over 12 hrs
15:49:43 <robbyoconnor> after i get my second payment from gsoc im buying an HTC Droid incredible
15:50:04 <robbyoconnor> hopefully verizon lets me push back my new every two
15:50:05 <robbyoconnor> :x
15:50:14 <robbyoconnor> i think it's like $150 extra or something
15:50:17 <robbyoconnor> :X
15:50:43 <downeym> nice
15:50:49 *** bwolfe has quit IRC
15:52:11 <robbyoconnor> i have 2 months to decide :)
15:52:23 <robbyoconnor> that should kill my impulse lol
15:52:52 <downeym> will prob be a new one by then
15:53:53 <robbyoconnor> likely lol
15:54:20 <robbyoconnor> when phones are as powerful as computers you gotta start worrying lol
16:08:58 *** astelmashenko has joined #openmrs
16:34:27 *** fixl has quit IRC
16:56:18 *** djazayeri has quit IRC
16:58:13 *** bwolfe has joined #openmrs
17:11:50 <Guest29069> hi chopin
17:11:57 *** Guest29069 is now known as pascal`
17:12:06 *** ChanServ sets mode: +v pascal`
17:14:42 *** shivashankar has quit IRC
17:27:43 *** Mkop has joined #openmrs
17:27:43 *** ChanServ sets mode: +v Mkop
17:49:48 *** umashanthi_ has left #openmrs
18:14:47 <chopin> pascal`: hey-o
18:17:34 *** bwolfe has quit IRC
18:26:20 *** Mkop has quit IRC
18:26:54 *** Mkop has joined #openmrs
18:26:54 *** ChanServ sets mode: +v Mkop
19:03:50 *** Mkop has quit IRC
19:44:28 *** bwolfe has joined #openmrs
19:44:28 *** ChanServ sets mode: +o bwolfe
20:12:26 *** r0bby|android has quit IRC
20:22:23 * downeym
20:57:09 *** downeym has quit IRC
21:13:08 *** r0bby|android has joined #openmrs
21:13:08 *** ChanServ sets mode: +v r0bby|android
21:36:35 *** wyclif has quit IRC
21:45:42 *** wyclif has joined #openmrs
21:56:43 *** downeym-mobile has joined #openmrs
21:56:43 *** ChanServ sets mode: +o downeym-mobile
22:12:52 *** bwolfe has quit IRC
22:25:16 *** nribeka has joined #openmrs
22:25:16 *** ChanServ sets mode: +v nribeka
22:26:50 *** nribeka has quit IRC
22:27:34 *** nribeka has joined #openmrs
22:27:34 *** ChanServ sets mode: +v nribeka
22:47:35 *** downeym-mobile has quit IRC
22:58:14 *** bwolfe has joined #openmrs
22:58:14 *** ChanServ sets mode: +o bwolfe
22:59:06 *** bwolfe has quit IRC
22:59:26 *** bwolfe has joined #openmrs
22:59:26 *** ChanServ sets mode: +o bwolfe
23:39:23 *** astelmashenko has quit IRC
23:48:13 *** nribeka has quit IRC
23:49:30 *** nribeka has joined #openmrs
23:49:30 *** ChanServ sets mode: +v nribeka
23:57:45 *** nribeka has quit IRC
23:58:28 *** nribeka has joined #openmrs
23:58:28 *** ChanServ sets mode: +v nribeka