File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hotfix on iSeries JVM

 
Bryce Martin
Ranch Hand
Posts: 269
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks
 
Walter Bernstein
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can load and unload your classes with your own custom classloader.
 
Bryce Martin
Ranch Hand
Posts: 269
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic