kevinwarren Posted February 7, 2020 Share Posted February 7, 2020 So I am running into an issue running a Jaspersoft job in OpCon. This is the Command Line for the job:"[[Path JasperSoft]]SMARunJasperReportJobII.exe" -Configuration=[[Path JasperSoft INI]]SMARunJasperReportJobII.ini -ReportDirectory=/organizations/d0087T56/adhoc/Alabama/AO_Consumer_Loans_Opened_By_Branch_Daily -ReportName=AO_Consumer_Loans_Opened_By_Branch_Daily -OutputFileFormat=pdf -OutputFileName=\winfileBookkeepingMIS_ReportingLoan_ReportsDaily Reports[[$SCHEDULE DATE YYYYMMDD]]_Daily_Consumer_Loans_Opened_by_Branch.pdfWhen I run the job this is the output it is generating:2/6/2020 17:43:37:118 MSLSAM File Version 18.3.1.0 (Assembly version 18.3.1, Product Version 18.3.1.70), PID : 35282/6/2020 17:43:37:118 The Job Parameters are ...2/6/2020 17:43:37:118 JobName : RUNDAILYDOWN 00000445122/6/2020 17:43:37:118 JobStartImage : c:Program FilesOpConxpsJasperSoftSMARunJasperReportJobII.exe2/6/2020 17:43:37:118 JobArguments : -Configuration=c:ProgramDataOpConxpsJasperSoftSMARunJasperReportJobII.ini -ReportDirectory=/organizations/d0087T56/adhoc/Alabama/AO_Consumer_Loans_Opened_By_Branch_Daily -ReportName=AO_Consumer_Loans_Opened_By_Branch_Daily -OutputFileFormat=pdf -OutputFileName=\winfileBookkeepingMIS_ReportingLoan_ReportsDaily Reports20200206_Daily_Consumer_Loans_Opened_by_Branch.pdf2/6/2020 17:43:37:118 WorkingDirectory : 2/6/2020 17:43:37:118 Job User : ALPH.LOCALOPCONSVC2/6/2020 17:43:37:633 c:Program FilesOpConxpsJasperSoftSMARunJasperReportJobII.exe , File Version : 16.0.0.1, Product Version : 18.3.1.73, FileSize : 33928, File Modification Time : 2/19/2019 8:08:33 AM2/6/2020 17:43:37:712 Job Environment : ALLUSERSPROFILE=C:ProgramDataAPPDATA=C:UsersOPCONSVCAppDataRoamingCommonProgramFiles=C:Program FilesCommon FilesCommonProgramFiles(x86)=C:Program Files (x86)Common FilesCommonProgramW6432=C:Program FilesCommon FilesCOMPUTERNAME=LSOPCONComSpec=C:Windowssystem32cmd.exeHOMEDRIVE=C:HOMEPATH=UsersOPCONSVCLOCALAPPDATA=C:UsersOPCONSVCAppDataLocalLOGONSERVER=\WINDC2MSMPI_BIN=C:Program FilesMicrosoft MPIBinNUMBER_OF_PROCESSORS=4OS=Windows_NTPath=C:Program FilesMicrosoft MPIBin;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)Microsoft SQL Server140ToolsBinn;C:Program FilesMicrosoft SQL Server140ToolsBinn;C:Program Files (x86)Microsoft SQL Server140DTSBinn;C:Program FilesMicrosoft SQL Server140DTSBinn;C:Program FilesMicrosoft SQL ServerClient SDKODBC130ToolsBinn;C:Program Files (x86)Microsoft SQL ServerClient SDKODBC130ToolsBinn;C:Program Files (x86)Microsoft SQL Server140ToolsBinnManagementStudio;C:UsersOPCONSVCAppDataLocalMicrosoftWindowsAppsPATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSCPROCESSOR_ARCHITECTURE=AMD64PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 79 Stepping 1, GenuineIntelPROCESSOR_LEVEL=6PROCESSOR_REVISION=4f01ProgramData=C:ProgramDataProgramFiles=C:Program FilesProgramFiles(x86)=C:Program Files (x86)ProgramW6432=C:Program FilesPSModulePath=%ProgramFiles%WindowsPowerShellModules;C:Windowssystem32WindowsPowerShellv1.0Modules;C:Program Files (x86)Microsoft SQL Server140ToolsPowerShellModulesPUBLIC=C:UsersPublicSystemDrive=C:SystemRoot=C:WindowsTEMP=C:UsersOPCONSVCAppDataLocalTempTMP=C:UsersOPCONSVCAppDataLocalTempUSERDNSDOMAIN=ALPH.LOCALUSERDOMAIN=ALPHUSERDOMAIN_ROAMINGPROFILE=ALPHUSERNAME=OPCONUSERPROFILE=C:UsersOPCONwindir=C:WindowsSMA_MSLSAM_SAM_JOB_ID=RUNDAILYDOWN 0000044512SMA_MSLSAM_JOB_NAME=Run Daily Download Opened by Branch Report 0000044512SMA_MSLSAM_SCHEDULE_DATE=20200206SMA_MSLSAM_SCHEDULE_NAME=Daily Consumer Loans Opened by BranchSMA_MSLSAM_SCHEDULE_FREQ=Mon-Fri-NSMA_MSLSAM_RESTART_STEP=SMA_MSLSAM_ROOT_DIRECTORY=C:Program FilesOpConxpsMSLSAMSMA_MSLSAM_DATA_DIRECTORY=C:ProgramDataOpConxpsMSLSAMSMA_MSLSAM_ECOF_DIRECTORY=SMA_MSLSAM_LSAM_NAME=LSOPCONSMA_MSLSAM_JOBOUTPUT_FILENAME=C:ProgramDataOpConxpsMSLSAMJobOutputArchives2020_02_06 (Thursday)RUNDAILYDOWN_0000044512.logSMA_MSLSAM_PRERUN_ACTIVE=FALSE2/6/2020 17:43:37:727 ************************************* Start Main Job Details *************************************2/6/2020 17:43:37:727 Job Start Time : 1743372/6/2020 17:43:37:727 Job Process Name : SMARunJasperReportJobII2/6/2020 17:43:37:727 Job Process Id : 371802/6/2020 17:43:37:743 Getting Job Termination Status for Job RUNDAILYDOWN 00000445122/6/2020 17:43:38:852 Job terminated with Exit Code : 12/6/2020 17:43:38:852 Job finished at : 1743382/6/2020 17:43:38:852 Job Standard Out/Error : Copyright Software Management and Associates - 2020Version 16.0.0.1Arg[0] = [-Configuration=c:ProgramDataOpConxpsJasperSoftSMARunJasperReportJobII.ini]Arg[1] = [-ReportDirectory=/organizations/d0087T56/adhoc/Alabama/AO_Consumer_Loans_Opened_By_Branch_Daily]Arg[2] = [-ReportName=AO_Consumer_Loans_Opened_By_Branch_Daily]Arg[3] = [-OutputFileFormat=pdf]Arg[4] = [-OutputFileName=\winfileBookkeepingMIS_ReportingLoan_ReportsDaily]Arg[5] = [Reports20200206_Daily_Consumer_Loans_Opened_by_Branch.pdf]Configuration-------------[ConnectionDetails]JasperServerProtocol : httpJasperServerIPAddress : 10.xxx.xxx.xxxJasperServerPort : 8081JasperServerDomain : jasperserver-proJasperServerUser : adminJasperServerPassword : *****JasperServerTimeout : 120000[ReportDefaults]ReportDirectory : /reports/samples/OutputFileFormat : pdfCommand Line Arguments-----------------------Configuration : c:ProgramDataOpConxpsJasperSoftSMARunJasperReportJobII.ini ***** Overrides default *****-ReportDirectory : /organizations/d0087T56/adhoc/Alabama/AO_Consumer_Loans_Opened_By_Branch_Daily ***** Overrides default *****-ReportName : AO_Consumer_Loans_Opened_By_Branch_Daily-OutputFileName : \winfileBookkeepingMIS_ReportingLoan_ReportsDaily-OutputFileFormat : pdf ***** Overrides default *****-DumpXML : False-Debug : FalseSpecified Report Parameters --------------------ERROR encountered in GetReportProperties() - outer tryThe remote server returned an error: (404) Not Found.Exit value: 1The remote server returned an error: (404) Not Found.Exit value: 12/6/2020 17:43:38:852 ************************************* End Main Job Details ************************************* Is anyone familiar with this error:ERROR encountered in GetReportProperties() - outer tryThe remote server returned an error: (404) Not Found.Exit value: 1The remote server returned an error: (404) Not Found.Exit value: 1 Thanks in advance. This is the first Jaspersoft job I am automating in SMA OpCon. Kevin Link to comment Share on other sites More sharing options...
swood_1 Posted February 7, 2020 Share Posted February 7, 2020 Hi Kevin,I don't know how you received access to JasperReports Server commercial editions. Did your organization buy Jaspersoft:directly from TIBCO Jaspersoft => Jaspersoft Support could help with this issuiethrough software you provided by another vendor => contact the vendorFrom what I understand looking at the issue, you have set up a job with SAM OpCon that makes a REST call to the JasperReports Server.The 404 means that the job is not able to connect to the JasperReports Server. It can't find that endpoint.I can't see the actual URL you are using. That is the first thing to check.The JasperReports Server REST API to run a report is defined here: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v750/reports-servicehttp://<host>:<port>/jasperserver[-pro]/rest_v2/reports/path/to/report.<format>?<arguments> Sherman Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now