|
The server team says the error sounds like the job is running out of heap space. The server job is trying to realloc the comm buffer in order to receive data from the client. The realloc fails so they punt (end the connection). Calling service is probably your next step. David Wall Toolbox for Java iSeries ODBC Driver for Linux David Gibbs <dgibbs@mks.com> To: "'JAVA400 List'" <JAVA400-L@midrange.com> Sent by: cc: java400-l-admin@m Subject: CPIAD07 error during CommandCall idrange.com 04/03/2002 04:38 PM Please respond to java400-l Hi! I've got a java program running on a PC that is executing a command on the 400 using CommandCall. Sometimes, the QZRCSRVS job on the 400 fails when the command is over with a CPIAD07 diagnostic message that indicates that the "Host server error occurred with reason code 10". Reason code 10 is "Reallocation of server buffer failed. ". When this command is run, two different sets of code can execute depending on a system application configuration setting. Both sets of code are in different service programs. One set of code, the set that works fine, is invoking straight RPG (OPM) programs. The other, the failing set, is invoking RPG procedures (ILE) that does (among other things) TCP/IP communications. Our PC application fails with a "com.ibm.as400.access.ConnectionDroppedException: Connection was dropped unexpectedly." error. This seems to happen regardless of what OS level we run on (it's been tested on V4R3 and V5R1). A search of the APAR database & Google return little result. Any ideas what might be causing the CPIAD07? Thanks! david -- David Gibbs Sr. Software Engineer / R&D / MKS Inc., www.mks.com Lombard, IL, USA; tel: 630-495-2108; fax: 630-495-3591 Build Better Software _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
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.