DHIS2 continues to bomb

OK, the list of files under Tomcat 6.0 containing the text DHIS2 is attached. I cleared out DHIS directories from Tomcat 6.0\ in

– conf\Catalina\localhost

– work\Catalina\localhost

– webapps (+dhis.war)

I started Tomcat and Tomcat Manager and deployed DHIS2.war (version 2.3 renamed). Memory usage went up to 1.95G (of 3.8 available). Appeared to be successfully deployed. However, tried link to dhis2 and got the same message. Logs attached.

image

stdout_20110912.log (22.4 KB)

catalina.2011-09-12.log (11.1 KB)

localhost.2011-09-12.log (8.08 KB)

hibernate.properties (289 Bytes)

Hi,

I might have missed something here, but it does look fairly obvious that you are running openmrs in this tomcat instance?

If it is actually the case that you are running with pergen space of 1024m, that shouldn't be enough to fill up perm gen, but I see
things like "The duplicate definition has been ignored." suggesting that this instance is not being taken fully down on restart or that the same app is being loaded multiple times (typically filling up permgen)..

I think I would just suggest reinstalling a clean tomcat, remove everything in the webapps directory, add dhis2.war there and startup cleanly. I don't know how easy that is on windows, though..

Jo

OK, the list of files under Tomcat 6.0 containing the text DHIS2 is
attached. I cleared out DHIS directories from Tomcat 6.0\ in

-- conf\Catalina\localhost

-- work\Catalina\localhost

-- webapps (+dhis.war)

I started Tomcat and Tomcat Manager and deployed DHIS2.war (version 2.3
renamed).

So you used Tomcat Manager to deploy? Depending how you did that, you
might well have ended up digging one of those holes in the ground you
refer to, by inadvertently configuring a context at /dhis2 :slight_smile:

It's best to avoid the manager unless you know what you are doing -
and perhaps even then.

I'm not sure offhand where tomcat stores all its custom context
descriptor files, but my advice would be, if you can't find and remove
these, to simply start all over. That means unpack a virgin, fresh
tomcat and place your dhis.war into the webapps directory. And indeed
an openmrs one if you need. No manager. Then make sure your java
options are set properly in your startup script, then all should be
well.

···

On 12 September 2011 20:45, <r.friedman@mindspring.com> wrote:

Memory usage went up to 1.95G (of 3.8 available). Appeared to be
successfully deployed. However, tried link to dhis2 and got the same
message. Logs attached.

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help