× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

On 12/28/2016 9:28 PM, midrange wrote:
Is there anything (within reason) one can do increase performance in
a java tool (email) which is called from RPGLE.

Not a java programmer.

All the emails are sent to an Exchange server in the same lan.

I have a few ideas here ...

1. I know you said you weren't a java programmer ... but is there any way you can have the java code reworked so that, instead of being invoked from a RPG program directly, it monitors a data queue for messages to be sent? That way the RPG program can just send a data queue entry, which the java program can pick up, and process. The Java process would run continuously just waiting for messages to be sent. The java startup penalty would only be incurred once. The RPG programs would have no performance penalty because the QSNDDTAQ call is native.

2. Check your DNS servers ... I've encountered issues where a bad DNS server effects Java code but doesn't cause problems with native operations. The specific situation I remember was where there were 3 DNS servers configured on the system. The first two worked fine, but the 3rd was decommissioned. For some reason Java was querying the 3rd server first and blocked until the connection timed out (20 seconds).


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 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.