Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

What is the impact of the business calendar log messages

SA-7965

Summary



You get an error stating that the business calendar object could not be found.  When you turn on DEBUG for the class com.pega.pegarules.priv.businessCalendar.CalendarUtility you discover that the calendar that cannot be found is not a calendar that you have any references to in the system.

You want to know why this unknown calendar is referenced, and what the impact is of not finding the calendar.

Error Messages



2015-01-30 07:47:19,042 [ WebContainer : 4] [TABTHREAD0] [ TEST:01.03.05] (ed.pega_rules_businesscalendar) FATAL mycomputer.mycompany.com|10.92.20.194 Operator - The business calendar object could not be found

Steps to Reproduce



Create a case.

Root Cause



The root cause of this problem is a defect in customer application code/rules. Data comes in from external systems via SOAP.  The reference to the particular calendar is coming in via the SOAP request.


Resolution



The explanation for this behavior is as follows: The reference to the particular calendar is coming in via the SOAP request.  The error message comes from one of these Rule-Utility-Function calls which attempts to use this calendar:
 
BusinessCalendar addDays--(String,int,boolean,String)

BusinessCalendar addDays--(String,int,boolean,String,String)

BusinessCalendar addTime

BusinessCalendar differenceBetweenDateTimes

BusinessCalendar differenceBetweenDays

 
When these functions cannot find the reference calendar, they use the Default calendar on the same operation.  As there may be differences between the Default calendar and the unknown Calendar (which may exist in some external system), you should determine where that unknown calendar resides and decide if you need to incorporate that calendar into your Pega application; or if you can continue with the use of the Default calendar, as well as the continual error messages in the log.

To determine the name of the unknown Calendar, you can  turn on DEBUG for the class com.pega.pegarules.priv.businessCalendar.CalendarUtility.  You will then see a DEBUG message in the PegaRules log file which identifies the unknown calendar similar to this:

 
-  Loading calendar = myUnknownCalendar
-  load calendar myUnknownCalendar failed returning false
-  The business calendar object could not be found 

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us