File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Hotfix on iSeries JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Hotfix on iSeries JVM" Watch "Hotfix on iSeries JVM" New topic

Hotfix on iSeries JVM

Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
Hello all,

I've just finished writing my first bit of Java to run on the iSeries. Its a program that generates a PDF order confirmation and plops it on the IFS. It gets called from an RPG program that is part of a CGIDEV2 application. That was the easy bit. I've created some files with the compile options as well so people can make changes and then run a few simple QShell commands to rebuild the jar.

My problem is this, if we want to deploy a hotfix is there an equivalent of something like reclaiming activation groups? So far what I have found is that each job gets its own JVM instance which then loads in the classes it needs. As far as I know there is no way of unloading a class. One can end the JVM for a job but it appears that you can only start a JVM once for each job so its curtains once you end it.

The only thing I've found that works is ending all the jobs and creating new ones. Any other suggestions?
Walter Bernstein
Ranch Hand

Joined: Dec 19, 2007
Posts: 57
You can load and unload your classes with your own custom classloader.
Bryce Martin
Ranch Hand

Joined: Nov 19, 2007
Posts: 269
Thanks a lot for the help.
I agree. Here's the link:
subject: Hotfix on iSeries JVM
It's not a secret anymore!