Error in CSA, does not read the XML files in MPP after Upgrade

  • KM03293615
  • 27-Nov-2018
  • 27-Nov-2018

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

After upgraded to CSA 9.92 from CSA 4.70. MPP does read the XML and show an error with the JSP ERROR [] PropertyServiceImpl: An error occurred in the JSP or JS file. (URL = https://<>:8444/csa/propertysources/csa-db-query.jsp, message: Error </ title> </ head > <body> Internal Server Error </ body> </ html>) </div> </div> <div class="sparks-km-question"> <h2 class="sparks-km-heading">Question</h2> <div class="sparks-km-content"> <div> Environment  upgraded to CSA 4.92 from CSA 4.70 on Operating System Linux Redhat.</div> <div> After migrating the tool, provisioning tests are carried out in MPP, but they do not load all the options since they can not read the options of the xml file, I see in the logs and I have the following error:</div> <div> 27 Oct 2018 00: 05: 39,136 [default task-173] ERROR [] PropertyServiceImpl: An error occurred in the JSP or JS file. (URL = https://<<FQDN>>:8444/csa/propertysources/csa-db-query.jsp, message: <html> <head> <title> Error </ title> </ head > <body> Internal Server Error </ body> </ html>)</div> <div> 27 Oct 2018 00: 05: 39,143 [default task-173] ERROR [] ErrorMessageBuilder: Error</div> <div> com.hp.ccue.mpp.dao.util.MPPException: com.hp.csa.exception.ApplicationException: An error occurred in the JSP or JS file. (URL = https://<<FQDN>>:8444/csa/propertysources/csa-db-query.jsp, message: <html> <head> <title> Error </ title> </ head > <body> Internal Server Error </ body> </ html>)</div> <div> After the upgrade the system is not able to read anything of the XMLs that worked in the previous version.</div> </div> </div> <div class="sparks-km-answer"> <h2 class="sparks-km-heading">Answer</h2> <div class="sparks-km-content"> <p>The error on server.log:<br/>***********************<br/>JBWEB004061: An error occurred at line: 23 in the generated java file<br/>Only a type can be imported. com.hp.ccue.crypto.util.AESHelper resolves to a package<br/>JBWEB004060: An error occurred at line: 63 in the jsp file: /propertysources/csa-db-query.jsp<br/>AESHelper cannot be resolved to a type<br/>***********************<br/>I searched some article on internet:<br/>https://developer.jboss.org/thread/77444<br/>The issue is the Jar which is including ASHelper is not in the path WEB-INF\\lib, I searched my CSA lab 4.92 and the name of Jar is:<br/>cryptoUtil-1.0.3.jar in folder C:\\Program Files\\Micro Focus\\CSA\\workflow-designer\\designer\\tomcat\\temp\\0-oo-designer\\WEB-INF\\lib<br/>So the action plan for your:<br/>- If you still have a CSA 4.7 environment, search for the path of cryptoUtil on old environment, then copy cryptoUtil-1.0.3.jar to the same folder on CSA 4.92<br/>- If you doesn't have a CSA 4.7 environment, copy the jar file to WEB-INF\\lib folder:<br/>CSA\\jboss-as\\standalone\\deployments\\csa.war\\WEB-INF\\lib (maybe we need this one only)<br/>CSA\\jboss-as\\standalone\\deployments\\idm-service.war\\WEB-INF\\lib<br/>After that restart service and the JSP should working fine.</p> <p>Solution:<br/>When installing the patch Removing many old libraries, we found the jsp that calls and placed in the missing routes</p> </div> </div> <div> </div> </section> <section id="kb-legal-print" class="col-lg-12 col-md-12 col-sm-12"> © <script type="text/javascript">var d = new Date(); document.write(d.getFullYear());</script> Micro Focus. Please see <a href="https://www.microfocus.com/about/legal/">Terms of Use</a> applicable to this content. </section> <!-- begin footer --> </main> <div class="clearfix"></div> <footer class="global-footer"> <div id="cookie_box"> <div class="cookies-alert active"> <div class="container"> <div class="row"> <div class="col-xs-11 col-lg-9"> <strong class="cookie-banner-title">We use cookies.</strong> <p>Micro Focus uses cookies to give you the best online experience. If you continue to use this site, you agree to the use of cookies. Please see our <a href="https://www.microfocus.com/about/legal/#cookies">cookie policy</a> for details.</p> </div> <div class="hidden-md-up col-xs-1 button-white-mobile">×</div> <div class="col-xs-12 col-sm-3 hidden-md-down"> <a class="button-white align-middle" href="#">Agree</a> </div> </div> </div> </div> </div> <div id="footer1"> <div class="ftr-container"> <div class="footer-section"> <h5>Discover</h5> <ul class="uk-list"> <li> <a href="https://www.microfocus.com/products"> Products </a> </li> <li> <a href="https://www.microfocus.com/select/partners"> Partners </a> </li> <li> <a href="https://www.microfocus.com/resources/events/"> Events & Webinars </a> </li> <li> <a target="_blank" href="https://marketplace.microfocus.com/?utm_source=software.microfocus.com"> Marketplace </a> </li> <li> <a target="_blank" href="http://techbeacon.com/?utm_source=software_microfocus"> TechBeacon </a> </li> </ul> </div> <div class="footer-section"> <h5>Resources</h5> <ul class="uk-list"> <li> <a href="https://www.microfocus.com/support-and-services/support-login/"> Support Login </a> </li> <li> <a href="https://www.microfocus.com/resources"> Resource Library </a> </li> <li> <a href="https://www.microfocus.com/free-trial"> Free Trials </a> </li> <li> <a target="_blank" href="https://community.softwaregrp.com/"> Community </a> </li> </ul> </div> <div class="footer-section"> <h5>Company</h5> <ul class="uk-list"> <li> <a href="https://www.microfocus.com/about/"> About </a> </li> <li> <a target="_blank" href="https://jobs.microfocus.com/"> Careers </a> </li> <li> <a href="https://www.microfocus.com/contact"> Contact Us </a> </li> <li> <a target="_blank" href="https://investors.microfocus.com/"> Investor Relations </a> </li> <li> <a target="_blank" href="https://blog.microfocus.com/"> Corporate Blog </a> </li> </ul> </div> <div class="footer-section"> <h5>Legal & Compliance</h5> <ul class="uk-list"> <li> <a href="https://www.microfocus.com/select/privacy-policy"> Privacy Policy </a> </li> <li> <a href="https://www.microfocus.com/select/terms-of-use"> Terms of Use </a> </li> <li> <a href="https://www.microfocus.com/about/legal/#code_of_conduct"> Code of Conduct </a> </li> <li> <a href="https://www.microfocus.com/about/section-508-compliance/"> Accessibility </a> </li> <li> <a href="https://www.microfocus.com/media/guide/anti-slavery-statement.pdf"> Anti-Slavery Statement </a> </li> <li> <a href="https://www.microfocus.com/media/documentation/micro_focus_international_plc_and_its_subsidiaries_tax_strategy_documentation.pdf"> Global Tax Strategy </a> </li> </ul> </div> <div id="footer-language" class="contact-language"> <span><span class="icon-globe"></span>  Language</span> <div class="lang-select popup"> <a href="https://www.microfocus.com/change-language/en-us/US/United+States" class=current data-country="en-us">English</a> <a href="https://www.microfocus.com/change-language/de-de/DE/Deutschland" data-country="de-de">Deutsch (German)</a> <a href="https://www.microfocus.com/change-language/es-es/MX/M%C3%A9xico" data-country="es-es">Español (Spanish)</a> <a href="https://www.microfocus.com/change-language/fr-fr/BE/Belgique" data-country="fr-fr">Français (French)</a> <a href="https://www.microfocus.com/change-language/it-it/IT/Italia" data-country="it-it">Italiano (Italian)</a> <a href="https://www.microfocus.com/change-language/ja-jp/US/United%20States" data-country="ja-jp">日本語 (Japanese)</a> <a href="https://www.microfocus.com/change-language/ko-kr/KR/Korea%2C+Republic+of" data-country="ko-kr">한국어 (Korean)</a> <a href="https://www.microfocus.com/change-language/pt-br/BR/Brasil" data-country="pt-br">Português (Portuguese)</a> <a href="https://www.microfocus.com/change-language/ru-ru/RU/%D0%A0%D0%BE%D1%81%D1%81%D0%B8%D1%8F" data-country="ru-ru">Русский (Russian)</a> <a href="https://www.microfocus.com/change-language/zh-cn/CN/%E4%B8%AD%E5%9B%BD" data-country="zh-cn">中文(简体) (Simplified Chinese)</a> <a href="https://www.microfocus.com/change-language/zh-tw/HK/%E9%A6%99%E6%B8%AF" data-country="zh-tw">中文(繁體) (Traditional Chinese)</a> </div> </div> </div> </div> <div id="footer2"> <div class="ftr-container"> <div class="uk-first-column"> <ul> <li> <a target="_blank" href="https://www.microfocus.com/select/privacy-policy"> Privacy Statement </a> </li> <li> <a target="_blank" href="https://www.microfocus.com/select/terms-of-use"> Terms of Use </a> </li> <li> <a href="https://www.microfocus.com/about/legal/#code_of_conduct"> Code of Conduct </a> </li> <li>© Copyright <script type="text/javascript">document.write(new Date().getFullYear());</script> Micro Focus or one of its affiliates</li> </ul> </div> <div class="social-links"> <ul> <li><a href="http://go.microfocus.com/facebook"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M11,10h2.6l0.4-3H11V5.3c0-0.9,0.2-1.5,1.5-1.5H14V1.1c-0.3,0-1-0.1-2.1-0.1C9.6,1,8,2.4,8,5v2H5.5v3H8v8h3V10z"></path></svg></a></li> <li><a href="http://go.microfocus.com/twitter"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M19,4.74 C18.339,5.029 17.626,5.229 16.881,5.32 C17.644,4.86 18.227,4.139 18.503,3.28 C17.79,3.7 17.001,4.009 16.159,4.17 C15.485,3.45 14.526,3 13.464,3 C11.423,3 9.771,4.66 9.771,6.7 C9.771,6.99 9.804,7.269 9.868,7.539 C6.795,7.38 4.076,5.919 2.254,3.679 C1.936,4.219 1.754,4.86 1.754,5.539 C1.754,6.82 2.405,7.95 3.397,8.61 C2.79,8.589 2.22,8.429 1.723,8.149 L1.723,8.189 C1.723,9.978 2.997,11.478 4.686,11.82 C4.376,11.899 4.049,11.939 3.713,11.939 C3.475,11.939 3.245,11.919 3.018,11.88 C3.49,13.349 4.852,14.419 6.469,14.449 C5.205,15.429 3.612,16.019 1.882,16.019 C1.583,16.019 1.29,16.009 1,15.969 C2.635,17.019 4.576,17.629 6.662,17.629 C13.454,17.629 17.17,12 17.17,7.129 C17.17,6.969 17.166,6.809 17.157,6.649 C17.879,6.129 18.504,5.478 19,4.74"></path></svg></a></li> <li><a href="http://go.microfocus.com/youtube"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M15,4.1c1,0.1,2.3,0,3,0.8c0.8,0.8,0.9,2.1,0.9,3.1C19,9.2,19,10.9,19,12c-0.1,1.1,0,2.4-0.5,3.4c-0.5,1.1-1.4,1.5-2.5,1.6 c-1.2,0.1-8.6,0.1-11,0c-1.1-0.1-2.4-0.1-3.2-1c-0.7-0.8-0.7-2-0.8-3C1,11.8,1,10.1,1,8.9c0-1.1,0-2.4,0.5-3.4C2,4.5,3,4.3,4.1,4.2 C5.3,4.1,12.6,4,15,4.1z M8,7.5v6l5.5-3L8,7.5z"></path></svg></a></li> <li><a href="http://go.microfocus.com/linkedin"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M5.77,17.89 L5.77,7.17 L2.21,7.17 L2.21,17.89 L5.77,17.89 L5.77,17.89 Z M3.99,5.71 C5.23,5.71 6.01,4.89 6.01,3.86 C5.99,2.8 5.24,2 4.02,2 C2.8,2 2,2.8 2,3.85 C2,4.88 2.77,5.7 3.97,5.7 L3.99,5.7 L3.99,5.71 L3.99,5.71 Z"></path> <path d="M7.75,17.89 L11.31,17.89 L11.31,11.9 C11.31,11.58 11.33,11.26 11.43,11.03 C11.69,10.39 12.27,9.73 13.26,9.73 C14.55,9.73 15.06,10.71 15.06,12.15 L15.06,17.89 L18.62,17.89 L18.62,11.74 C18.62,8.45 16.86,6.92 14.52,6.92 C12.6,6.92 11.75,7.99 11.28,8.73 L11.3,8.73 L11.3,7.17 L7.75,7.17 C7.79,8.17 7.75,17.89 7.75,17.89 L7.75,17.89 L7.75,17.89 Z"></path></svg></a></li> </ul> </div> </div> </div> </footer> <div class="modal fade" id="untranslated-pg-modal" tabindex="-2" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><span class="icon-close"></span></span></button> </div> <div class="modal-body"> <div class="row"> <div class="col-sm-12 content"> <p class="message">The translated version of this page is coming soon. In the meantime, content will appear in standard North American English.</p> <div class="hide-msg"><input type="checkbox" id="dont_show_again" /> Don't show this message again</div> </div> <div class="clear"></div> </div> </div> </div> </div> </div> <div id="videoModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body" id="videoModalBody"></div> </div> </div> </div> <script> function inArray(current_url) { var length = untranslated_urls.length; for(var i = 0; i < length; i++) { if(untranslated_urls[i] == current_url) return true; } return false; } $(function() { // if on a lang path that is in the untranslated-urls.js array, show translation coming soon message popup }); </script> <script type="text/javascript" src="https://www.microfocus.com/min/?b=assets/js&f=vendor/bootstrap.js,core.js,carousel.js,scroll-to-top.js,vendor/intro.js,walkthrough-cmd.js,home.js,formbuilder.js,untranslated-urls.js&v=24"></script> <script> var cludoEngineId = 8894; var cludoLang = "en"; var cludoPlaceholder = ""; var cludoSearchPath = "/search/"; if(location.pathname.indexOf("/de-de/") === 0) { cludoEngineId = 9536; cludoLang = "de"; cludoPlaceholder = "Suchen"; cludoSearchPath = "/de-de/search/"; } else if(location.pathname.indexOf("/fr-fr/") === 0) { cludoEngineId = 9538; cludoLang = "fr"; cludoPlaceholder = "Chercher"; cludoSearchPath = "/fr-fr/search/"; } else if(location.pathname.indexOf("/it-it/") === 0) { cludoEngineId = 9539; cludoLang = "it"; cludoPlaceholder = "Cercare"; cludoSearchPath = "/it-it/search/"; } else if(location.pathname.indexOf("/ja-jp/") === 0) { cludoEngineId = 9540; cludoLang = "jp"; cludoPlaceholder = "探す"; cludoSearchPath = "/ja-jp/search/"; } else if(location.pathname.indexOf("/ko-ko/") === 0) { cludoEngineId = 9541; cludoLang = "ko"; cludoPlaceholder = "찾다"; cludoSearchPath = "/ko-ko/search/"; } else if(location.pathname.indexOf("/pt-br/") === 0) { cludoEngineId = 9542; cludoLang = "pt"; cludoPlaceholder = "Procurar"; cludoSearchPath = "/pt-br/search/"; } else if(location.pathname.indexOf("/zh-cn/") === 0) { cludoEngineId = 9543; cludoLang = "zh"; cludoPlaceholder = "搜索"; cludoSearchPath = "/zh-cn/search/"; } else if(location.pathname.indexOf("/zh-tw/") === 0) { cludoEngineId = 9543; cludoLang = "zh"; cludoPlaceholder = "搜索"; cludoSearchPath = "/zh-tw/search/"; } else if(location.pathname.indexOf("/es-es/") === 0) { cludoEngineId = 9537; cludoLang = "es"; cludoPlaceholder = "Buscar"; cludoSearchPath = "/es-es/search/"; } </script> <!-- www.Cludo.com search start JS --> <!--[if lte IE 9]> <script src="https://api.cludo.com/scripts/xdomain.js" slave="https://api.cludo.com/proxy.html"></script> <![endif]--> <!-- www.Cludo.com search end JS --> <!-- www.Cludo.com Search body init script start --> <script src="https://customer.cludo.com/scripts/bundles/search-script.min.js"></script> <script src="https://customer.cludo.com/assets/697/8894/cludo-search.min.js"></script> <script> var CludoSearch; (function () { var cludoSettings = { customerId: 697, engineId: cludoEngineId, searchUrl: "https://www.microfocus.com" + cludoSearchPath, searchInputs: ["cludo-search-form","cludo-search-top","cludo-search-mobile-form"], initSearchBoxText: cludoPlaceholder, language: cludoLang, facets: ["Category", "TopCategory", "SubCategory", "HostSite"], loading: "<img src='https://customer.cludo.com/img/Rolling.svg' alt='Loading' class='loading' role='progressbar' />", sortOrder: {}, richAutocomplete: true }; CludoSearch= new Cludo(cludoSettings); CludoSearch.init(); })(); </script> <!-- www.Cludo.com Search body init script end --> </body> </html>