09-20-05 11:06 PM
Hi,
CHGTCPA is an iSeries command and cannot be found on any other platform.
Do all the components of your network (switches, hubs, nic's) have the
correct settings for speed (10/100/1000M) and duplex (Half/Full)?
Rgds,
Henk
<laurent.s@speos.be> schreef in bericht
news:1636520246.1127214577342.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> To resume to situation i've a servlet wich retrieve a text/pdf/xml/excel
> document from IBM On demand content manager and then write the stream in
> the res.getOutputStream().
>
> Some lines of code:
>
> private void processRequest(HttpServletRequest req, HttpServletResponse
> res) throws ServletException, IOException {
>
> byte[] pdfByteArray = null;
> pdfByteArray = odHit.retrieve(ODConstant.NATIVE); // retrieve from
> Ondemande Content Manager
> sMimeType = odHit.getMimeType();
> res.setContentType(sMimeType);
> res.setContentLength(pdfByteArray.length);
> res.getOutputStream().write(pdfByteArray, 0, pdfByteArray.length);
> res.getOutputStream().flush();
> res.getOutputStream().close();
> }
>
>
>
> For big files (like 150Mo) sometimes i've lost the stream...and i've have
> always a up streamin speed of 400/500ko/s on my network. Here (
> http://publib.boulder.ibm.com/infoc.../v6r0/index.jsp ) I saw
> that we could tune tcp/ip parameters but I did not find the chgtcpa
> command anywhere. Anyone have already use it?
> Perhaps some tuning on http server side?
>
> My architecture:
> - 100Mbits network (i've made some test with a ftp server and it's ok),
> - xSeries PIV 3Ghz Dual Core, 4Gig RAM
> - Linux Redhat Advanced Server 4.0
> - WAS 6.0.2.1 (last update)
> - IBM HTTP Server 6.0.2.1 (last update)
>
> Thanks for your responses!
[ Post a follow-up to this message ]
|