> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 2:50 PM
> To: Van Duser, Brad
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: TCPIP Sockets Under Perl 5.8.0
> 
> 
> 
> Brad Van Duser reported:
> 
> !Ah, you got me farther along...even though the line:
> !
> ! $browser->send($asc) or die $@;
> !
> !appears to be writing to the socket connection and not dying on me,
> nothing
> !is ever received by the target web server.  I tried both EBCDIC and
> !ASCII-based web servers as targets.  I also tried writing 
> converted and
> !unconverted strings by removing the call to iconv.  In no 
> case did I ever
> !get even so much as a blip in the web server log.
> !
> !My guess is that either the write to the socket failed early 
> on and/or the
> !TCPIP packet was malformed enough that the stack could not 
> deliver it.  My
> !next stop is to ask our TCPIP support fellow to run a packet 
> trace and see
> !if the packet ever left our mainframe system's OSA card (the 
> NIC). If it
> did
> !I need to see if the packet is formed properly and if it 
> didn't leave the
> !box then we have a very low-level TCPIP issue with our Perl 
> 5.8.0 build.
> 
> One way to test the hypothesis that little to no web browser
> type traffic is getting out of the mainframe would be to run
> another client program.  A typical ftp client on Unix should
> be able to take arguments like:
> 
>    ftp <server.name.com> <servic port number>
> 
> So while logged into USS on the mainframe run:
> 
>    ftp ourinternal_server.eds.com 80
> 
> You should see some messages scroll by then you should be
> able to type the HTTP request.  Something like:
> 
>    GET /
> 
> should be able to retrieve the index.html in the server's
> document root.  If you do not see messages on the server
> port or if a simple "GET /" does not work that might indicate
> trouble with outbound tcp/ip requests from the main frame.


I think you are asking me to test our outbound TCPIP connectivity with the
FTP command.  We have been testing z/OS 1.2 for several months and our TCPIP
connectivity works well from within USS.  I just tried using telnet on port
80 to pull back a web page and it worked.


> 
> !This is so odd since we had over 97% of the test suite passing...I am
> !beginning to wonder about the quality of the tests that are 
> running and
> !whether they are actually running properly on EBCDIC-based 
> systems or not.
> 
> It is actually difficult and controversial to write regression tests
> that actually do any network traffic.  There may be a few in the
> perl regression tests, but they do things like pwent.t does which is
> to try to make sense out of gethostbyaddr() calls to IP addresses like
> "127.0.0.1".  Bear in mind that you do not want test failure 
> indications
> on computers that have no network connection.  Bear in mind that
> pinging or accessing certain servers can be difficult/impossible from
> a machine behind a firewall.  Bear in mind that a central registry
> of successful tests has a big-brother-esque controversy 
> surrounding it.
> In a nutshell you would need to carry out the necessary network tests.
> 

Hmmm, I had not thought about all these testing issues.  Basically we our
performing our own test suite by using the scripts like the one I pasted
into my original post.  Since our other TCPIP connectivity works fine from
within USS (FTP client and server, web server, telnet, Perl 5.6.1 scripts,
others) and only the Perl 5.8.0 scripts hang I have to assume the problem
lies with our Perl 5.8.0 build.


> !Unfortunately, our 5.6.1 build only works in a static 
> configuration and we
> !had really hoped to deploy the dynamic support in 5.8.0 
> which appears to
> !work ok.  But in the interest of time we may have to ship 
> 5.6.1 with our
> new
> !z/OS system when it goes out in 2 weeks.
> 
> As far as I recall it is possible to build 5.6.1 with dynamic linking.
> You simply need to be sure to specify:
> 
>      -Dusedl
> 
> when you run Confugire.  Is a rebuild out of the question?

I tried many times to build Perl 5.6.1 with the -Dusedl option (on OS/390)
and every time it died during the make test step.  Perl 5.8.0 builds just
fine with -Dusedl and I have tested the TCPIP socket issue with and without
dynamic linking.

I could try to download the 5.6.1 package again and build it on z/OS 1.2 in
64-bit mode and see if -Dusedl works any better.  I might as well since it
appears that is the only working version I can ship out.


> 
> Peter Prymmer
> 

Thanks for your help.


Brad Van Duser
EDS - BellSouth Account
MS 6J72 BSC
675 West Peachtree Street
Atlanta, GA  30308

* phone: +01-404-529-2923
* mailto:[EMAIL PROTECTED]
* pager: +01-800-862-0399 PIN 17311309
* pager mailto:[EMAIL PROTECTED]


Reply via email to