IRC Chat : 2012-02-18 - OpenMRS

01:28:55 *** wyclif has quit IRC
02:49:44 *** deadpool has quit IRC
03:06:32 *** Nehil has joined #openmrs
03:08:44 *** Nehil has quit IRC
03:44:23 *** wyclif has joined #openmrs
06:34:19 *** bryq has joined #openmrs
06:34:19 *** ChanServ sets mode: +v bryq
07:45:57 *** bryq has quit IRC
11:21:44 *** rafa has joined #openmrs
11:21:44 *** ChanServ sets mode: +v rafa
13:10:48 *** kishoreyekkanti has joined #openmrs
13:36:29 *** rafa has quit IRC
14:06:13 *** kishoreyekkanti has quit IRC
15:04:04 *** Tobin_ has joined #openmrs
15:04:57 *** Tobin_ has left #openmrs
16:01:54 *** mvorobey has joined #openmrs
16:02:04 <mvorobey> hi all
16:50:35 *** catchmrbharath has joined #openmrs
16:51:28 <catchmrbharath> hi. I am having problems running the app in eclipse
16:51:33 <catchmrbharath> it says contextDAO is null
16:52:27 <catchmrbharath> can somebody help me?
16:52:35 <mvorobey> hi catchmrbharath
16:52:56 <catchmrbharath> hi @mvorobey
16:53:17 <catchmrbharath> do you have any idea why I am getting the error?
16:53:57 <mvorobey> yes, I do. The first thing I woild advice you to do is to try restart app
16:54:52 <catchmrbharath> yeah I did that
16:54:57 <catchmrbharath> I ran it again multiple times
16:55:05 <mvorobey> catchmrbharath: ok
16:55:13 <catchmrbharath> can I know what the error is generally associated with?
16:55:39 <mvorobey> have you tried to run app from command line?
16:56:09 <catchmrbharath> nope
16:56:20 <catchmrbharath> I was getting the development working on eclipse
16:56:20 <mvorobey> can you try it?
16:57:01 <catchmrbharath> how do I run from the command line?
16:58:41 <mvorobey> go to openmrs root folder (it's where base pom.xml) and type mvn cargo:run
16:58:55 <catchmrbharath> k
17:01:56 <mvorobey> catchmrbharath: sorry, cd to webapp folder and type mvn jetty:run
17:02:13 <catchmrbharath> I dont think I have maven installed. and my repositary site is down. will try running it when I can download
17:02:20 <catchmrbharath> yeah I went to webapp and did it
17:05:39 <mvorobey> catchmrbharath: basically, I think that such error happens because context DAO does not manage to initialize itself before it will be being invoked
17:09:58 <mvorobey> catchmrbharath: I've had this error couple of times, but nevertheless, application worked fine for me and I was able to go to http://localhost:8080/openmrs
17:12:39 <catchmrbharath> oh ok
17:12:42 <catchmrbharath> will check
17:15:20 <catchmrbharath> the tomcat server seems to be running but it cannot find http://localhost:8080/openmrs.
17:15:24 <catchmrbharath> I am getting an 404
17:16:50 <catchmrbharath> looks like the address is already in use
17:18:02 <mvorobey> catchmrbharath: please, tell me the way how you are doing things to get openmrs app launched
17:20:45 <mvorobey> catchmrbharath: I told you all these things assuming that you have already read this corresponding wiki page about how to easily build and run OpenMRS web app from eclipse with maven plugin, but if you did not read it yet, then this link will be useful for you https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+In+Eclipse
17:20:46 <OpenMRSBot> <http://ln-s.net/8c8D> (at wiki.openmrs.org)
17:20:47 <catchmrbharath> I downloaded the svn source to eclipse. I clean built it using eclipse. then I did a maven build using jetty:run as the goal
17:22:20 <mvorobey> catchmrbharath: did you use maven plugin to build app or just used eclipse tool?
17:24:21 <catchmrbharath> the maven plugin I think
17:24:57 <catchmrbharath> I used maven build, that is the same as using the plugin right?
17:25:16 <mvorobey> catchmrbharath: yep
17:26:09 <catchmrbharath> I am rebuilding the both openmrs and app
17:26:19 <catchmrbharath> will see whether it will work now
17:26:45 <mvorobey> <catchmrbharath: ok
17:26:48 <catchmrbharath> Will there be a problem if I am running lamp server on localhost:8000?
17:27:48 <mvorobey> catchmrbharath: I don't think that it can make a problem
17:27:59 <catchmrbharath> oh thanks
17:28:15 <catchmrbharath> hopefully it will run after rebuilding
17:29:33 <mvorobey> catchmrbharath: internal Jetty server that we use to deploy openmrs webapp onto uses 8080 by default
17:30:14 <mvorobey> catchmrbharath: will be AFK fo 10 min
17:34:08 <catchmrbharath> yeah
17:35:11 <catchmrbharath> I think it will take a decent amount of time to run the tests.
17:38:59 <catchmrbharath> mvorobey: I think I found out why its happening. I am getting a java bind exception (address already in use)
17:39:41 *** djazayeri1 has joined #openmrs
17:40:26 <catchmrbharath> though netstat -ao says that I am not using the port.
17:41:31 *** djazayeri has quit IRC
17:41:39 <mvorobey> catchmrbharath: strangely
17:42:43 <mvorobey> catchmrbharath: firstly, you can disable test phase by passing -DskipTests parameter as argument when building your app
17:45:28 <catchmrbharath> yeah went through some irc logs and found the answer
17:45:48 <catchmrbharath> I used -Djetty.port = 9999 and it started working
17:45:52 <mvorobey> catchmrbharath: thatis good
17:45:58 <catchmrbharath> thanks mvorobey for helping
17:47:46 <mvorobey> catchmrbharath: you're welcome, thanks for join to openmrs community :)
17:51:30 <mvorobey> catchmrbharath: if you will have any further questions just hang out on IRC or post them to our dev mailing list
17:53:31 <catchmrbharath> yeah sure, thanks
17:53:38 <catchmrbharath> mostly will hang out in the irc
17:53:51 <catchmrbharath> I am also on the dev mailing list
17:54:53 <mvorobey> catchmrbharath: good, keep it up ;)
18:04:31 *** kishoreyekkanti has joined #openmrs
18:22:36 *** satyag has joined #openmrs
18:25:50 <catchmrbharath> @mvorobey After I setup the database, when I try to reach localhost:9999 I get an error saying no context handles this request
18:34:56 *** satyag has quit IRC
18:44:52 *** rafa has joined #openmrs
18:44:52 *** ChanServ sets mode: +v rafa
19:03:51 *** dkayiwa has joined #openmrs
19:05:20 <catchmrbharath> I get an error saying :There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: null Error while trying to update to the latest database version
19:05:54 <catchmrbharath> and I am not able to access localhost:9999
19:06:12 <catchmrbharath> any idea why?
19:06:21 <mvorobey> catchmrbharath: yes
19:06:50 <mvorobey> catchmrbharath: let me think over it
19:13:47 <mvorobey> catchmrbharath: I just noticed that this bug was already reported (see !ticket TRUNK-3060) and has been fixed by dkayiwa, so, just do svn update and then mvn clean install
19:14:02 <mvorobey> !ticket TRUNK-3060
19:14:03 <OpenMRSBot> mvorobey: [#TRUNK-3060] Database setup wizard fails to complete - OpenMRS JIRA - https://tickets.openmrs.org/browse/TRUNK-3060
19:15:39 <catchmrbharath> yeah
19:32:40 <catchmrbharath> atlast got everything working . Thanks again mvorobey
19:35:26 <mvorobey> catchmrbharath: you're welcome :) glad to hear that and one more time thanks for joining openmrs community! :)
19:38:28 *** kishoreyekkanti has left #openmrs
19:43:46 *** catchmrbharath has quit IRC
19:44:46 *** djazayeri1 has quit IRC
19:56:43 *** aashishmittal has joined #openmrs
20:09:00 *** mvorobey has quit IRC
20:22:23 *** dkayiwa has quit IRC
20:28:37 *** harshadura has joined #openmrs
20:59:04 *** aashishmittal has quit IRC
21:06:49 *** Juano has joined #openmrs
21:07:00 <Juano> hi
21:07:49 <Juano> hello?
21:08:44 <Juano> Hello friends. I'm from chile, and joined the development team and CEIS OpenSystem UFRO, Temuco, I tried to connect OpenMRS 1.9 (beta) with postgresql, but I have trouble with liquid ... Postgres drivers are installed, but still I have not had a positive result. Can anyone help me connect to postgresql correctly?. g
21:09:09 <Juano> in the next branch was supposedly fixed the problem, dated February 10 (7 days ago), https://source.openmrs.org/changelog/OpenMRS/?cs=25789 ... but how to implement this solution in my OpenMRS 1.9 beta version downloaded from sourceforge.net.?
21:14:27 *** rafa has quit IRC
21:15:23 <Juano> =(
21:15:32 <harshadura> hi
21:15:45 <Juano> =)
21:15:47 <Juano> hi
21:16:01 <Juano> i need help...
21:16:51 <harshadura> sorry I am not expertize in Postgresql. some senior developer will help you asap. await
21:25:44 <Juano> thanks =)
22:19:13 *** bryq has joined #openmrs
22:19:13 *** ChanServ sets mode: +v bryq
22:19:30 *** burke has joined #openmrs
22:19:30 *** ChanServ sets mode: +o burke
22:27:11 <Juano> hi world
22:29:48 *** harshadura has quit IRC
22:31:41 *** Juano has quit IRC
22:34:46 *** bryq has quit IRC
23:55:57 *** burke is now known as burke_away
23:57:46 *** burke_away is now known as burke