Solved

Generating java core dump files in Websphere

Posted on 2009-04-14
3
2,510 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

810 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