I've got to example AIR14_03 in the book and am failing in:
65 AirEmail_send(airMessage:recipients);
I debugged into the service program and the SVAIREMAIL traps the error at:
400 CallTransportSendMethod(JNIEnv_P:sendClass:
401 sendID:argMsg:recipients);
402 if (Air_isJVMError());
403 displayString = 'TransportSend Error';
404 DSPLY displayString;
The job displays(I put the classes into /AIR/JAVA):
> call air14_03
Environment variable added.
DSPLY Java Version: 1.4.2
DSPLY Java ClassPath: .:/AIR/JAVA/Excel_POI/poi-3.0.2-FINA
DSPLY javax.mail.MessagingException: IOException while sen
DSPLY TransportSend Error
I'm guessing that some property has not been set correctly earlier in the code.
Earlier examples have compiled and run correctly, so I'm guessing that the error is something specific to this example.
I have no idea where I've gone wrong and am now interested in knowing how to find clues and resolve these problems by myself. The book is a little thin on how to self-manage this stuff and I'm a bit overwhelmed with detail at the moment.
I understand there are 3 files generated by the JVM: stdin, stdout and stderr.
Where do these files end up? Are they in the ifs? I've looked, but haven't stumbled across them.
And if I do find them, will stderr help?
The SVAIREMAIL service program also sets the debug property: Session_setDebug(svSession:svDebug);
But what is produced and where? I presume this setting enables the JAVAMAIL software to log information as it runs.
Thanks In Advance.
65 AirEmail_send(airMessage:recipients);
I debugged into the service program and the SVAIREMAIL traps the error at:
400 CallTransportSendMethod(JNIEnv_P:sendClass:
401 sendID:argMsg:recipients);
402 if (Air_isJVMError());
403 displayString = 'TransportSend Error';
404 DSPLY displayString;
The job displays(I put the classes into /AIR/JAVA):
> call air14_03
Environment variable added.
DSPLY Java Version: 1.4.2
DSPLY Java ClassPath: .:/AIR/JAVA/Excel_POI/poi-3.0.2-FINA
DSPLY javax.mail.MessagingException: IOException while sen
DSPLY TransportSend Error
I'm guessing that some property has not been set correctly earlier in the code.
Earlier examples have compiled and run correctly, so I'm guessing that the error is something specific to this example.
I have no idea where I've gone wrong and am now interested in knowing how to find clues and resolve these problems by myself. The book is a little thin on how to self-manage this stuff and I'm a bit overwhelmed with detail at the moment.
I understand there are 3 files generated by the JVM: stdin, stdout and stderr.
Where do these files end up? Are they in the ifs? I've looked, but haven't stumbled across them.
And if I do find them, will stderr help?
The SVAIREMAIL service program also sets the debug property: Session_setDebug(svSession:svDebug);
But what is produced and where? I presume this setting enables the JAVAMAIL software to log information as it runs.
Thanks In Advance.
Comment