Solved

Generating java core dump files in Websphere

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
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.…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

6 Experts available now in Live!

Get 1:1 Help Now