← Back to team overview

dhis2-devs team mailing list archive

Re: Still having troubles after upgrade

 

Sometimes one also needs to clean out Tomcat's work directory

On Tue, Oct 11, 2011 at 1:15 PM, Orvalho Augusto <orvaquim@xxxxxxxxx> wrote:
> I did that.
>
> Stop tomcat. Remove dhis.war and dhis directory.
>
> Caveman
>
> On Tue, Oct 11, 2011 at 1:13 PM, Jason Pickering
> <jason.p.pickering@xxxxxxxxx> wrote:
>>
>> Be sure tomcat is dead as well before you clean out the webapps directory.
>>
>> On Oct 11, 2011 11:53 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
>>> >
>>> >
>>>
>>> _______________________________________________
>>> 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
>
>
> _______________________________________________
> 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
>
>



-- 
Knut Staring
Informatics, U. of Oslo
http://hisp.uio.no
+4791880522


Follow ups

References