× 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.



Have some more data from the trace. What we do not understand is the "Failed to read all of the data stream header". It sounds like it is having trouble reading the pcml data.

Toolbox for Java - Open Source Software, JTOpen 4.9, codebase 5722-JC1 V5R4M0.1

Toolbox for Java - Open Source Software, JTOpen 4.9, codebase 5722-JC1 V5R4M0.1

Toolbox for Java - Open Source Software, JTOpen 4.9, codebase 5722-JC1 V5R4M0.1

Thu Jan 15 16:25:18 PST 2009 Writing data -- Offset: 0 Length: 11 Name: "PSHPINF.DELIVERYNO" Byte data: F0F0F0F0F0F1F5F1F8F2F2 Thread[OIS300,4,MvxSubs0]

Thu Jan 15 16:25:18 PST 2009 /QSYS.LIB/BSITST.LIB/PSHPINF.PGM PSHPINF.DELIVERYNO

Thu Jan 15 16:25:18 PST 2009 Offset : 0....... 4....... 8....... C....... 0....... 4....... 8....... C....... 0...4...8...C...0...4...8...C...

Thu Jan 15 16:25:18 PST 2009 0 : F0F0F0F0 F0F1F5F1 F8F2F2 *00000151822 *

Thu Jan 15 16:25:18 PST 2009 Writing data -- Offset: 0 Length: 10 Name: "PSHPINF.PACKAGENO" Byte data: 40404040F7F3F6F8F5F2 Thread[OIS300,4,MvxSubs0]

Thu Jan 15 16:25:18 PST 2009 /QSYS.LIB/BSITST.LIB/PSHPINF.PGM PSHPINF.PACKAGENO

Thu Jan 15 16:25:18 PST 2009 Offset : 0....... 4....... 8....... C....... 0....... 4....... 8....... C....... 0...4...8...C...0...4...8...C...

Thu Jan 15 16:25:18 PST 2009 0 : 40404040 F7F3F6F8 F5F2 * 736852 *

Thu Jan 15 16:25:18 PST 2009 Writing data -- Offset: 0 Length: 11 Name: "PSHPINF.TOTALPKGS" Byte data: F0F0F0F0F0F0F0F0F0F0F1 Thread[OIS300,4,MvxSubs0]

Thu Jan 15 16:25:18 PST 2009 /QSYS.LIB/BSITST.LIB/PSHPINF.PGM PSHPINF.TOTALPKGS

Thu Jan 15 16:25:18 PST 2009 Offset : 0....... 4....... 8....... C....... 0....... 4....... 8....... C....... 0...4...8...C...0...4...8...C...

Thu Jan 15 16:25:18 PST 2009 0 : F0F0F0F0 F0F0F0F0 F0F0F1 *00000000001 *

Thu Jan 15 16:25:18 PST 2009 Writing data -- Offset: 0 Length: 15 Name: "PSHPINF.USERID" Byte data: D4C9C3D2E8C2404040404040404040 Thread[OIS300,4,MvxSubs0]

Thu Jan 15 16:25:18 PST 2009 /QSYS.LIB/BSITST.LIB/PSHPINF.PGM PSHPINF.USERID

Thu Jan 15 16:25:18 PST 2009 Offset : 0....... 4....... 8....... C....... 0....... 4....... 8....... C....... 0...4...8...C...0...4...8...C...

Thu Jan 15 16:25:18 PST 2009 0 : D4C9C3D2 E8C24040 40404040 404040 *MICKYB *

Thu Jan 15 16:25:18 PST 2009 Writing data -- Offset: 0 Length: 50 Name: "PSHPINF.TRACKINGNO" Byte data: E3E2E3E781A2F4F0F04B81838385A2A24BC39695958583A3899695C499969797858440404040404040404040404040404040 Thread[OIS300,4,MvxSubs0]

Thu Jan 15 16:25:18 PST 2009 /QSYS.LIB/BSITST.LIB/PSHPINF.PGM PSHPINF.TRACKINGNO

Thu Jan 15 16:25:18 PST 2009 Offset : 0....... 4....... 8....... C....... 0....... 4....... 8....... C....... 0...4...8...C...0...4...8...C...

Thu Jan 15 16:25:18 PST 2009 0 : E3E2E3E7 81A2F4F0 F04B8183 8385A2A2 4BC39695 958583A3 899695C4 99969797 *TSTXas400.access.ConnectionDropp*

Thu Jan 15 16:25:18 PST 2009 20 : 85844040 40404040 40404040 40404040 4040 *ed *

Thu Jan 15 16:25:18 PST 2009 Writing data -- Offset: 0 Length: 1 Name: "PSHPINF.STATUSCODE" Byte data: 40 Thread[OIS300,4,MvxSubs0]

Thu Jan 15 16:25:18 PST 2009 /QSYS.LIB/BSITST.LIB/PSHPINF.PGM PSHPINF.STATUSCODE

Thu Jan 15 16:25:18 PST 2009 Offset : 0....... 4....... 8....... C....... 0....... 4....... 8....... C....... 0...4...8...C...0...4...8...C...

Thu Jan 15 16:25:18 PST 2009 0 : 40 * *

Thu Jan 15 16:25:18 PST 2009 Running program: /QSYS.LIB/BSITST.LIB/PSHPINF.PGM

Thu Jan 15 16:25:18 PST 2009 Remote implementation running program: BSITST/PSHPINF

Thu Jan 15 16:25:18 PST 2009 Request processed successfully.

Thu Jan 15 16:25:18 PST 2009 Failed to read all of the data stream header.

java.lang.Throwable

at java.lang.Throwable.<init>(Throwable.java:181)

at com.ibm.as400.access.Trace.logData(Trace.java:656)

at com.ibm.as400.access.Trace.log(Trace.java:718)

at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:48)

at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:321)

at java.lang.Thread.run(Thread.java:595)

Thu Jan 15 16:25:19 PST 2009 run(): Caught IOException:

com.ibm.as400.access.ConnectionDroppedException: Connection was dropped unexpectedly.

at java.lang.Throwable.<init>(Throwable.java:196)

at java.lang.Exception.<init>(Exception.java:41)

at java.io.IOException.<init>(IOException.java:40)

at com.ibm.as400.access.ConnectionDroppedException.<init>(ConnectionDroppedException.java:63)

at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:50)

at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:321)

at java.lang.Thread.run(Thread.java:595)

Thu Jan 15 16:25:19 PST 2009 receive(): Read daemon exception:

com.ibm.as400.access.ConnectionDroppedException: Connection was dropped unexpectedly.

at java.lang.Throwable.<init>(Throwable.java:196)

at java.lang.Exception.<init>(Exception.java:41)

at java.io.IOException.<init>(IOException.java:40)

at com.ibm.as400.access.ConnectionDroppedException.<init>(ConnectionDroppedException.java:63)

at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:50)

at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:321)

at java.lang.Thread.run(Thread.java:595)

Thu Jan 15 16:25:19 PST 2009 Lost connection to remote command server:

com.ibm.as400.access.ConnectionDroppedException: Connection was dropped unexpectedly.

at java.lang.Throwable.<init>(Throwable.java:196)

at java.lang.Exception.<init>(Exception.java:41)

at java.io.IOException.<init>(IOException.java:40)

at com.ibm.as400.access.ConnectionDroppedException.<init>(ConnectionDroppedException.java:63)

at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:50)

at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:321)

at java.lang.Thread.run(Thread.java:595)

com.ibm.as400.access.ConnectionDroppedException: Connection was dropped unexpectedly.

at java.lang.Throwable.<init>(Throwable.java:196)

at java.lang.Exception.<init>(Exception.java:41)

at java.io.IOException.<init>(IOException.java:40)

at com.ibm.as400.access.ConnectionDroppedException.<init>(ConnectionDroppedException.java:63)

at com.ibm.as400.access.ClientAccessDataStream.construct(ClientAccessDataStream.java:50)

at com.ibm.as400.access.AS400ThreadedServer.run(AS400ThreadedServer.java:321)

at java.lang.Thread.run(Thread.java:595)






Dave Murvin wrote:
Hello,

We are periodically getting the following pcml exception error when we call our RPGLE program from java:

pcml.callProgram("PSHPINF");

Exception 'com.ibm.as400.access.ConnectionDroppedException'

We are installing a new shipping software package and we get this error for one of the new carriers almost consistently, but the other carriers seem to work okay. When I manually run the PSHPINF program in debug, the parameters returned are correct.

Any idea on what can cause this exception?

We are in the process of running a trace, but we are not sure where the trace goes.

Thanks

Dave



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.