• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reading a weblogic crash core using adb

 
Ranch Hand
Posts: 128
MS IE Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic