• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Crash recovery

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a websphere greenhorn running 4.02 on win2K, i have twice crashed the jvm and not been able to recover. It looks like the db2 instance is not restarting. Can someone point me to the recovery procedures for that situation?
Also being a greenhorn and the crash being on my own personal development environment I took the approach of uninstalling and reinstalling websphere. I am not sure why this is so difficult. In order to resinstall fixpack 2 I had to completely uninstall db2 ( it kept complaining that I could not install the fixpack as it was the wrong version even though I had reinstalled websphere). After reinstalling db2, fp6 for db2, websphere the install of fixpack 2 executed without any errors, but the help on the Administrators console indicated that version was still 4.0.1. I reinstaled the fix pack and it seemed to work the second time, but I am still having some probems verifying the system. Any good references for does and don'ts for these situations? A good site for websphere administration newbies?
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean "couldn't restart the JVM"? What error did it give you?
Kyle
 
Jeff Gaer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
websphere would not restart, the only message was in the event log, application error 10, neither log ( stderr, stdout) was updated. Db2 itseflt was not started and when I tried to restart db2 it gave me an error that it was unable to obtain a license ( sorry to paraphrase still at home).Reinstalling db2 elminated that error, but still left me unable to bring up websphere ( forget the error there), resintalling websphere left me unable to install fixpack 2 ( complained that fixpack 2 can only be installed on 4.01. Guessing that there was some state kept in the database I reinstalled db2 this time removing all the database files themselves, reinstalled websphere, fixpack2 installed but websphere was still at 4.01. After several passes thru this I said WTH, and tried to install the fixpack a second time, and wala, i was at 4.02. I guess my question is after a crash, if websphere doesn;t restart what steps should I take first, clearly removing the database is not an option on a production system.
The system had crashed because of bad java code in an application, basically someone wrote a recurssive call without an exit ( not me at least I know something about coding even if I am out to lunch on webpshere), and the stack overflowed in the JVM.
Thanks in advance for further help and thanks for the quick reply
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!