Solved

Generating java core dump files in Websphere

Posted on 2009-04-14
3
2,499 Views
Last Modified: 2013-12-11
Will java core dump files be automatically generated by WebSphere or does they have to be generated manually?
Because, when i asked my Admin for core dump files, he said "The only javacore dumps I see on these servers are on v205 and dated a month back:"
 
-rw-r--r--   1 wsadmin  wsadm       1196396 Mar 13 15:44 javacore1269914.1236973438.txt
-rw-r--r--   1 wsadmin  wsadm       1196435 Mar 13 15:44 javacore1269914.1236973491.txt

Can't he generate them now?
0
Comment
Question by:srikanthradix
  • 2
3 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 24140470
Java core files will be generated under certain circumstances:

For example:
- Out of Memory condition
- Null Pointer Exception

You can also cause a Java core by "sending" an appropriate signal to the JVM.

For example:

http://www.IBM.com/support/docview.wss?rs=180&uid=swg21141514
0
 

Author Closing Comment

by:srikanthradix
ID: 31570011
Thanks for solution. Two questions:
1) kill -3 [PID]. Where PID is the process id of portal server. Will it kill the portal server?
2) ./dbxtrace_aix.sh -a [PID] > dbxtrace.out.   What does this do?
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 24141745
The "kill" command isn't well named.  It is really just sending a signal, which in the case of "-3" is a request to the JVM to create a javacore file, and continue executing.

So, no, it won't "kill" your Portal Server

Thanks for the  grade & points.

Good luck & have a great day

... I'll give you the 2 for 1 price today...  :-)

It is best though for you to open a new question.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now