freetodd
2006-08-09 18:54:30 UTC
I am trying to add Captcha images to our check out process in our
WebSphere commerce environment. I downloaded two different Captcha
applications and integrated them into our commerce environment.
Everything works fine when testing locally on my PC but when I deploy
the code to our development iSeries server, that is when the problems
start. Regardless of what Captcha application I use I get a
java.lang.VerifyError on this line of code:
JPEGImageEncoder jpegEncoder =
JPEGCodec.createJPEGEncoder(jpegOutputStream);
These classes come from the com.sun.image.codec.jpeg package. I tried
using a FileOutputStream and ByteArrayOutputStream and get the same
error. According to the API for VerifyError it is Thrown when the
"verifier" detects that a class file, though well formed, contains some
sort of internal inconsistency or security problem. I am new to the
iSeries world and can only guess this has to do with permissions or
security that the iSeries has and a Windows environment doesn't.
WebSphere commerce environment. I downloaded two different Captcha
applications and integrated them into our commerce environment.
Everything works fine when testing locally on my PC but when I deploy
the code to our development iSeries server, that is when the problems
start. Regardless of what Captcha application I use I get a
java.lang.VerifyError on this line of code:
JPEGImageEncoder jpegEncoder =
JPEGCodec.createJPEGEncoder(jpegOutputStream);
These classes come from the com.sun.image.codec.jpeg package. I tried
using a FileOutputStream and ByteArrayOutputStream and get the same
error. According to the API for VerifyError it is Thrown when the
"verifier" detects that a class file, though well formed, contains some
sort of internal inconsistency or security problem. I am new to the
iSeries world and can only guess this has to do with permissions or
security that the iSeries has and a Windows environment doesn't.