Solved

Generating java core dump files in Websphere

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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