|
Hi Matt,Good morning, The link that you had provided explains everything, I guess it is the object leak.. I will try to change the program to free the objects that are not needed anymore..
As for the encryption...we have a different HSMs(Hardware security Module) that we use.. In the code that I had posted, I had actually stripped out most of the code that calls the custum bulit java methods...
Thank You verymuch for the link that you had provided... I feel JVM should be made more robust to handle this kind of object leaks...
VENKAT REDDY 7. RE: Error Calling Java Methods from RPGLE (Matt.Haas@xxxxxxxxxxx) message: 7 date: Thu, 19 Jan 2006 08:43:27 -0500 from: <Matt.Haas@xxxxxxxxxxx> subject: RE: Error Calling Java Methods from RPGLE This thread: http://archive.midrange.com/rpg400-l/200202/msg00206.html may be able to help you out. Also, you can do encryption and decryption in RPG using the CIPHER MI which is much faster than Java's methods. You need to have the Cryptographic Access Providers installed to do it. Scott Klement has an example of doing RC4 on his web site and there's an example of 128 bit AES in the archives (take a look at the entire thread since there's a bug in the posted code). The posted AES example doesn't use a salt value which is bad but that's easy to remedy and it also only handles one block (16 bytes) or clear text but that's also easy to remedy. Matt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.