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



Are you using JT400 or JTOPEN?

There's a keep-alive heartbeat on the socket you can set before you open
the connection. Use the setSocketProperties on your AS400 instance
before you connect to change some of the timeout attributes. Your
carrier is either not communicating fast enough or, more likely, is
eating the keep-alive packets. I've seen this in some sniffers in the
past. They're trying to monitor the traffic to ensure good service and
are using the same packet id's the socket is trying to use or some such
nonsense. Anyway, they wind up capturing the keep-alive packets and not
forwarding them. Talk to your carrier about this. You can turn off
keep-alive all together, but then you'll never know if a connection was
actually dropped.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Murvin
Sent: Thursday, January 15, 2009 5:06 PM
To: java400-l@xxxxxxxxxxxx
Subject: pcml program call error

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


--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx 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 thread ...

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.