JCO Handle Target System Down
I have a WebDynpro application that uses JCO to connect to several backend SAP systems. Occasionally, these backend systems are brought down for scheduled maintenance. My application, however, still needs to run during this backend downtime. I need my application to simply "ignore" that the backend system is down for maintenance.
Currently, my application does not ignore this situation. The following error is thrown:
Could not create JCOClientConnection for logical System: WD_UWLITEMCOUNT_MODELDATA_DEST - Model: class com.company.employeeservices.cpt.models.CPTUWLInboxCount. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
And worse, my application performance degrades overall significantly. Our volume testing grinds to a halt. I suspect this is happening because numerous, concurrent users are making requests to the WD application, and each JCO request waits for a response from the dead server.
What is the proper manner for configuring/coding the JCO connections such that they handle the target system being down occassionally?
Thank you for any help you could provide.