SimpleSolid
SimpleSolid

Reputation: 21

How to disable all dumps in IBM Rational® Application Developer (RAD) for WebSphere® v 8.0.1 for Windows 7

I'd like to disable all types of system/core dumps when my web-app crashes.

The dumpfiles I am talking about end up in IBM/SDP/runtimes/base_v7/profiles/WTE_APPSRV71/bin/ as 500mb+ .dmp files named thusly:

core.{yyyymmdd}.{hhmmss}.{4-digits}.0001.dmp

Upvotes: 0

Views: 2607

Answers (2)

SimpleSolid
SimpleSolid

Reputation: 21

I was able to disable the dumps by adding the following line to my eclipse.ini file:

-Xdump:none

Upvotes: 2

BradT
BradT

Reputation: 509

I haven't tried this, but here's a possibility

I'm assuming you are wanting to disable WAS 7 .dmp files.

from the AppServer\java\bin directory command-line run

java -Xdump:what

This shows that .dmp files are created when certain types of events occur

-Xdump:system:
    events=gpf+abort+traceassert,
    label=P:\IBM\WebSphere\AppServer\java\bin\core.%Y%m%d.%H%M%S.%pid.%seq.dmp,
    range=1..0,
    priority=999,
    request=serial

It's for an older jvm version, but see this infocenter page for what these mean.

You should be able to disable from the WAS solutions console. Mine is http://localhost:10042/ibm/console but I run WebSphere Portal on WAS - your port may be different.

Login and go to Servers/Server Types/WebSphere Application Servers//Process definition/Java Virtaul Machine page.

Add the -Xdump:system:... settings you wish to the existing arguments being careful not to mess up the existing syntax. Depending on what is causing the crash you could remove that from the events= portion. Probably gpf is the cause. You can look at line 1TISIGINFO in the .txt files that accompany the .dmp files. I have a few that say Dump Event "gpf".

You may be able to set these settings on the WAS server properties in RAD as well but I couldn't find anything there.

Of course, you are just covering up the problem by doing this, but at least you will not have to endure the .dmp file writing while you are trying to find the problem.

Upvotes: 0

Related Questions