← Back to team overview

dhis2-devs team mailing list archive

Re: DHIS2 continues to bomb

 

On 12 September 2011 18:41, Morten Olav Hansen <mortenoh@xxxxxxxxx> wrote:
>> Only one war, only one corresponding directory
>
> Ok, tomcat seems to think that there should be jars/resource in the
> webapps/dhis2 directory, and you seem to be deploying as dhis.war,
> correct? and so, you have only a dhis directory.
>
> You should try and find the reference to webapps/dhis2 in your tomcat
> directory, since tomcat seems to be confused and is trying to startup
> an old deployed version of dhis (probably with the name dhis2.war).
> Tomcat usually creates a bunch of temporary files (not just in
> webapps), and these should be cleaned.

Morten I am sure this is the point - or at least a point - of misconfiguration.

The only other way tomcat should be looking for a dhis2 directory is
if Roger has at some stage been handcrafting a dhis2 context for this
rather than just deploying the war.  I suspect this is what the static
context part of the log message is about.  Roger did you ever do
something like this?

Mind you if that fails (as it does) I would imagine tomcat would
continue as normal, deploying dynamically the dhis.war.  Need to look
further down the log file more closely ...

> java.lang.IllegalArgumentException: Document base C:\Program
> Files\Apache Software Foundation\Tomcat 6.0\webapps\dhis2 does not
> exist or is not a readable directory
>
> --
> Morten
>
>> -----Original Message-----
>> From: Lars Helge Øverland [mailto:larshelge@xxxxxxxxx]
>> Sent: Monday, September 12, 2011 11:56 AM
>> To: Olav Poppe
>> Cc: Friedman, Roger (CDC/CGH/DGHA) (CTR); dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Subject: Re: [Dhis2-devs] DHIS2 continues to bomb
>>
>> Also can you confirm Morten's point about having multiple WARs in your
>> tomcat webapp folder?
>>
>> _______________________________________________
>> 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
>


References