Do they mean the FedEx server socket always listens on port 1?
This is from infocenter. It lists the ports used by the various host
servers. Your PCML should be started on the Remote command and program
call server port, 8475, though it might be different if you've done
something to change it. All of these ports have passive sockets
listening and may have multiple active socket connections across the
same port.
The following table shows the initial service table entries provided for
the optimized servers and server mapper that use sockets over TCP
communication support. Port numbers for host servers and server mapper:
Service name Description Port number 
as-central Central server 8470 
as-database Database server 8471 
as-dtaq Data queue server 8472 
as-file File server 8473 
as-netprt Network print server 8474 
as-rmtcmd Remote command and program call server 8475 
as-signon Signon server 8476 
as-svrmap Server mapper 449 
drda DDM 446 
as-admin-http HTTP administration 2001 
as-mtgctrlj Management central 5544 
as-mtgctrl Management central 5555 
telnet Telnet server 23 
as-edrsql QXDAEDRSQL server 4402 
The following table shows port numbers for host servers and daemons that
use Secure Sockets Layer (SSL):
Service name Description Port Number 
as-central-s Secure central server 9470 
as-database-s Secure database server 9471 
as-dtaq-s Secure data queue server 9472 
as-file-s Secure file server 9473 
as-netprt-s Secure network print server 9474 
as-rmtcmd-s Secure remote command/ Program call server 9475 
as-signon-s Secure signon server 9476 
ddm-ssl DDM 448 
as-admin-https HTTP administration 2010 
as-mgtctrlj Management central 5544 
as-mgtctrl-ss Management central 5566 
as-mgtctrl-cs Management central 5577 
Telnet-ssl Telnet server 992 
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Murvin
Sent: Friday, January 16, 2009 5:55 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: pcml program call error
What we now think is happening is that there is a conflict in socket
calls between two vendor applications and possibly the pcml.  What we
think is happening is that the ERP system calls the PSHPINF program
using pcml from a Java application, the PSHPINF program uses ERP Vendor
supplied socket communications APIs to talk to the ERP system, then
calls the Shipping system RPGLE programs directly.  The Shipping system
uses sockets to talk to the Windows FedEx server.  We believe that the
Shipping system socket connection to the FedEx server is killing our 
previous socket connection(s) somehow.    In a note from the Shipping 
system vendor, they said that the call to the FedEx server always uses
socket 1.  I don't know what this means at this time nor do I know what
the ERP system vendor sockets or the pcml sockets are using.  Are socket
connections involved with Java pcml program calls?
Thanks
Dave
Dave Murvin wrote:
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(ClientAccessData
Stream.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.
  
--
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.