[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Internal Server Error 500



   Thank Ronnie for seeing that message that I missed. I could not find
   the error ID but the only messages for that day are:
   [Thread-26:ERROR] - Error occurred closing DWA connection:
   Link.OutStream.WriteByte(): Error sending data
   (java.net.SocketException: Connection reset by peer: socket write
   error).
   Which first of all, I am not sure if this is the right error message we
   are looking at.
   I am thinking I have to make the debug file smaller, Mike suggested
   that I call the close debug routine myself.  And gave me some code.  I
   have little to none experience in RPG, can I maybe post my RPG function
   here and someone please give me pointers in solving it?
   Its not a very big function, its quite small.
   I would appreciate this a lot.
   Devlyn van der Walt
   Applications Developer I
   Systems Integration

   gijima_email
   Tel: +27 (0) 13 247 2113
   Cell: +27 (0) 82 350 7528
   Email: devlyn.vanderwalt@xxxxxxxxxx
   [1]www.gijima.com
   From:        Ronnie <ronnie@xxxxxxxxxxxxxxxxxx>
   To:        HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
   Date:        2012/09/04 05:08 PM
   Subject:        RE: Internal Server Error 500
   Sent by:        ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
     __________________________________________________________________

   Hi Devlyn.
   Follow the instruction :
   <html><head><title>Error in application</title></head><body><h2>An
   error
   occurred</h2><p>Unable to process the request. Please contact web
   administrator if the problem persists, and send in the error ID
   below.</p><p>The error ID is: 1337969354765</p>The ID references a
   message
   in the file:
   E:/Data/P6Services/PRDB/Logs/WebServerComponent.log</body></html>
   Post the message as found in the logfile at
   E:/Data/P6Services/PRDB/Logs/WebServerComponent.log
   Ronnie Visser
   -----Original Message-----
   From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [[2]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
   vanderWalt.Devlyn@xxxxxxxxxxxxxx
   Sent: Tuesday, September 04, 2012 4:33 PM
   To: HTTPAPI and FTPAPI Projects
   Subject: Re: Internal Server Error 500
   Well thank you Scott, that at least explain the Internal Server Error
   500.
   I can't believe we are calling it that many times!
   Let me explain the story, the DBA, told me of theses errors happening,
   so
   I am investigating. It seem to happen occasionally, but failure is not
   an
   option for us, it has to go through.
   I just want to understand you. When every I call the HTTPAPI function
   we
   made to send the request. it will clear the debug file and start a new
   one?
   If I have a Job that runs many other functions and some of those
   functions
   call the HTTPAPI function we made, will it clear it for every call, or
   append to it, if in the same job?
   I just want to understand, the reason for the debug file being so big,
   and
   all the calls that are happening.
   I maybe should have sent the error part of the debug file, sorry was
   not
   thinking. Here it is anyway:
   New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
   http_persist_open(): entered
   http_long_ParseURL(): entered
   DNS resolver retrans: 2
   DNS resolver retry  : 2
   DNS resolver options: x'00000136'
   DNS default domain: ACXGROUP.COM
   DNS server found: 172.16.1.1
   DNS server found: 172.16.1.41
   DNS server found: 172.22.33.21
   http_persist_post(): entered
   http_long_ParseURL(): entered
   do_oper(POST): entered
   POST /p6prdb/service/basicsite/services/soap HTTP/1.1
   Host: P6PRDB01:10010
   User-Agent: http-api/1.24
   Content-Type: text/xml
   SOAPAction: WebServiceControl
   Content-Length: 979
   senddoc(): entered
   <?xml version="1.0" encoding="iso-8859-1"
   standalone="no"?><soapenv:Envelope   xmlns:soapenv="
   [3]http://schemas.xmlsoap.org/soap/envelope/";>    <soapenv:Header/>
   <soapenv:Body>       <Request>          <ParameterSet>
   <Parameter01>B20120526000537807</Parameter01>
   <Parameter02></Parameter02>
            <Parameter03>SYSTEM</Parameter03> <Parameter04>N</Parameter04>

         <Parameter05>N</Parameter05> <Parameter06>Y</Parameter06>
   <Parameter07>10101000000</Parameter07>
   <Parameter08>201205260056287702</Parameter08>
   <Parameter09></Parameter09>
            <Parameter10></Parameter10>          </ParameterSet>
   <WebserviceEnv>             <EnvironmentID>PRDB</EnvironmentID>
   <FunctionID>CRTPRUN</FunctionID>             <UserID>P6USR</UserID>
   <LogKey>201205260056287702</LogKey>          </WebserviceEnv>
   </Request>
   </soapenv:Body></soapenv:Envelope>
   recvresp(): entered
   HTTPAPI Ver 1.24beta11 released 2010-09-09
   OS/400 Ver V6R1M0
   New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
   http_persist_open(): entered
   http_long_ParseURL(): entered
   DNS resolver retrans: 2
   DNS resolver retry  : 2
   DNS resolver options: x'00000136'
   DNS default domain: ACXGROUP.COM
   DNS server found: 172.16.1.1
   DNS server found: 172.16.1.41
   DNS server found: 172.22.33.21
   http_persist_post(): entered
   http_long_ParseURL(): entered
   do_oper(POST): entered
   POST /p6prdb/service/basicsite/services/soap HTTP/1.1
   Host: P6PRDB01:10010
   User-Agent: http-api/1.24
   Content-Type: text/xml
   SOAPAction: WebServiceControl
   Content-Length: 905
   senddoc(): entered
   <?xml version="1.0" encoding="iso-8859-1"
   standalone="no"?><soapenv:Envelope   xmlns:soapenv="
   [4]http://schemas.xmlsoap.org/soap/envelope/";>    <soapenv:Header/>
   <soapenv:Body>       <Request>          <ParameterSet>
   <Parameter01></Parameter01>             <Parameter02></Parameter02>
   <Parameter03></Parameter03>             <Parameter04></Parameter04>
   <Parameter05></Parameter05>             <Parameter06></Parameter06>
   <Parameter07></Parameter07>             <Parameter08></Parameter08>
   <Parameter09></Parameter09>             <Parameter10></Parameter10>
   </ParameterSet>          <WebserviceEnv>
   <EnvironmentID>PRDB</EnvironmentID> <FunctionID>0000076</FunctionID>
   <UserID>P6USR</UserID>             <LogKey></LogKey> </WebserviceEnv>
   </Request>    </soapenv:Body></soapenv:Envelope>
   recvresp(): entered
   SetError() #43: CommTCP_read: time-out!
   recvresp(): end with timeout
   http_close(): entered
   HTTP/1.1 500 Internal Server Error
   X-Powered-By: Servlet/3.0
   Server: GlassFish Server Open Source Edition 3.0.1
   X-WSYD-LICENSE: Websydian Relay Service Servlet v2.1 - Copyright (c)
   2009
   Websydian A/S
   X-WSYD-LICENSETYPE: 30
   Content-Type: text/html;charset=ISO-8859-1
   Content-Length: 398
   Date: Fri, 25 May 2012 18:09:14 GMT
   Connection: close
   SetError() #13: HTTP/1.1 500 Internal Server Error
   recvresp(): end with 500
   recvdoc parms: identity 398
   header_load_cookies() entered
   recvdoc(): entered
   SetError() #0:
   <html><head><title>Error in application</title></head><body><h2>An
   error
   occurred</h2><p>Unable to process the request. Please contact web
   administrator if the problem persists, and send in the error ID
   below.</p><p>The error ID is: 1337969354765</p>The ID references a
   message
   in the file:
   E:/Data/P6Services/PRDB/Logs/WebServerComponent.log</body></html>
   http_close(): entered
   HTTPAPI Ver 1.24beta11 released 2010-09-09
   OS/400 Ver V6R1M0
   New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
   http_persist_open(): entered
   http_long_ParseURL(): entered
   DNS resolver retrans: 2
   DNS resolver retry  : 2
   DNS resolver options: x'00000136'
   DNS default domain: ACXGROUP.COM
   DNS server found: 172.16.1.1
   DNS server found: 172.16.1.41
   DNS server found: 172.22.33.21
   http_persist_post(): entered
   http_long_ParseURL(): entered
   do_oper(POST): entered
   POST /p6prdb/service/basicsite/services/soap HTTP/1.1
   Host: P6PRDB01:10010
   User-Agent: http-api/1.24
   Content-Type: text/xml
   SOAPAction: WebServiceControl
   Content-Length: 905
   senddoc(): entered
   <?xml version="1.0" encoding="iso-8859-1"
   standalone="no"?><soapenv:Envelope   xmlns:soapenv="
   [5]http://schemas.xmlsoap.org/soap/envelope/";>    <soapenv:Header/>
   <soapenv:Body>       <Request>          <ParameterSet>
   <Parameter01></Parameter01>             <Parameter02></Parameter02>
   <Parameter03></Parameter03>             <Parameter04></Parameter04>
   <Parameter05></Parameter05>             <Parameter06></Parameter06>
   <Parameter07></Parameter07>             <Parameter08></Parameter08>
   <Parameter09></Parameter09>             <Parameter10></Parameter10>
   </ParameterSet>          <WebserviceEnv>
   <EnvironmentID>PRDB</EnvironmentID> <FunctionID>0000076</FunctionID>
   <UserID>P6USR</UserID>             <LogKey></LogKey> </WebserviceEnv>
   </Request>    </soapenv:Body></soapenv:Envelope>
   recvresp(): entered
   HTTP/1.1 200 OK
   X-Powered-By: Servlet/3.0
   Server: GlassFish Server Open Source Edition 3.0.1
   X-WSYD-LICENSE: Websydian Relay Service Servlet v2.1 - Copyright (c)
   2009
   Websydian A/S
   X-WSYD-LICENSETYPE: 30
   Content-Type: text/xml;charset=ISO-8859-1
   Content-Length: 398
   Date: Fri, 25 May 2012 18:10:58 GMT
   SetError() #13: HTTP/1.1 200 OK
   recvresp(): end with 200
   recvdoc parms: identity 398
   header_load_cookies() entered
   recvdoc(): entered
   SetError() #0:
   <?xml version="1.0" encoding="ISO-8859-1"?>
   <SOAP-ENV:Envelope xmlns:SOAP-ENV="
   [6]http://schemas.xmlsoap.org/soap/envelope/
   "><SOAP-ENV:Body><Response><Control><ProcessStartTime>02:10:57</Process
   StartTime><ProcessEndTime>02:10:58</ProcessEndTime><NumberofMessages>1<
   /NumberofMessages></Control><MessageDetails><MsgType>RETSTS</MsgType></
   MessageDetails></Response></SOAP-ENV:Body></SOAP-ENV:Envelope>
   http_close(): entered
   HTTPAPI Ver 1.24beta11 released 2010-09-09
   OS/400 Ver V6R1M0
   -----------------------------------------------------------------------
   --------------
   This e-mail is subject to the Columbus Stainless [Pty] Ltd Email Legal
   Notices available at:
   [7]http://www.columbus.co.za/EmailLegalNotice.htm.
   -----------------------------------------------------------------------
   --------------
   This e-mail message has been scanned for Viruses and Content and
   cleared by MailMarshal
   -----------------------------------------------------------------------
   --------------
   -----------------------------------------------------------------------
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [8]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------
     __________________________________________________________________

   This e-mail is subject to the Columbus Stainless [Pty] Ltd Email Legal
   Notices available at:
   [9]http://www.columbus.co.za/EmailLegalNotice.htm.
     __________________________________________________________________

   This e-mail message has been scanned for Viruses and Content and
   cleared by MailMarshal
     __________________________________________________________________

References

   1. http://www.gijima.com/
   2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   3. http://schemas.xmlsoap.org/soap/envelope/
   4. http://schemas.xmlsoap.org/soap/envelope/
   5. http://schemas.xmlsoap.org/soap/envelope/
   6. http://schemas.xmlsoap.org/soap/envelope/
   7. http://www.columbus.co.za/EmailLegalNotice.htm
   8. http://www.scottklement.com/mailman/listinfo/ftpapi
   9. http://www.columbus.co.za/EmailLegalNotice.htm

JPEG image

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------