This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am new to weblogic and recently installed weblogic 9.x.
I have couple of questions: 1) How does the memory caching work in weblogic? - any data stored in static hashmap (declared at the class level) is not being refershed inspite of a fresh deployment of the application. The work around was that the weblogic server needs to be restarted to pick up the new values from the static data structure. Is there any setting to refresh data and avoid the server restart?
2) Whenever a database is shutdown, the weblogic datasources become stale. Is there a setting that automatically reactivates the datasources and the connection pool in weblogic without any manual intervention?
#1 is definately strange behavior. I have a number of web applications that do the same thing and I've never seen class-static data survive a redeploy. As for #2, there's various settings for the connection pool to allow the pool to test connections at creation, before being given to a requestor and when being returned to the pool. Have a look and see which would be useful in your application.