While I was installing openmrs with Tomcat 7 , a new problem has occured . The error is "There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::201103112152::suho: Reason: liquibase-update-to-latest.xml : Empty result set, expected one row : Caused By: Precondition Error Error while trying to update to the latest database version "
The log of Apache Tomcat 7 , produced by Netbeans is http://pastebin.com/35Yzb3Yq . On Fri, Sep 2, 2011 at 2:26 AM, Gaurav Chugh <[email protected]> wrote: > Thank you Saptarishi , the windows installation worked :) . I replaced > open-jdk with sun-jdk6 , still the ubuntu installation has the same issue , > I will look at it later sometime , as I can work in windows for now. > > > On Fri, Sep 2, 2011 at 12:39 AM, Saptarshi Purkayastha > <[email protected]>wrote: > >> Hi Gaurav, >> >> From the pastebin for openmrs-webapp... it looks that it has been >> built successfully. You can move the war file to Openmrs and tomcat should >> be able to deploy it fine... >> >> So, to summarize, the errors you were facing were because of change >> jvm.vendor >> in >> JDK7<http://sunnytalkstech.blogspot.com/2011/08/maven-dependency-for-toolsjar-in-jdk7.html>and >> later a bug in JDK7... while in Ubuntu because of openjdk. >> >> --- >> Regards, >> Saptarshi PURKAYASTHA >> >> My Tech Blog: http://sunnytalkstech.blogspot.com >> You Live by CHOICE, Not by CHANCE >> >> >> On 1 September 2011 22:57, Gaurav Chugh <[email protected]> wrote: >> >>> I am sorry , for suddenly going offline from irc yesterday . >>> I have installed jdk6 , openmrs-api and openmrs-web modules are now free >>> from errors . But , the openmrs-webapp module still has some errors . >>> I have taken the output of following operations :- >>> >>> - Clean and build - OpenMrs project , http://pastebin.com/8vzPxcP0 >>> - Clean and build - openmrs-webapp module , >>> http://pastebin.com/CBigg9mr >>> >>> >>> On Thu, Sep 1, 2011 at 2:03 AM, Saptarshi Purkayastha >>> <[email protected]>wrote: >>> >>>> For some reason the dev list emails take long to be transmitted. >>>> although I've replied, we can help you out quickly if u come to the IRC >>>> >>>> I can walk u through the setup of building openmrs on Netbeans >>>> >>>> --- >>>> Regards, >>>> Saptarshi PURKAYASTHA >>>> >>>> My Tech Blog: http://sunnytalkstech.blogspot.com >>>> You Live by CHOICE, Not by CHANCE >>>> >>>> >>>> On 1 September 2011 01:54, Saptarshi Purkayastha <[email protected]>wrote: >>>> >>>>> At what step do you get the error?? >>>>> From your pastebin, I can see that an incorrect maven command is being >>>>> sent... are u running "*Clean and Build*" by right clicking on the >>>>> maven project?? >>>>> >>>>> --- >>>>> Regards, >>>>> Saptarshi PURKAYASTHA >>>>> >>>>> My Tech Blog: http://sunnytalkstech.blogspot.com >>>>> You Live by CHOICE, Not by CHANCE >>>>> >>>>> >>>>> On 1 September 2011 01:42, Gaurav Chugh <[email protected]> wrote: >>>>> >>>>>> I did a start-over to setup Netbeans , but again I was confronted by >>>>>> the same errors . I am following the openmrs guide to setup (link - >>>>>> https://wiki.openmrs.org/display/docs/Using+Maven+in+Netbeans ) . >>>>>> >>>>>> The output produced on following the steps is as follows :- >>>>>> >>>>>> - Build openmrs-api , http://pastebin.com/ekSyDyAt >>>>>> - Build openmrs-web , http://pastebin.com/h9gpMnz3 >>>>>> - Build openmrs-webapp , http://pastebin.com/YnLbgLdg >>>>>> - Clean and build openmrs-api , http://pastebin.com/pvtguWUT >>>>>> - Clean and build openmrs-web , http://pastebin.com/j063Pmua >>>>>> - Run openmrs-webapp , http://pastebin.com/A5j5zCQw >>>>>> >>>>>> I have tried the same procedure on different OS (Windows/Ubuntu) , but >>>>>> got the same errors . >>>>>> >>>>>> On Tue, Aug 30, 2011 at 2:37 AM, Saptarshi Purkayastha < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Are you doing a "Clean and Build" on the top-level OpenMRS project?? >>>>>>> I dont think the maven-site-plugin is required for that... >>>>>>> >>>>>>> --- >>>>>>> Regards, >>>>>>> Saptarshi PURKAYASTHA >>>>>>> >>>>>>> My Tech Blog: http://sunnytalkstech.blogspot.com >>>>>>> You Live by CHOICE, Not by CHANCE >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 30 August 2011 02:28, Gaurav Chugh <[email protected]> wrote: >>>>>>> >>>>>>>> I am trying to setup Netbeans , but it gives an error when I build >>>>>>>> the openmrs-webapp . I am following the wiki page for instructions - >>>>>>>> https://wiki.openmrs.org/display/docs/Using+Maven+in+Netbeans . >>>>>>>> I am unable to get all the dependencies into the local maven >>>>>>>> repository , for openmrs-api and openmrs-web , it shows "some >>>>>>>> dependency >>>>>>>> artifacts are not in the local repository " . >>>>>>>> >>>>>>>> When I build openmrs-webapp , the following error is produced - >>>>>>>> >>>>>>>> Error building POM (may not be this project's POM). >>>>>>>>> Project ID: org.apache.maven.plugins:maven-site-plugin >>>>>>>>> Reason: POM 'org.apache.maven.plugins:maven-site-plugin' not found >>>>>>>>> in repository: Unable to download the artifact from any repository >>>>>>>>> org.apache.maven.plugins:maven-site-plugin:pom:2.1 >>>>>>>>> from the specified remote repositories: >>>>>>>>> central (http://repo1.maven.org/maven2), >>>>>>>>> openmrs-repo ( >>>>>>>>> http://mavenrepo.openmrs.org/nexus/content/repositories/public) >>>>>>>>> for project org.apache.maven.plugins:maven-site-plugin >>>>>>>> >>>>>>>> >>>>>>>> Complete output is - http://pastebin.com/dUFXEuud . >>>>>>>> >>>>>>>> What should I do ? >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards , >>>>>>>> Gaurav >>>>>>>> >>>>>>>> >>>>>>> ------------------------------ >>>>>>> Click here to >>>>>>> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l> >>>>>>> from >>>>>>> OpenMRS Developers' mailing list >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards , >>>>>> Gaurav >>>>>> >>>>> >>>>> >>>> >>> >>> >>> -- >>> Regards , >>> Gaurav >>> >> >> ------------------------------ >> Click here to >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from >> OpenMRS Developers' mailing list >> > > > > -- > Regards , > Gaurav > > -- Regards , Gaurav _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

