Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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: 24203
44
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: 24834
173
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.
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic