HTTP BC Timeout
Hi,
Does anyone know if it's possible to set a Connect and Socket timeout on the HTTP BC when it acts as a client? If the HTTP BC calls a backend service that is taking very long to respond, then without a timeout in place, all the BC threads would end up waiting on that system and would eventually stop the entire ESB from issuing HTTP calls.
Thanks,
Paul
Hi,
Do you use this URL which is wrong ?
http://zadisp.wdf.sap.corp:51080 timeout=900/sap/bc/ping?sap-client=300
Or this correct one ?
http://zadisp.wdf.sap.corp:51080/sap/bc/ping?sap-client=300
Did you also activate service /sap/bc/ping in transaction SICF ?
Regards,
Olivier
Similar Messages
-
Http connection timeout for business services from proxy service?
I've only done limited experiments in ALSB (2.1) at this point, but a question occurred to me, and I can't find this mentioned in the docs anywhere.
When a proxy service configures a connection to a downstream business service through HTTP, is it possible to configure an http connection timeout value? This will cause the connection attempt to fail if it takes too long to determine whether the connection attempt succeeded or failed.
I've heard that this is one advantage that Axis has over JAXRPC/SAAJ, as a connection timeout value can be specified.Hello Billy
Thanks for the reply. I thought there may be some implementation of begin_request in another environment that had the option to specify a connect timeout. But as you have explained, it doesn't work like that. As always, I learn something every day!
So realistically if I want to stop the calling process hanging in the event of the server not being available, I need use the message based approach...send a message containing the request to another process via a message queue and attach to the reply queue and wait for a message comming back with a timeout. Does that sound like a reasonable approach?
Thanks
David -
HTTP Connection timeout setting
Hi,
I'm using ebXML protocol for B2B 10.1.2.3+MLR 5.
I talk to multiple trading partners and when one of the TP is down, we see that there is a pileup of messages in the backend queues.
This is because, there is constant message inflow into the JMS queues by the back-end application and each message is taking a long time to timeout (nearly 20 seconds). So what effectively happens is that a message was supposed to reach the TP in 1 sec will take 20 sec before it labels as a HTTP connection timeout error .
Can we set the HTTP Connection timeout setting in B2B? (I saw a setting in B2BGurus for EDI though)
If not, please can you suggest if it can be set in the Application Server level?
Please help!
Thanks in advance,
Warm Regards,
Suhas.All,
At the application server level, there is a timeout setting in httpd.conf. The default value has been set to 300 seconds.
Regards,
Suhas. -
Set HTTP Connection timeout to avoid Deny Of Service attack
Hi,
Is there a way to set a HTTP Connection timeout in Sun Java Application Server Platform Edition ?
I need this because many clients are holding an HTTP Connection too long on my Application Server causing a Deny Of Service because of file descriptor leak.
Regards,
Laurent.All,
At the application server level, there is a timeout setting in httpd.conf. The default value has been set to 300 seconds.
Regards,
Suhas. -
Hi All,
I am unable to set the time out value for complete message time out=-1 in weblogic 10.
In weblogic 8.1 we can set the value og http message time out as -1.
Is there any such parameter for weblogic 10?
If yes can we set it to -1.
By setting complete timeout =480, I am facing timeout issues for message greater than 10MB.Hi,
*<complete-http-message-timeout>* is the maximum number of seconds spent waiting for a complete HTTP message to be received. If you configure network channels for this server, each channel can override this HTTP message timeout.
This timeout helps guard against a denial of service attack in which a caller indicates that it will be sending a message of a certain size which it never finishes sending.
*A value of -1 indicates that this value should be obtained from network channels configured for this server.*
Minimum value: -1
Maximum value: 480 (U have set the Maximum possible value for this at your end)
Secure value: 60
Admin Console Location to Edit this value:
Home---> DomainName-->Server Summary--->AdminServer (Or any other Server)---> Protocol(tab)---->General(tab)
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are here) -
HTTP(S) Timeout while invoking WebService over HTTPS.
Hello,
I have some stress with my webservice client implementation.
I do the following (I can post source code if needed):
- As usual:
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
- Install my TrustManager
- Install my DefaultHostnameVerifier
- Register a custom type
- Make a javax.xml.rpc.Call to access a webservice
My observations:
The code works well when using an HTTP URL, just changing the target URL to HTTPS causes the problem.
The HTTPS web service (on server) works well seeing a HTTPS client using the weblogic SSL implementation, or an AXIS client can easily connect.
When I use a simple and direct "Open HttpsURLConnection on URL("https://xxx.service?WSDL"); print-out-all-that's-coming-in", it works well. I think my SSL access is made correctly.
The client does not complain about not-installed SSL things, all certificates are accepted, etc. No problem at this part.
System.setProperty("javax.net.debug", "all") is set, but i dont see anything of interrest.
I use the packages contained in 'java_xml_pack-summer-02_01' of SUN (jaxm-1.1_01, jaxp-1.2_01,jaxr-1.0_02 etc and the jsse 1.0.3).
The server is weblogic 7.
Calling
call.setTargetEndpointAddress("http://arakis:7001/traces_ws/searchCertificate");
works well while
call.setTargetEndpointAddress("https://arakis:7002/traces_ws/searchCertificate");
causes (after 2 minutes):
HTTP transport error: java.net.SocketException: Unexpected end of file from server
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:189)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:73)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:54)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:279)
at SSLSOAPClient.main(SSLSOAPClient.java:264)
CAUSE:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:699)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:697)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:604)
at com.sun.xml.rpc.client.http.handler.HttpURLConnection.getInputStream(HttpURLConnection.java:543)
at com.sun.xml.rpc.client.http.handler.HttpURLConnection.getResponseCode(HttpURLConnection.java:920)
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:123)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:73)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:54)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:279)
at SSLSOAPClient.main(SSLSOAPClient.java:264)
Exception in thread "main"
What I note is that the call is using a HttpURLConnection object and NOT a HttpsURLConnection object (so problems are 'normal' i guess), but I dont have any clue what I have to do to instruct the client to use HTTPS other than specifying HTTPS in the target.
Hope someone has an idea
TashaHello,
The default timeout in Axis is 60 seconds, you can change it by your client code, and you can still keep the session to call many times
((org.apache.axis.client.Stub)service).setMaintainSession(true); //keep session
((org.apache.axis.client.Stub)service).setTimeout(60*1000*30); //half hour
Lixin -
HTTP sticky timeout issue in ACE .
Hi All ,
We are facing the dis connectivity issue in the the http session ( sticky configuration )
As per the customer requirement we configured the http sticky with the connection time out 60 min ( one hour ) .
But as per the test with the tool cookie manager , they identified as the http sessions are getting timed out in 20 to 30 minuits .
Please find the sticky configuration
sticky http-cookie FRONT_SESSION_ID TEST_FRONT
cookie insert
timeout 60
replicate sticky
serverfarm TEST_FRONT
We also did the http persistence as below .
parameter-map type http HTTP_Persistence_Rebalance
persistence-rebalance
Parameter-map : HTTP_Persistence_Rebalance
Description : -
Type : http
server-side connection reuse : disabled
case-insensitive parsing : disabled
persistence-rebalance : enabled
header modify per-request : disabled
cookie-error-ignore : disabled
header-maxparse-length : 4096
content-maxparse-length : 4096
parse length-exceed action : drop
urlcookie-delimiters : /&#+
urlcookie-start : ?
We have also tested the session directly with the Rserver .But it is not getting disconnected ( As we doubt is it any server related issue )
Also please find the below resource allocation .
resource-class TEST-FRONT
limit-resource all minimum 0.00 maximum unlimited
limit-resource buffer syslog minimum 0.50 maximum equal-to-min
limit-resource sticky minimum 2.00 maximum unlimited
So can any one please suggest me is there any configuration mistakes here .
If the configuration is ok please suggest me what more I have to do for making the stickiness around 60 min .
Regards ,
Sinjish.KSinjish-
Can you use the capture utiliy on ACE to gather a trace of the entire session - then filter out the traffic to just the client IP or the server IP and attach it to this thread? A showtech would also be useful to see if there are any anomolies.
Regards,
Chris Higgins -
Http Get + Timeout Functionailty?
Hi all,
I am planning to do a HTTP/S POST and GET and wondered if there is a way of specifiying a timeout on the GET.
So I do the Get and if after x minutes no value has been returned from the webserver then the timeout says ok move onto the next Get request in the ArrayList....
Does anyone know of such a call as I cant find one, also which package would be best to look at to investigate this futher?In tiger (1.5) URLConnection has a setConnectTimeout(int timeout) method. Otherwise, this works pretty well:
http://www.innovation.ch/java/HTTPClient/
or:
http://jakarta.apache.org/commons/httpclient/ -
HTTP POST timeout on specific button
Hi,
I'm trying to work out if Oracle ADF supports a POST timeout that is configurable for an action in the UI. The use case is as follows:
1. A specific button in the front end is clicked on by the user, causing a HTTP POST (This then causes an action in the backend, that takes an indeterminate amount of time to return)
2. A timeout should occur after a configurable duration (Obvious technical caveats apply, such as this value not being able to exceed the JTA transaction timeout)
3. The user should be redirected to a error page specific to this type of timeout.
I would like to configure this specific button to have a lower timeout than both the "Post Timeout" in the WebLogic server Admin console configuration for the HTTP Protocols. There are other transaction timeouts in place that will clean up the services layer and any database connections to protect the servers from these running indefinitely.
Thanks in advance.Frank,
Many thanks for the swift response. I'll have a look into other ways of tackling this in the Java layer of the application. -
HTTPS connections timeout with Security Update 2010-001
I recently installed Security Update 2010-001 onto Snow Leopard and have difficulty accessing certain web sites from my browser (I have tried with both Safari and Firefox and they have the same problem). The issue in common with the problem sites is that they use akamai mirror servers to deliver their content over HTTPS connections. I can see from the Activity window that the redirected HTTPS connections to the akamai sites just hang and eventually timeout. This is new behaviour since installing the security patch and I was wondering if the Open SLL update in the security patch may have caused these connections to hang? Anyone have any idea (or where I could find out?)
PI recently installed Security Update 2010-001 onto Snow Leopard and have difficulty accessing certain web sites from my browser (I have tried with both Safari and Firefox and they have the same problem). The issue in common with the problem sites is that they use akamai mirror servers to deliver their content over HTTPS connections. I can see from the Activity window that the redirected HTTPS connections to the akamai sites just hang and eventually timeout. This is new behaviour since installing the security patch and I was wondering if the Open SLL update in the security patch may have caused these connections to hang? Anyone have any idea (or where I could find out?)
P -
Weblogic HTTP Sessions timeouts
Hi All,
Im quite new to Weblogic 8.1 and am having a problem with HTTP sessions. I have two applications (lets say App1 and App2) in the same Weblogic server, and want to pass information from App1 to App2. Because of HTTP ServletContext rules, I cannot pass session information from one context to another. So instead, when App1 passes information to App2, I create a new session in App2 straight away. When the session timesout, it will redirect me to a page. This redirect will only be done when the user clicks a button (server side redirect rather than a client side automatic redirect). This is all working fine except I hit this problem.
I have set the timeout interval to 1min (in web.xml) for testing. After I wait 1 min, I click the button and it redirects - Ok thats cool. The real problem is that I wait for the session to timeout after 1 min. Then I wait for an extra 2 mins on top of that (so in theory, the session should still be timed out). When I click the button again, the session is created again rather than redirecting. Now I find this odd. It seems like Weblogic is recreating the session (as I get new session ids).
Has anyone come across this before and does anyone know how to get around this? Is it some configuration in Weblogic that I need to setup?
Regards,
Andy<Andy Cheng> wrote in message news:[email protected]..
Im quite new to Weblogic 8.1 and am having a problem with HTTP sessions. I have two applications (lets say App1 and App2) in thesame Weblogic server, and want to pass information from App1 to App2.
If your applications exchange data extensively, you may want to consider
merging them into a single application. If it is not possible, you should follow
the standard approaches used to connect standalone, remotely located
applications. The range of possible design solutions is pretty wide - web
services, EJB, CORBA, etc.
Regards,
Slava Imeshev -
HTTP Server TimeOut settings & its Impact
Hello Guys,
We are using OracleAS 10g 9.0.4 on Windows-2000 SP-4. The J2EE enabled application is deployed and and being accssed via web browser. It was done by one of my fellow member who is not with us now. I have some doubt regarding HTTP Server which is available in 10gAS. COuld anybody just help me out....I am regferring Docs. but not able to get it for me...
1. The TimeOut in HTTP Server. What does it mean and if i increase this value...what impact we may have on HTTP request etc.
2. Difference between Port and Listen.? Do we use both of them.?
Please help.
Regards,
Kamesh RastogiHi Kamesh!
From the manuals:
Timeout:
The Timeout specifies the amount of time Apache will wait for a GET, POST, PUT request and ACKs on transmissions. You can safely leave this option on its default values.
Listen:
The Listen directive instructs Apache to listen to more than one IP address or port; by default it responds to requests on all IP interfaces, but only on the port given by the Port directive.
Port:
The Port directive has two behaviors, the first of which is necessary for NCSA backwards compatibility (and which is confusing in the context of Apache).
* In the absence of any Listen or BindAddress directives specifying a port number, a Port directive given in the "main server" (i.e., outside any <VirtualHost> section) sets the network port on which the server listens. If there are any Listen or BindAddress directives specifying :number then Port has no effect on what address the server listens at.
* The Port directive sets the SERVER_PORT environment variable (for CGI and SSI), and is used when the server must generate a URL that refers to itself (for example when creating an external redirect to itself). This behavior is modified by UseCanonicalName.
The primary behavior of Port should be considered to be similar to that of the ServerName directive. The ServerName and Port together specify what you consider to be the canonical address of the server. (See also UseCanonicalName.)
Have a look at
http://httpd.apache.org/docs/1.3/mod/core.html
cu
Andreas -
JBO-35007 row currency has changed - can timeouts cause this?
A user of mine (JDev 10.1.3.1 ADF BC/ADF Faces) is experiencing the famed JBO-35007 row currency has changed error message after a period of inactivity (~35 minutes).
Suspiciously sounds like a timeout to me. Can the row currency validation be invalidated by a timeout in the ADF framework? What side of the framework tracks the row currency? I'm guessing it's ADF Business Components. Can the timeout of the AM cause JBO-35007?
Any help appreciated.
Regards,
CM.Hi John,
it depends on the fact the failover feature is enabled or not (jbo.dofailover).
When enabled, the HttpSession cookie that is stored in the HttpSession will also be stored on the browser (browser cookie), so that the framework can re-establish the link between a new HttpSession and the pending session state.
As 35 minutes is the default of the HTTP session timeout, I suppose that Chris is working in failover mode, and that BC4J has some problem to re-activate the current row (maybe its key ?) correctly.
Regards,
Didier. -
Hi,
We're getting a 401 error message from a Trading Partner (TP). They say there is no password required to get to their website. From their end, the request doesn't send a certificate with it. The TP certificate has 2048 keysize, while the wallet and our other TPs have 1024 keysize.
Could the problem be with the transport endpoint or the TP certificate?
Here is the error from the b2b.log:
2009.05.05 at 15:06:03:520: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking PackMessage
2009.05.05 at 15:06:03:520: Thread-15: B2B - (DEBUG) MimePackaging:pack:Enter
2009.05.05 at 15:06:03:525: Thread-15: B2B - (DEBUG) MimePackaging:createMimeMessage:Enter
2009.05.05 at 15:06:03:535: Thread-15: B2B - (DEBUG) MimePackaging:createMimeMessage:number of pc components: 1
2009.05.05 at 15:06:03:535: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:Enter
2009.05.05 at 15:06:03:560: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:header name-value: Content-Type-application/EDI-X12; name=004010
2009.05.05 at 15:06:03:560: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:header name-value: Content-Disposition-attachment; filename=004010
2009.05.05 at 15:06:03:561: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:header name-value: Content-Transfer-Encoding-binary
2009.05.05 at 15:06:03:562: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Enter
2009.05.05 at 15:06:03:562: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Exit
2009.05.05 at 15:06:03:563: Thread-15: B2B - (DEBUG) MimePackaging:createMimeBodyPart:Exit
2009.05.05 at 15:06:03:690: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:03:691: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:03:785: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Enter
2009.05.05 at 15:06:03:786: Thread-15: B2B - (DEBUG) MimePackaging:createSignedMimeBodyPart:Enter
2009.05.05 at 15:06:03:787: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Entering...
2009.05.05 at 15:06:03:788: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Leaving...
2009.05.05 at 15:06:03:788: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setSignatureAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:03:788: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setSignatureAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:03:789: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:03:789: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setDigestAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:03:789: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Entering...
2009.05.05 at 15:06:03:790: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Sign using the configured certificate
2009.05.05 at 15:06:03:790: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign wrl: /hub02/app/oracle/product/64bit/OAS101/Apache/Apache/conf/ssl.wlt/default
2009.05.05 at 15:06:03:802: Thread-15: B2B - (DEBUG) Utility:getPrivateKey:Enter
2009.05.05 at 15:06:04:928: Thread-15: B2B - (DEBUG) Utility:getPrivateKey:matching private key found
2009.05.05 at 15:06:04:931: Thread-15: B2B - (DEBUG) Utility:getPrivateKey:Exit
2009.05.05 at 15:06:04:964: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Entering...
2009.05.05 at 15:06:04:964: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Leaving...
2009.05.05 at 15:06:04:965: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Entering...
2009.05.05 at 15:06:04:965: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Leaving...
2009.05.05 at 15:06:04:965: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: encode Entering...
2009.05.05 at 15:06:04:966: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: encode Leaving...
2009.05.05 at 15:06:04:967: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: sign Leaving...
2009.05.05 at 15:06:04:967: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo Entering...
2009.05.05 at 15:06:04:968: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: printErrorInfo Leaving...
2009.05.05 at 15:06:04:982: Thread-15: B2B - (DEBUG) MimePackaging:createSignedMimeBodyPart:Exit
2009.05.05 at 15:06:04:982: Thread-15: B2B - (DEBUG) MimePackaging:createEncryptedMimeBodyPart:Enter
2009.05.05 at 15:06:04:985: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Entering...
2009.05.05 at 15:06:04:985: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setProtocolVersion Leaving...
2009.05.05 at 15:06:04:986: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionAlgorithm using algorithm name Entering...
2009.05.05 at 15:06:04:986: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionAlgorithm using algorithm name Leaving...
2009.05.05 at 15:06:04:987: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionCertificate Entering...
2009.05.05 at 15:06:04:988: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Entering...
2009.05.05 at 15:06:04:988: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: setEncodingType Leaving...
2009.05.05 at 15:06:04:989: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Entering...
2009.05.05 at 15:06:04:989: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: update Leaving...
2009.05.05 at 15:06:04:989: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: decode Entering...
2009.05.05 at 15:06:04:997: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.Encoding:Encoding: decode Entering...
2009.05.05 at 15:06:04:997: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: setEncryptionCertificate Leaving...
2009.05.05 at 15:06:04:997: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: encrypt Entering...
2009.05.05 at 15:06:05:006: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.packaging.SmimeSecureMessaging:SmimeSecureMessaging: encrypt Leaving...
2009.05.05 at 15:06:05:007: Thread-15: B2B - (DEBUG) MimePackaging:createEncryptedMimeBodyPart:Exit
2009.05.05 at 15:06:05:007: Thread-15: B2B - (DEBUG) MimePackaging:applySecurity:Exit
2009.05.05 at 15:06:05:008: Thread-15: B2B - (DEBUG) MimePackaging:createMimeMessage:Exit
2009.05.05 at 15:06:05:013: Thread-15: B2B - (DEBUG) MimePackaging:getMimeContent:Enter
2009.05.05 at 15:06:05:014: Thread-15: B2B - (DEBUG) MimePackaging:getMimeContent:Exit
2009.05.05 at 15:06:05:014: Thread-15: B2B - (DEBUG) MimePackaging:pack:Exit
2009.05.05 at 15:06:05:019: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Invoking Pre-Transmit
2009.05.05 at 15:06:05:019: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Enter
2009.05.05 at 15:06:05:020: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Log & Update Database Tables
2009.05.05 at 15:06:05:020: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Update the Message Table Row with message state Wait for Incoming Acknowledgment
2009.05.05 at 15:06:05:021: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create a Native Event Table row for outgoing Request Message
2009.05.05 at 15:06:05:021: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Enter
2009.05.05 at 15:06:05:023: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:insertNativeEvtTblRow msgInfo.id = <1396700:0:221@096997515>
2009.05.05 at 15:06:05:023: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:protocl id set A
2009.05.05 at 15:06:05:024: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:
** DbAccess:insertNativeEvtTblRow protocolCollabId = null
2009.05.05 at 15:06:05:357: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:05:357: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: createDataStorage
2009.05.05 at 15:06:05:366: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: createDataStorage
2009.05.05 at 15:06:05:387: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:05:388: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: createWireMessage
2009.05.05 at 15:06:05:408: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: createWireMessage
2009.05.05 at 15:06:05:408: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertNativeEvtTblRow(3 params) Exit
2009.05.05 at 15:06:05:419: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:05:420: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2009.05.05 at 15:06:05:431: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2009.05.05 at 15:06:05:432: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Create Event Table row for Message Retries
2009.05.05 at 15:06:05:433: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit timeToAck = Wed Dec 31 18:00:00 PST 1969
2009.05.05 at 15:06:05:437: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Enter
2009.05.05 at 15:06:05:463: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Event Type = 2
2009.05.05 at 15:06:05:463: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow EventId = 12
2009.05.05 at 15:06:05:463: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Id = 1396700:0:221
2009.05.05 at 15:06:05:468: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.DbAccess:DbAccess:insertEvtTblRow Exit
2009.05.05 at 15:06:05:472: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Current TimeStamp isTue May 05 15:06:05 PDT 2009
2009.05.05 at 15:06:05:473: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Retry shall happen at Tue May 05 17:06:05 PDT 2009
2009.05.05 at 15:06:05:473: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit business transaction info name null revision null
2009.05.05 at 15:06:05:474: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:preTransmit Exit
2009.05.05 at 15:06:05:474: Thread-15: B2B - (DEBUG) DBContext commit: Enter
2009.05.05 at 15:06:05:482: Thread-15: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.05.05 at 15:06:05:483: Thread-15: B2B - (DEBUG) DBContext commit: Leave
2009.05.05 at 15:06:05:483: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2009.05.05 at 15:06:05:484: Thread-15: B2B - (DEBUG) Protocol Name: HTTPS
2009.05.05 at 15:06:05:484: Thread-15: B2B - (DEBUG) Version Name: 1.1
2009.05.05 at 15:06:05:484: Thread-15: B2B - (DEBUG) Endpoint: https://tp.com:88/invoke/tp.receive/as2
2009.05.05 at 15:06:05:485: Thread-15: B2B - (DEBUG) using SSL
2009.05.05 at 15:06:05:486: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTPS://TP.COM:88/INVOKE/TP.RECEIVE/AS2
2009.05.05 at 15:06:05:487: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 502 https://tp.com:88/invoke/tp.receive/as2
2009.05.05 at 15:06:05:487: Thread-15: B2B - (DEBUG)
Protocol = HTTPS
Version = 1.1
Transport Header
Content-Transfer-Encoding:binary
Message-ID:<1396700:0:221@096997515>
MIME-version:1.0
Receipt-Delivery-Option:https://b2bserver.edu:55/b2b.IP_OUT_QUEUE
From:096997515
Disposition-Notification-To:[email protected]
AS2-To:ZZ043073964T
User-Agent:AS2 Server
Date:Tue, 05 May 2009 22:06:01 GMT
Disposition-Notification-Options:signed-receipt-protocol=required, pkcs7-signature; signed-receipt-micalg=required, sha1
AS2-From:096997515
AS2-Version:1.1
Content-Type:application/pkcs7-mime; smime-type="enveloped-data"
Connection:close
Parameters
-- listing properties --
http.sender.timeout=0
2009.05.05 at 15:06:05:847: Thread-15: B2B - (DEBUG) scheme null userName null realm null
2009.05.05 at 15:06:07:519: Thread-15: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-401
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :401
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:748)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:560)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:284)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:837)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1666)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:900)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1082)
at oracle.tip.adapter.b2b.transport.AppInterfaceListener.onMessage(AppInterfaceListener.java:126)
at oracle.tip.transport.basic.aq.AQDequeuer.dequeue(AQDequeuer.java:331)
at oracle.tip.transport.basic.aq.AQDequeuer.run(AQDequeuer.java:206)
2009.05.05 at 15:06:07:520: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2009.05.05 at 15:06:07:520: Thread-15: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2009.05.05 at 15:06:07:521: Thread-15: B2B - (DEBUG) DBContext beginTransaction: Enter
2009.05.05 at 15:06:07:521: Thread-15: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2009.05.05 at 15:06:07:522: Thread-15: B2B - (DEBUG) DBContext beginTransaction: Leave
2009.05.05 at 15:06:07:523: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :401
[IPT_HttpSendError] HTTP encounters send error :401
2009.05.05 at 15:06:07:532: Thread-15: BusinessLogicLayer - (DEBUG) Authorization disabled. UserBootstrapped:false, useAuthorization:true, configType:Runtime
2009.05.05 at 15:06:07:533: Thread-15: BusinessLogicLayer - (DEBUG) Push Stack: updateBusinessMessage
2009.05.05 at 15:06:07:540: Thread-15: BusinessLogicLayer - (DEBUG) Pop Stack: updateBusinessMessage
2009.05.05 at 15:06:07:540: Thread-15: B2B - (DEBUG) DBContext commit: Enter
2009.05.05 at 15:06:07:543: Thread-15: B2B - (DEBUG) DBContext commit: Transaction.commit()
2009.05.05 at 15:06:07:544: Thread-15: B2B - (DEBUG) DBContext commit: Leave
2009.05.05 at 15:06:07:544: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequest Exit
2009.05.05 at 15:06:07:545: Thread-15: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage:
***** REQUEST MESSAGE *****
Exchange Protocol: AS2 Version 1.1
Transport Protocol: HTTPS
Unique Message ID: <1396700:0:221@096997515>
Trading Partner: ZZ043073964T
Message Signed: RSA
Payload encrypted: 3DES
Attachment: None
***** REQUEST MESSAGE *****
2009.05.05 at 15:06:07:546: Thread-15: B2B - (INFORMATION) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage Exit
2009.05.05 at 15:06:07:546: Thread-15: B2B - (DEBUG) DBContext commit: Enter
2009.05.05 at 15:06:07:546: Thread-15: B2B - (DEBUG) DBContext commit: Leave
2009.05.05 at 15:06:07:548: Thread-15: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppInterfaceListener:onMessage processOutgoingMessage was successful, returning transport ACK to the transport layer
Thankyou,
LavarWhen I telnet to the host, I get (Connection to tp.com closed by foreign host.
I went to the TP URL and save the certificate as Base 64. I then loaded that into my wallet as a Trusted Certificate.
I see TP.com in the wallet as a Trusted Certificate with an expiration date of July 28, 2010 and Key Size 2048.
We still get the same 401 error message. The TP is saying that we are not receiving a certificate on their end. I guess that means there is a problem with encoding and encryption.
I loaded the TP Verisign certificate into my browser as a CA Root.
Now I get a pop up box, when I go to the website that wants me to choose a digital certificate.
There are not any digital certificates to choose from, so I can only click OK or Cancel.
After clicking OK or Cancel, I get prompted for a password.
There seems to be trust isses between our server and the TP's server. :)
I asked the trading partner to send me their Root certificate, in case they have a different Verisign certificate.
Thank you,
Lavar -
Firefox aborts its http request silently within 60 seconds
duplicate of [/questions/1047223]
*Summary
Firefox aborts its http request within almost 60 seconds(period till
timeout varies) and tells nothing to users. This happened with both of
Nginx and Apache.
*Environment
Client browser: Firefox 35.0.1
Client OS: Windows 7 Enterprise 32bit SP1
Web Server: Apache 2.2.3-91 & Nginx 1.6.2-1
Server OS: CentOS 5.11
PHP: 5.3.3
FastCGI: spawn-fcgi-1.6.3-1
*Description of the issue
I have noticed that nginx logs http response code 499 so often.
We use nginx almost only for two web applications, the one based on PHP
and others on ruby. We experiences this problem in both apps. The server and client PC belong to the same subnet.
Since last month, nginx logged 624 errors for Firefox and 16 for other
browsers(almost IE).
So for test, I wrote the simple PHP (see the bottom of this article) and tried to access it
through both of Apache & Nginx with Firefox 35.0.1 and IE 11. IE11
waited 120 seconds and returned html successfully through both of nginx
and Apache, but Firefox failed either.
Let me describe Firefox's behaviour.
1. Enter the test php url at location bar and press enter.
2. The message 'waiting server response' appears at status bar for a while.
3. Watching network conversation through Wireshark, 'Keep Alive' signals
are repeated some times between server and client, and after that,
4. The message dissappears. 'FIN' signal is sent to the server from the client just after that. Firebug logs 'Aborted' at the almost the same time.
5. The server responses 'FIN ACK.'
There is a bit difference with nginx and Apache in behaviour after 'FIN
ACK'.
A.Nginx
Nginx logs '499' error and finish conversation immediately.
B.Apache doesn't log anthying at this step. After 120 seconds(sleep timer
in PHP) from request it returns expected html. Of course Firefox don't render it but I could confirm both of request and response from Wireshark's 'Follow TCP Stream' function. Finally it is logged with http status code 200 at httpd log file.
I repeated this test several times. Actual timeout period varies from 22
to 70 seconds but results are same.
With my understanding, the browser is expected to show 'time out error'
after such situation but it doesn't show anything. So end user can't
know what happend.
*What I tried to solve the problem
*disabled all extentions other than firebug.
*set 'network.tcp.keepalive.enabled' to false at about:config.
*set 'network.http.spdy.enabled' to false, too.
*set 'network.http.response.timeout' to 0.
*disabled IPV6 and DNS prefetch seeing the following help.
https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
*changed Timeout to 0 at apche's http.conf.
My purpose is make our web apps to work properly in our working environment. I've recommended Firefox to our collegues because it was very cool application. Changing the default brawser is nightmare to me. Any suggestions are welcome.
<test php>
<?php sleep(120); ?>
<?php echo time(); ?>duplicate of [/questions/1047223]
*Summary
Firefox aborts its http request within almost 60 seconds(period till
timeout varies) and tells nothing to users. This happened with both of
Nginx and Apache.
*Environment
Client browser: Firefox 35.0.1
Client OS: Windows 7 Enterprise 32bit SP1
Web Server: Apache 2.2.3-91 & Nginx 1.6.2-1
Server OS: CentOS 5.11
PHP: 5.3.3
FastCGI: spawn-fcgi-1.6.3-1
*Description of the issue
I have noticed that nginx logs http response code 499 so often.
We use nginx almost only for two web applications, the one based on PHP
and others on ruby. We experiences this problem in both apps. The server and client PC belong to the same subnet.
Since last month, nginx logged 624 errors for Firefox and 16 for other
browsers(almost IE).
So for test, I wrote the simple PHP (see the bottom of this article) and tried to access it
through both of Apache & Nginx with Firefox 35.0.1 and IE 11. IE11
waited 120 seconds and returned html successfully through both of nginx
and Apache, but Firefox failed either.
Let me describe Firefox's behaviour.
1. Enter the test php url at location bar and press enter.
2. The message 'waiting server response' appears at status bar for a while.
3. Watching network conversation through Wireshark, 'Keep Alive' signals
are repeated some times between server and client, and after that,
4. The message dissappears. 'FIN' signal is sent to the server from the client just after that. Firebug logs 'Aborted' at the almost the same time.
5. The server responses 'FIN ACK.'
There is a bit difference with nginx and Apache in behaviour after 'FIN
ACK'.
A.Nginx
Nginx logs '499' error and finish conversation immediately.
B.Apache doesn't log anthying at this step. After 120 seconds(sleep timer
in PHP) from request it returns expected html. Of course Firefox don't render it but I could confirm both of request and response from Wireshark's 'Follow TCP Stream' function. Finally it is logged with http status code 200 at httpd log file.
I repeated this test several times. Actual timeout period varies from 22
to 70 seconds but results are same.
With my understanding, the browser is expected to show 'time out error'
after such situation but it doesn't show anything. So end user can't
know what happend.
*What I tried to solve the problem
*disabled all extentions other than firebug.
*set 'network.tcp.keepalive.enabled' to false at about:config.
*set 'network.http.spdy.enabled' to false, too.
*set 'network.http.response.timeout' to 0.
*disabled IPV6 and DNS prefetch seeing the following help.
https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors
*changed Timeout to 0 at apche's http.conf.
My purpose is make our web apps to work properly in our working environment. I've recommended Firefox to our collegues because it was very cool application. Changing the default brawser is nightmare to me. Any suggestions are welcome.
<test php>
<?php sleep(120); ?>
<?php echo time(); ?>
Maybe you are looking for
-
Hi, I have done a search on the threads with null value in LOVs but it has not helped me understand the situation any better. currently i have two select lists on a form, customer and project. customers have many projects - and the only mandatory fie
-
My itunes account doesn't list "devices" above the playlist, as the syncing instructions give. How can I sync the itunes I have purchased & downloaded to my computer, to my ipod shuffle? The device is plugged into my computer, but nothing happens.
-
Settle Secondary Cost from WBS to AUC
Hi Sapiens, Business Requirement --> Budget Control for all Material Procurement, thereafter settlement of cost thus booked under WBS to AUC or Asset as the case maybe. Current Setup --> Material/Inventory/Balance Sheet A/c has been made Statistical
-
Hi, I am working with workflow WS10000051. It triggers the workflow WS10000052 and WS10000053. Everything is working fine with 2 level approval. My problem is, there are 4 end users who park the document. User1, User2 and User3 parked documents has t
-
Permanent SSL connection in background (own poll/push service)
Hello I'm new here and I will first say hello! I'm 46 years old and I am from Germany. I work as an software developer since 1993 and I know, my English isn't the best ;-)! Now to my questions: I have written a client Server application which is a se