×
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.
today I run into a problem with ProgramCall.
I am using ProgramCall for long time, but this week I got an Exception I
never had before and after 2 days research I couldn't get further.
I switched to jt400 7.1 After going back to 6.6 this error still occurs.
It seems that some data is not correctly transfered back to the program
call.
the program which is called is running to the end. Also the output
parameters are set at the end of the program. but somehow my java client
does not get the correct data.
Is there anybody who can give me a hint to solve the problem?
, here ist the log:
Thread[AS400 Read Daemon
[system:192.168.2.250;job:833862/QUSER/QZRCSRVS],5,RMI Runtime] Mi Sep 15
16:09:10:921 CEST 2010 Incorrect data stream header detected.
40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
40 40 40 40
java.lang.Throwable
at com.ibm.as400.access.Trace.log(Trace.java:1017)
at com.ibm.as400.access.ClientAccessDataStream.construct(
ClientAccessDataStream.java:95)
at com.ibm.as400.access.AS400ThreadedServer.run(
AS400ThreadedServer.java:347)
at java.lang.Thread.run(Thread.java:595)
Thread[AS400 Read Daemon
[system:192.168.2.250;job:833862/QUSER/QZRCSRVS],5,RMI Runtime] Mi Sep 15
16:09:10:921 CEST 2010 run(): Caught RuntimeException:
com.ibm.as400.access.InternalErrorException: Data stream is not known.
at com.ibm.as400.access.ClientAccessDataStream.construct(
ClientAccessDataStream.java:121)
at com.ibm.as400.access.AS400ThreadedServer.run(
AS400ThreadedServer.java:347)
at java.lang.Thread.run(Thread.java:595)
Thread[AS400 Read Daemon
[system:192.168.2.250;job:833862/QUSER/QZRCSRVS],5,RMI Runtime] Mi Sep 15
16:09:10:937 CEST 2010 run(): Notifying threads after RuntimeException.
Thread[AS400 Read Daemon
[system:192.168.2.250;job:833862/QUSER/QZRCSRVS],5,RMI Runtime] Mi Sep 15
16:09:10:937 CEST 2010 run(): Threads notified after RuntimeException.
Code Snippet:
ProgramCall program = new ProgramCall(this.as400);
program.setProgram(caasObject.getPgmLib() +
parameters.get("ProgramLibrary") + caasObject.getProgramName());
program.setParameterList(this.createParameterList(parameterTypes,
parameters));
program.run();
thank you,
Andreas
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.