← Back to team overview

dhis2-devs team mailing list archive

Re: Still having troubles after upgrade

 

> md5sum dhis.war [New downloaded 2.4]
> 4fb8f1d6ee5548b645f8f876609578f4  dhis.war
>
>
> md5sum /var/lib/tomcat6/webapps/dhis.war  [Old downloaded 2.4]
> e585b0214d55a0b9f33831d40969a653  /var/lib/tomcat6/webapps/dhis.war
>
> These files are different!!! Jesus how this happened?

This doesn't necessarily mean that there is something wrong with your
old WAR. We do from time to time update the war, and not the version.

Current version if from September 7th (2.4 stable (Sep 7)).

--
Morten

>
> I have placed the new war file. But no news. I stiil have this on logs:
> Oct 11, 2011 6:37:31 AM org.apache.velocity.runtime.log.JdkLogChute log
> SEVERE: #parse() null argument
> Oct 11, 2011 6:37:31 AM org.apache.velocity.runtime.log.JdkLogChute log
> INFO: Null reference [template
> '/dhis-web-maintenance-dataset/viewDataEntryForm.vm', line 133, column 103]
> : $dataEntryForm.id cannot be resolved.
> Oct 11, 2011 6:37:31 AM org.apache.velocity.runtime.log.JdkLogChute log
> INFO: Null reference [template
> '/dhis-web-maintenance-dataset/viewDataEntryForm.vm', line 133, column 124]
> : $dataEntryForm.name cannot be resolved.
>
> Thanks!
> Caveman
>
>
>
>
> On Tue, Oct 11, 2011 at 11:52 AM, Morten Olav Hansen <mortenoh@xxxxxxxxx>
> wrote:
>>
>> Could it be that your DHIS 2.4 download was interrupted during
>> download, and was corrupted? I would try and clean out webapps, and
>> delete your war, and then re-download.
>>
>> --
>> Morten
>>
>>
>>
>> 2011/10/11 Orvalho Augusto <orvaquim@xxxxxxxxx>:
>> > I have checked the permissions. Tomcat is run by tomcat6:tomcat6 user.
>> > And
>> > tomcat home is /var/lib/tomcat6 which has these permissions:
>> > drwxr-xr-x 24 tomcat6 tomcat6 4.0K 2011-10-10 03:48 .
>> > drwxrwxr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 ..
>> > -rw-r--r--  1 tomcat6 tomcat6  582 2011-09-07 16:41 accessDenied.vm
>> > -rw-r--r--  1 tomcat6 tomcat6 1.6K 2011-09-07 16:41 cacheManifest.vm
>> > -rw-r--r--  1 tomcat6 tomcat6  357 2011-09-07 16:41 content.vm
>> > drwxr-xr-x  5 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-caseentry
>> > drwxr-xr-x 18 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-commons
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-dashboard-integration
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-dataentry
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-datamart
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-importexport
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-light
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-dataadmin
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-datadictionary
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-dataset
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-organisationunit
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-patient
>> > drwxr-xr-x  2 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-settings
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-maintenance-user
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-mapping
>> > drwxr-xr-x  5 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-portal
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-reporting
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
>> > dhis-web-validationrule
>> > -rw-r--r--  1 tomcat6 tomcat6 1.7K 2011-09-07 16:41 error.html
>> > -rw-r--r--  1 tomcat6 tomcat6 2.6K 2011-09-07 16:41 exception.vm
>> > drwxr-xr-x  2 tomcat6 tomcat6 4.0K 2011-09-28 00:20 icons
>> > drwxr-xr-x  2 tomcat6 tomcat6 4.0K 2011-09-28 00:20 images
>> > -rw-r--r--  1 tomcat6 tomcat6 5.1K 2011-09-07 16:41 macros.vm
>> > -rw-r--r--  1 tomcat6 tomcat6 4.6K 2011-09-07 16:41 main.js
>> > -rw-r--r--  1 tomcat6 tomcat6  11K 2011-09-07 16:41 main.vm
>> > drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 META-INF
>> > -rw-r--r--  1 tomcat6 tomcat6 3.2K 2011-09-07 16:41 popup.vm
>> > -rw-r--r--  1 tomcat6 tomcat6 5.9K 2011-09-07 16:41 request.js
>> > -rw-r--r--  1 tomcat6 tomcat6  162 2011-09-07 16:41 settings.vm
>> > drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 WEB-INF
>> >
>> > The logs are being sent to /var/log/tomcat6/ which tomcat6 has
>> > permission to
>> > read and write.
>> >
>> > Check on the screenshot... The normal elements to help build the form
>> > are
>> > not there.
>> >
>> > Caveman
>> >
>> >
>> >
>> > 2011/10/11 Lars Helge Øverland <larshelge@xxxxxxxxx>
>> >>
>> >> Hi Orvalho,
>> >>
>> >> it seems you are starting DHIS from a location on the file system
>> >> where you don't have write access. Try starting from your home
>> >> directory.
>> >>
>> >> Lars
>> >>
>> >>
>> >> > The logs says  just this:
>> >> > java.io.FileNotFoundException: velocity.log (Permission denied)
>> >> > Caused by: java.io.FileNotFoundException: velocity.log (Permission
>> >> > denied)
>> >> >
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~dhis2-devs
>> > Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>
>


References