Bypassing the problem is also a capability--to remember the interface problem

Source: Internet
Author: User

Feedback received on-site implementation: Now there is a system slow, the whole system stuck. Diagnostic process:

1. Check the application log, that is, the WebLogic log, found a blocked thread, the code is called the interface

<2014-7-10 03:47 P.M. 30 sec cst> <Error> <WebLogicServer> <BEA-000337> <executethread: ' 7 ' for Queue: ' Default ' has been busy for "994" seconds working on the request "Http request:/web/dwr/call/plaincall/tododwr.get Todoclassifylist.dwr ", which is more than the configured time (stuckthreadmaxtime) of" all "seconds.>

2. Check the database report and find that the load is small, to infer that the problem is not at the database level today.

3. Continue to analyze the code of the interface, discovering that the business is very easy, is to call a webservices. Overjoyed. Navigate to the interface without time-out, to develop plus, and then send an increment to the field.

After the field increment. Or is it blocked one day. The problem is not resolved and the timeout setting for the interface does not take effect? But in the local test is able to.

Continue parsing the interface code. found that the interface is implemented through XFile, the version number is 1.4.2, on the internet to find a corresponding setting method, there are three kinds. All plus go. The increase did not solve the problem.

Because you can't find a problem, just bypass xifile, rewrite the interface, and call the interface in axis. Increment up. Problem solving. It took two weeks to complete the settlement process.

Summary: when encountering a problem is not solved, can consider around the past, in other ways to solve.

Of course, can not encounter problems on the past, how to grasp, to rely on their own, the event about the interface part of the adjustment, in the Internet to find a long-time solution, the same time also looked for the company to write interface the most professional people to support the diagnosis, so they can not solve, only to bypass. For an open source architecture. Can not all believe, the use of it, must be very mature, use a wide range of talents in the project use, otherwise. There must be a time for remorse.

Bypassing the problem is also a capability--to remember the interface problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.