• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading a weblogic crash core using adb  RSS feed

 
Allen Bandela
Ranch Hand
Posts: 128
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know the syntax to use adb debugger
is
adb objectfile corefile

Now, our weblogic crashed and a core was produced in the domain directory> I'm not sure what to provide as the objectfile to adb. What would be the object file? weblogic.Server , one of the many class files?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you don't presumably don't have the source to the I9 JVM, it's pretty unlikely that this core file is going to do you any good. Any time a JVM crashes, it's a bug in the JVM, not your Java code. Report the bug, provide the core file if they ask for it.
 
Tim Holloway
Saloon Keeper
Posts: 18800
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I spent years mucking around in binary dumps. It builds character, but I don't recommend it. Especially when you're working with a JVM, since that adds a Java debug layer on top of the machine debug layer.

Since you don't have the source for either WebLogic or the JVM, the best you can do is ship a copy of the core file to the vendor if so directed. The core dump is the object code - what you'd normally attach is the source code. Which, as I said, you probably don't have.

Generally, the best you can do when this happens is find a different VM version - one that doesn't crash for you. The nature of JVM bugs is such that that's usually fairly easy to do.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!