Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Class in not updated in WAS 6

Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We have a very strange issue. All the time when we have a change that affects only one or two classes in our application we do a manual deploy. Basically, we copy the compiled classes into WebSphere deployment directory and restart the server. We never had any issues before. Last week we did the same thing for one class, lets say A. However, after we restarted the server, we didn't see a change. Checked the time stamp of the file, size, permissions - everything looked good. We removed the file, and restarted the server. The server didn't start complaining that it could not find the class A. Copied file again, restarted. Still - no change... Old information is show on the site. Restarted WAS with Verbose class loading enabled. Checked the path from there the file is loaded - it's correct. Not really sure what is going on. Have anybody had something similar ?

I really appreciate any help or suggestions!
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are trying to hack into the deployment structure of WebSphere by copying the classes from behind the scenes.

If you want to continue this path then should stop the server and delete the contents of wstemp and temp folder under your profile folder. It will then pick your changes.
This is my favorite tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!