support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets

Veryant Knowledge Base
Home > All Categories > isCOBOL Server and Thin Client > With thin client is there a way to update and push changes to programs live (on the fly), without having to kill and restart the isCOBOL Server?
Question Title With thin client is there a way to update and push changes to programs live (on the fly), without having to kill and restart the isCOBOL Server?

The JVM keeps copies of the classes in a memory cache and generally does not reload them from disk even if the disk file is replaced.
However, the Application Server has several options for reloading programs if those programs were loaded from iscobol.code_prefix.

You configure this behavior by setting iscobol.code_prefix.reload.

The default value, iscobol.code_prefix.reload=1, will cause the Application Server to look at the date and time of each program before running it.
If the date and time don't match the cached program, the Application Server will reload the program automatically before running it, using C$UNLOAD in the background.

You can control this process manually by setting iscobol.code_prefix.reload=0. Then you can unload these cached programs in the Application Server panel or programmatically with C$UNLOAD, which will force the Application Server to reload them.
Only those you manually unload will be reloaded.

In the screen shot of the Application Panel below, the second line shows a program with a different date and time than the cached class.
You can unload this by selecting the line (click on it), and then clicking on "Unload Selected".

If you sent iscobol.code_prefix.reload=2, a call to C$UNLOAD (programmatically or through the Application Server panel) will unload all cached classes.
This can cause a performance slowdown for the next client that connects, because each program has to be loaded again.
The Application Panel will unload all classes instead of showing the screen above.

Note: that programs loaded from the CLASSPATH can't be unloaded and won't be reloaded until you restart the Application Server.

Authored by: Veryant Support This question has been viewed 8853 times so far.
Click Here to View all the questions in isCOBOL Server and Thin Client category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. In thin client mode how do I run a local external application like the Windows Calculator or Microsoft Excel?
  2. How do I set up isCOBOL Server (Application Server) and Thin Client?
  3. How do I capture client side errors when using a different look and feel (e.g. Nimbus)?
  4. How do I use Java Web Start to automatically download and launch the thin client?
  5. The COBOL program suddenly terminates on the server and leaves thin client running with a blank screen
  6. What are the Java version requirements on the client and server? Do they need to match?
  7. How can I get the system-information data from the client computer?
  8. How do I download files from server to client using isCOBOL Thin Client?
  9. How do I resolve the error 'Application Blocked by Java Security' working with jnlp?
  10. Is there a way to simulate users and load-test the thin client?
  11. The user name shown by the -panel is the PC Name. Is it possible have the user id of our application?
  12. How can I get the local username?
  13. Is there a way to distribute multiple client connections on different servers?
  14. What does the error "Software Incompatibility" mean?
Article Information Additional Information
Article Number: 48
Created: 2009-08-31 5:32 PM
Rating: 1 Star
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
Search Knowledge Base Search Knowledge Base


© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.