Good luck, 7-point plane, 3:30 to solve a difficult problem, this problem does not deal with, you have to change the ticket tomorrow to finish processing to go. Think about it, it's all luck.
The question was debugged for 1 days and a half, almost hopeless.
This is the case, the system has a PDF signature function, after the end of the workflow, the user can download the Pdf,pdf build process is the system to generate Word documents, initiate an HTTP request, transfer to another server deployed Pdfserver, Pdfserver to another server's signature service request seal, and Word document merge, generate PDF, and finally return to the system, pop-up download box for users to download.
Pdfserver is developed by our company, the former responsible colleague left, there is no source code, generate PDF with the framework is Jacob, the reason and the Linux-deployed system is separate because Linux generated PDF garbled, so deployed under Windows.
The seal service is provided by another vendor.
Pdfserver and seal Service just did the migration, changed the server, changed the IP, the migration is the customer company's staff small L completed.
~ ~ ~ above is background ~ ~ ~
The first suspicion is that the file is not uploaded successfully, trace the whereabouts of the file, found Pdfserver configuration is a problem, configuration is the temporary directory E, the server has c,d,f,g disk, but there is no e-disk, here vomiting blood one or two.
Modify the configuration, refers to the D drive, but the temporary directory is still no files, suspected configuration is not effective, once wanted to use partition software to separate an e disk, due to the server configuration is too low, too card, partition software can not open, and further customer company leader warning
The problem to be with me desperately, above the deployment of PDM system, out of the question, do not want to go, then stop.
Fortunately old Pdfserver still running, cut over to see, no problem ah, Pdfserver can generate return PDF document, but seal service error, can't find seal, seal service manufacturer engineer Small M phone, a sweat, small m of the idea is very messy, feel that this is not familiar, And this feeling very similar once is a YX company engineer, almost did not resist curse.
Well, it's no good counting on others. This problem check for a full half a day, and finally used this computer small Q said this computer generated signature problems, has been generated, so small l key and computer, all normal! Here vomiting blood a catty.
OK, the problem is finally fixed, is pdfserver have the problem, cut back test. Anti-compilation look at the code, the configuration should be effective. No way, the phone to find the former staff to source code, build the environment, in each key place output log, copy class to the server (customer is a secret unit, the computer can only be encrypted by hardware copy files, can only copy files to the computer, can not be copied from the computer, not to mention connected to the tune, so all changes are blind tune, The customer is not allowed to have a test environment). This time there is a PDF back, but the size is only 1kb, not normal, the document cannot be opened. All services in the middle have not been error-free.
Toss is a meal toss, is about to collapse. The water is not drinking, the toilet has no chance. Is it easy to make money to support my family?
The last reason is that the server does not have the PDF plugin for Office installed, and the server can be restarted.
The middle also found a problem is the signature service also has a MySQL database, small l did not synchronize with the original database, but let two services parallel one day, here vomiting blood 22.
This is the whole process.
Before the company used all the new technology, Docker,angular,dubbo,mybatis, and then come back with these old technologies. Deeply feel the benefits of new technology, it is not a sentence of two words can be said, maintainability, testability, the whole has a magnitude of ascension.
Oh, is there another way ahead?
How big a hole there is in the heart.