When trying to use CA Service Desk Manager (CA SDM) Mobile Enabler to access Approvals/Analyst capability or trying to use CA Service Desk Manager's REST API, we get an HTTP error 404 Not Found

Document ID : KB000019999
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

CA SDM release 12.7 offers Representational State Transfer (REST) API lets application, integration, and web developers build UIs and applications for devices such as tablet computers and smartphones. Users such as analysts, employees, and customers can then use the UI or application on these devices. For example, application developers can develop a CA SDM UI that lets analysts use devices to update tickets.

The CA SDM System Administrator enables REST Web Services during the CA SDM configuration, by enabling the Configure REST Web Services option, and following the prompts. During the deploy of the REST Web Services module, any unexpected errors during the deploy may not be trapped properly.

This document shows couple of scenarios to watch out for to ensure that the deploy was successful, which in turn would prevent the HTTP error " 404 Not Found" when trying to use CA SDM REST Web Services.

Solution:

  1. Check for existence of NX_ROOT/bopcfg/www/CATALINA_BASE_REST/webapps/caisd-rest. If this directory does NOT exist, that's a very good indication that the REST deploy did not work properly.

  2. Review NX_ROOT/log/jrest.log file and look for any unexpected errors there.

    A BAD Case of a REST deploy would have errors like this:
    08/21 10:17:08.472 [main] INFO  Pdm_rest_util 566 Pdm_rest_util started. Arguments: -deploy 
    08/21 10:17:08.535 [main] INFO  Pdm_rest_util 566 Generating Java source files for all Majic factories to C:/PROGRA~2/CA/SERVIC~1\temp\REST_APP\source\ 
    08/21 10:17:09.611 [main] ERROR TCP_port 411 java.net.ConnectException: Connection refused: connect 
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.(Unknown Source)
         at java.net.Socket.(Unknown Source)
         at com.ca.ServicePlus.slump.TCP_port.connect(TCP_port.java:369)
         at com.ca.ServicePlus.slump.SLUMP.doSlumpLogon(SLUMP.java:483)
         at com.ca.ServicePlus.slump.SLUMP.logonUnconditional(SLUMP.java:439)
         at com.ca.ServicePlus.rest.restutil.JavaCodeGeneratorImpl.initJavaSlump(JavaCodeGeneratorImpl.java:210)
         at com.ca.ServicePlus.rest.restutil.JavaCodeGeneratorImpl.init(JavaCodeGeneratorImpl.java:162)
         at com.ca.ServicePlus.rest.restutil.JavaCodeGeneratorImpl.generate(JavaCodeGeneratorImpl.java:284)
         at com.ca.ServicePlus.rest.restutil.Pdm_rest_util.execute(Pdm_rest_util.java:357)
         at com.ca.ServicePlus.rest.restutil.Pdm_rest_util.main(Pdm_rest_util.java:268)
    08/21 10:17:09.648 [main] ERROR SLUMP 525 Can't logon to slump - check server daemons: java.io.IOException: java.net.ConnectException: Connection refused: connect 

    A GOOD case should have something like below:
    08/21 11:34:03.777 [main] INFO  Pdm_rest_util 566 Pdm_rest_util started. Arguments: -deploy 
    08/21 11:34:03.880 [main] INFO  Pdm_rest_util 566 Generating Java source files for all Majic factories to C:/PROGRA~2/CA/SERVIC~1\temp\REST_APP\source\ 
    08/21 11:34:04.086 [main] INFO  JavaCodeGeneratorImpl 215 SLUMP login as 'pdm_rest_util:SDM_HostName' succeeded! 
    08/21 11:34:04.803 [main] INFO  JavaCodeGeneratorImpl 183 Object initialization done. Successfully retrieved all Majic definitions from domsrvr. 
    08/21 11:34:20.029 [main] INFO  JavaCodeGeneratorImpl 342 Template copied: C:/PROGRA~2/CA/SERVIC~1\temp\REST_APP\source\com/ca/ServicePlus/rest/sdm/service/FileUploadUtils.java 
    08/21 11:34:20.131 [main] INFO  JavaCodeGeneratorImpl 241 Successfully disconnected from SLUMP! 
    08/21 11:34:20.207 [main] INFO  Pdm_rest_util 566 Compiling Java source files to C:/PROGRA~2/CA/SERVIC~1\temp\SDM-REST\WEB-INF\classes\ 
    08/21 11:34:37.312 [deploy_thread] INFO  Pdm_rest_util 566 Deploying WAR file to C:/PROGRA~2/CA/SERVIC~1\bopcfg\www\CATALINA_BASE_REST\webapps\ 
    08/21 11:34:53.771 [javadoc_thread] INFO  Pdm_rest_util 566 Generating API documentation for REST services to C:/PROGRA~2/CA/SERVIC~1\doc\REST 
    08/21 11:34:55.702 [deploy_thread] INFO  Pdm_rest_util 566 Completed deploying WAR file. 
    08/21 11:35:02.947 [pool-2-thread-2] INFO  RestContextListener 174 CAisd-REST context has been initialised 
    08/21 11:35:03.132 [pool-2-thread-2] INFO  ContextLoader 189 Root WebApplicationContext: initialization started 
    08/21 11:35:03.170 [pool-2-thread-2] INFO  XmlWebApplicationContext 411 Refreshing org.springframework.web.context.support.XmlWebApplicationContext@52f73e: display name [Root WebApplicationContext]; startup date [Wed Aug 21 11:35:03 EDT 2013]; root of context hierarchy 
    08/21 11:35:03.225 [pool-2-thread-2] INFO  XmlBeanDefinitionReader 323 Loading XML bean definitions from ServletContext resource [/WEB-INF/beans.xml] 
    08/21 11:35:03.446 [pool-2-thread-2] INFO  XmlBeanDefinitionReader 323 Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml] 
    08/21 11:35:03.507 [pool-2-thread-2] INFO  XmlBeanDefinitionReader 323 Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml] 
    08/21 11:35:03.528 [pool-2-thread-2] INFO  XmlBeanDefinitionReader 323 Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxrs-binding.xml] 
    08/21 11:35:03.773 [pool-2-thread-2] INFO  XmlWebApplicationContext 426 Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@52f73e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@c1df71 
    08/21 11:35:07.847 [pool-2-thread-2] INFO  DefaultListableBeanFactory 414 Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c1df71: defining beans [cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.transport.servlet.ServletTransportFactory,org.apache.cxf.jaxrs.JAXRSBindingFactory,cxf.config0,CustomInterceptor,feedBuilder,entryBuilder,acctypService,acctyp_roleService,acc_lvlsService,actboolService,actlog_prod_listService,actrboolService,act_type_assocService,act_type_assoc_allService,ADMIN_TREEService,agtService,algService,all_fmgrpService,all_lrService,al_user_ticketService,ambiguity_twaciService,am_asset_mapService,ANIService,apiService,app_extxService,app_inhxService,arcpur_histService,arcpur_ruleService,arg_historyService,assetService,assetx_prod_listService,atevService,atomic_condService,attached_slaService,attmntService,attmnt_folderService,attr_aliasService,attr_controlService,atyService,audlogService,auto_closeService,bhvtplService,bhvtpl_wftplService,bmhierService,bmsService,boolService,bopsidService,BU_TRANSService,caextwf_instService,caextwf_sfrmService,ca_application_registrationService,ca_assetService,ca_asset_lifecycle_statusService,ca_asset_sourceService,ca_asset_source_unrestrictedService,ca_asset_subschemaService,ca_asset_typeService,ca_cmpnyService,ca_discovered_hardwareService,ca_logical_assetService,ca_logical_asset_propertyService,ca_touService,chgalgService,chgatyService,chgcatService,chgcat_ssService,chgcnfService,chgcnf_chgService,chgcnf_statusService,chgcnf_typeService,chgService,chgstatService,chgtypeService,chg_tplService,chg_transService,cialgService,CI_ACTIONSService,CI_ACTIONS_ALTERNATEService,ci_auditService,CI_BOOKMARKSService,CI_DOC_LINKSService,CI_DOC_TEMPLATESService,CI_DOC_TYPESService,ci_managed_attributeService,ci_managed_chgstatService,ci_mdr_idmapService,ci_mdr_providerService,ci_mdr_snapshotService,ci_planned_changeService,ci_planned_change_statusService,CI_PRIORITIESService,ci_rel_typeService,CI_STATUSESService,ci_twa_ciService,ci_twa_relationService,ci_twa_statusnamesService,ci_verification_logService,ci_verification_policyService,ci_verification_policy_actService,ci_verification_twa_actService,CI_WF_TEMPLATESService,ci_windowService,closure_codeService,cmthService,cnoteService,cntalgService,cntService,cntxService,cnt_roleService,contact_handlingService,conxService,cost_cntrService,countryService,cratyService,crService,crsolService,crsqService,crsService,crs_crService,crs_inService,crs_prService,crtService,cr_prpService,cr_prptplService,cr_tplService,cr_transService,cstService,ctabService,ctimerService,ctpService,dat_basxService,dblocksService,dconService,dcon_typService,dependent_controlService,deptService,dlgsrvrService,dmnService,docxService,doc_repService,DOC_VERSIONSService,EBR_ACRONYMSService,EBR_DICTIONARYService,EBR_DICTIONARY_ADMService,EBR_FULLTEXTService,EBR_FULLTEXT_ADMService,EBR_KSService,EBR_KS_ACCESSService,EBR_KS_INDEXING_QUEUEService,EBR_LOGService,EBR_METRICSService,EBR_NOISE_WORDSService,EBR_PATTERNSService,EBR_PREFIXESService,EBR_PROPERTIESService,EBR_SUBSTITSService,EBR_SUFFIXESService,EBR_SYNONYMSService,EBR_SYNONYMS_ADMService,edit_macrosService,email_typeService,entservxService,enttxService,ES_CONSTANTSService,ES_NODESService,ES_RESPONSESService,ES_SESSIONSService,event_logService,event_prod_listService,event_typeService,evtdlyService,evtdlytpService,evtService,exlist_formatService,ext_entity_mapService,fac_acxService,fac_firexService,fac_furnxService,fac_othxService,fac_upsxService,fmgrpService,func_accessService,func_access_levelService,func_access_roleService,func_access_typeService,gl_codeService,grcService,grpmemService,grpService,har_lparxService,har_maixService,har_monxService,har_othxService,har_prixService,har_serxService,har_stoxService,har_virxService,har_worxService,help_contentService,help_itemService,help_lookupService,help_setService,hierService,ical_alarmService,ical_event_prod_listService,ical_event_templateService,impService,INDEX_DOC_LINKSService,inService,interface_typeService,intfcService,invidexService,invothxService,invprjxService,in_transService,issalgService,issatyService,isscatService,isscat_ssService,issService,issstatService,iss_prpService,iss_tplService,iss_transService,iss_wfService,job_funcService,KCATService,kcdService,kcService,kdatyService,kdlinksService,KDService,KD_ALLService,KD_ATTMNTService,KD_FILEService,KD_QAService,KD_SAVE_ASService,KD_TASKService,KEIT_IMPORT_PACKAGESService,KEIT_TEMPLATESService,KEIT_TRANSACTIONSService,KEIT_TRANSACTION_STATUSESService,ktdService,KT_ACT_CONTENTService,KT_BLCService,KT_BLC_TYPEService,kt_embeddedService,KT_FILE_TYPEService,KT_FLG_STATUSService,KT_FLG_TYPEService,KT_FREE_TEXTService,KT_KCAT_NTFService,KT_LIFE_CYCLE_REPService,KT_QA_RESP_TYPEService,KT_QA_STATUSService,KT_REPORT_CARDService,KT_STATUS_ROLEService,kwrdService,ldapService,ldap_groupService,locService,locxService,LONG_TEXTSService,lrel_asset_chgnrService,lrel_asset_issnrService,lrel_attachments_changesService,lrel_attachments_issuesService,lrel_attachments_requestsService,lrel_att_cntlist_macro_ntfService,lrel_att_ctplist_macro_ntfService,lrel_att_ntflist_macro_ntfService,lrel_aty_eventsService,lrel_cenv_cntrefService,lrel_dist_cntlist_mgs_ntfService,lrel_dist_ctplist_mgs_ntfService,lrel_dist_ntflist_mgs_ntfService,lrel_false_action_act_fService,lrel_false_bhv_falseService,lrel_kwrds_crsolrefService,lrel_notify_list_cntchgntfService,lrel_notify_list_cntissntfService,lrel_notify_list_cntntfService,lrel_ntfr_cntlist_att_ntfrlistService,lrel_ntfr_ctplist_att_ntfrlistService,lrel_ntfr_macrolist_att_ntfrlistService,lrel_ntfr_ntflist_att_ntfrlistService,lrel_oenv_orgrefService,lrel_status_codes_tsktypesService,lrel_svc_grps_svc_chgcatService,lrel_svc_grps_svc_isscatService,lrel_svc_grps_svc_pcatService,lrel_svc_grps_svc_wftplService,lrel_svc_locs_svc_chgcatService,lrel_svc_locs_svc_groupsService,lrel_svc_locs_svc_isscatService,lrel_svc_locs_svc_pcatService,lrel_svc_schedules_chgcat_svcService,lrel_svc_schedules_isscat_svcService,lrel_svc_schedules_pcat_svcService,lrel_true_action_act_tService,lrel_true_bhv_trueService,lrService,macroService,macro_prod_listService,macro_typeService,mailboxService,mailbox_artifact_typeService,mailbox_ruleService,mailbox_violation_log_typeService,mb_rule_action_typeService,mb_rule_filter_typeService,mb_rule_subject_handlingService,menu_barService,menu_treeService,menu_tree_nameService,menu_tree_resService,mfrmodService,mgsalgService,mgsatyService,mgsService,mgsstatService,MSysConfService,net_brixService,net_cluxService,net_conxService,net_froxService,net_gatxService,net_hubxService,net_nicxService,net_othxService,net_perxService,net_porxService,net_rgrpxService,net_rouxService,net_rsrcxService,node_prod_listService,NOTIFICATIONService,notification_phraseService,notqueService,noturgService,no_contract_sdscService,nraService,nrfService,nrService,nr_comService,ntflService,ntfmService,ntfm_prod_listService,ntfrService,ntfr_prod_listService,OA_COLUMNSService,OA_FKEYSService,OA_INFOService,OA_PROCCOLUMNSService,OA_PROCService,OA_STATISTICSService,OA_TABLESService,OA_TYPESService,object_notify_prod_listService,opsysService,opsysxService,optionsService,orgService,orgxService,outage_typeService,O_COMMENTSService,O_EVENTSService,pcatService,pcat_crService,pcat_cr_ssService,pcat_inService,pcat_in_ssService,pcat_prService,pdmMacroControlTypeService,pdmMacroParamService,pdmMacroParamTypeService,pdmMacroService,pdmMacroTypeService,perscntService,positionService,prio_service_typeService,priService,pri_calService,prodService,prod_listService,projexService,prpService,prptplService,prptpl_chgcatService,prptpl_isscatService,prpvalService,prpval_ruleService,prpval_typeService,prService,pr_transService,P_GROUPSService,qp_chg_cntService,qp_chg_ntflService,qp_cr_cntService,qp_cr_ntflService,qp_iss_cntService,qp_iss_ntflService,QUERY_POLICYService,QUERY_POLICY_ACTIONSService,quick_tpl_typesService,rcService,record_lockService,report_labelsService,resocodeService,resomethodService,responseService,rest_accessService,rev_boolService,risk_levelService,risk_rangeService,risk_svyService,risk_svy_answerService,risk_svy_atplService,risk_svy_qtplService,risk_svy_questionService,risk_svy_tplService,roleService,role_go_formService,role_tabService,role_web_formService,rptmethService,rptmService,rrfService,rssService,sapolicyService,saprobtypService,sa_agent_availabilityService,sa_agent_consult_historyService,sa_agent_present_historyService,sa_agent_status_historyService,sa_alert_config_paramService,sa_art_tool_availService,sa_bin_tempService,sa_brandingService,sa_chat_presetService,sa_chat_preset_agent_catService,sa_chat_preset_categoryService,sa_chat_preset_cat_locService,sa_chat_preset_localizedService,sa_chat_preset_textService,sa_chat_preset_text_localizedService,sa_chat_preset_typeService,sa_chat_preset_urlService,sa_chat_preset_url_localizedService,sa_comm_tempService,sa_cr_templateService,sa_custom_categoryService,sa_datapool_channelService,sa_datapool_channel_userService,sa_data_routing_serverService,sa_debug_logService,sa_default_credentialService,sa_direct_sessionService,sa_direct_session_pageService,sa_direct_session_presetService,sa_disclaimerService,sa_disclaimer_accept_logService,sa_disclaimer_historyService,sa_disclaimer_localizedService,sa_display_template_locService,sa_division_login_scriptService,sa_division_role_joinService,sa_division_tool_joinService,sa_event_historyService,sa_event_history_paramService,sa_event_typeService,sa_event_type_paramService,sa_fieldService,sa_field_typeService,sa_flow_control_ruleService,sa_function_argService,sa_groupService,sa_group_current_userService,sa_group_event_joinService,sa_group_historyService,sa_group_tool_invocationService,sa_guest_agent_codeService,sa_guest_profileService,sa_guest_user_fieldService,sa_hour_operation_modeService,sa_iss_templateService,sa_keywordService,sa_keyword_queue_joinService,sa_large_data_recordService,sa_lib_functionService,sa_localizationService,sa_localization_allService,sa_localization_enabledService,sa_login_sessionService,sa_milepostService,sa_milepost_historyService,sa_named_user_licenseService,sa_notifService,sa_patch_historyService,sa_portal_componentService,sa_propertyService,sa_queued_groupService,sa_queued_userService,sa_queueService,sa_queue_activeService,sa_queue_hour_settingService,sa_queue_localizedService,sa_queue_not_specialService,sa_queue_summary_fieldService,sa_queue_tool_joinService,sa_queue_transfer_targetService,sa_rejoin_code_mappingService,sa_roleService,sa_role_queue_joinService,sa_role_tool_joinService,sa_role_tool_non_art_joinService,sa_rule_conduit_ruleService,sa_scriptlibService,sa_scriptlib_languageService,sa_scriptService,sa_script_acquired_dataService,sa_script_execution_logService,sa_script_exec_log_joinService,sa_script_exec_statusService,sa_script_function_libService,sa_script_groupService,sa_script_role_joinService,sa_script_role_join_roleService,sa_script_role_join_scriptService,sa_script_security_joinService,sa_script_user_fieldService,sa_sdconfigService,sa_sdgroup_mapService,sa_sdsession_ticket_mapService,sa_sd_user_mapService,sa_security_groupService,sa_security_group_dirService,sa_security_group_functionService,sa_security_group_locService,sa_security_grp_role_joinService,sa_security_login_functionService,sa_security_request_orderService,sa_security_text_localizedService,sa_security_tool_functionService,sa_security_tool_localizedService,sa_security_user_directoryService,sa_self_serve_event_joinService,sa_self_serve_keywordService,sa_self_serve_login_fieldService,sa_self_serve_sessionService,sa_session_event_joinService,sa_session_login_fieldService,sa_session_security_infoService,sa_soundService,sa_static_contentService,sa_static_cont_script_joinService,sa_sup_desk_hour_configService,sa_surveyService,sa_survey_localizedService,sa_survey_resultService,sa_system_messageService,sa_system_propertyService,sa_tenant_localizationService,sa_toolService,sa_tool_instanceService,sa_tool_instance_logService,sa_tool_inst_log_evt_joinService,sa_tool_logService,sa_tool_log_messageService,sa_tool_moduleService,sa_tool_name_localizedService,sa_tool_non_artService,sa_tool_propertyService,sa_tool_start_messageService,sa_tool_versionService,sa_triage_scriptService,sa_userdrserver_joinService,sa_user_alert_configService,sa_user_routeService,sa_user_route_propService,sa_versionService,sa_virtual_sessionService,sa_wait_componentService,sa_wait_component_typeService,sdscService,sdsc_mapService,sd_chg_mapService,sd_cr_mapService,secxService,seqService,serxService,session_logService,session_typeService,sevService,SHOW_OBJService,siteService,slatplService,slaxService,special_handlingService,sqchgService,sqcrService,sqissService,stateService,stored_query_prod_listService,superseded_ciService,surveyService,svc_contractService,svystatService,svytrkService,svy_ansService,svy_atplService,svy_qtplService,svy_quesService,svy_tplService,symptom_codeService,tabService,tel_cirxService,tel_othxService,tel_radxService,tel_voixService,tel_wirxService,tenantService,tenant_groupService,tenant_group_memberService,text_apiService,tgm_groupsService,tgm_membersService,tgt_tgttpls_srvtypesService,tgt_timeService,tgt_time_tplService,ticket_typeService,tktService,transition_typeService,true_falseService,tskstatService,tsktyService,tspanService,ttv_slasService,typecntService,tzService,ui_selectionService,ui_selection_valuesService,urgService,urlService,usp_group_pgroupService,USP_PREFERENCESService,USP_PROPERTIESService,usp_role_pgroupService,usp_serversService,usp_session_ticketService,usqService,vis_configurationService,vis_graph_metadataService,vis_object_store_criteriaService,vis_object_store_masterService,vptService,web_formService,web_form_prefService,wfService,wftplService,wftpl_chgcatService,wftpl_isscatService,windowService,window_typeService,workflow_prod_listService,wrkshftService,wspcolService,wspdomsetService,wsptblService,caisd-rest,AtomPojoProvider]; root of factory hierarchy 
    08/21 11:35:09.017 [pool-2-thread-2] INFO  SecurityInInterceptor 136 REST Framework set to use domsrvr 'domsrvr' 
    08/21 11:35:09.068 [pool-2-thread-2] INFO  SecurityInInterceptor 145 REST Framework successfully connected to SLUMP as 'rest-core-SDM_HostName' 
    08/21 11:35:20.651 [pool-2-thread-2] INFO  ContextLoader 209 Root WebApplicationContext: initialization completed in 17519 ms 
    08/21 11:35:20.920 [pool-2-thread-2] INFO  BusApplicationContext 411 Refreshing org.apache.cxf.bus.spring.BusApplicationContext@12515db: display name [org.apache.cxf.bus.spring.BusApplicationContext@12515db]; startup date [Wed Aug 21 11:35:20 EDT 2013]; parent: org.springframework.web.context.support.XmlWebApplicationContext@52f73e 
    08/21 11:35:21.297 [pool-2-thread-2] INFO  BusApplicationContext 426 Bean factory for application context [org.apache.cxf.bus.spring.BusApplicationContext@12515db]: org.springframework.beans.factory.support.DefaultListableBeanFactory@8487ba 
    08/21 11:35:21.298 [pool-2-thread-2] INFO  DefaultListableBeanFactory 414 Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@8487ba: defining beans []; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@c1df71 
    08/21 11:36:41.668 [javadoc_thread] INFO  Pdm_rest_util 566 Completed generating API documentation. 
    08/21 11:36:41.670 [main] INFO  Pdm_rest_util 566 Cleaning up temp directories. 
    08/21 11:36:45.648 [main] INFO  Pdm_rest_util 566 Done.

To FIX the errors in jrest.log you need re-deploy REST manually.

We need to use a command line CA SDM program pdm_rest_util. CA SDM normally uses this utility automatically during Configuration. This utility deploys the REST application to the dedicated REST Tomcat instance. A batch file in the NX_ROOT\bin directory (pdm_rest_util.bat for Windows or ./pdm_rest_util.sh for UNIX) lets you invoke the utility. This command has the following formats and options:


    pdm_rest_util -h | [-deploy] | [-undeploy]
    -h
    Prints command-line help.
    -deploy
        Generates, compiles, and deploys all Majic factories.
    -undeploy
        Undeploys REST Web Services on the local server.

You could follow below two steps to undeploy first and then deploy REST again.


        pdm_rest_util -undeploy
        pdm_rest_util -deploy

Review the jrest.log again to ensure the deploy this time was successful.

Now we could restart CA SDM application or restart CA SDM REST Tomcat and retest the access to REST via CA SDM Mobile Enabler and/or your custom REST application.

Note: pdm_tomcat_nxd -c stop -t REST followed by pdm_tomcat_nxd -c start -t REST would restart CA SDM REST Tomcat.