The error 'A SAS Metadata Repository host must be specified using property "omr_host"' occurs when you schedule a SASSĀ® Web Report Studio report


When you schedule a SAS Web Report Studio report, you might receive the following error in the SASBIReportServices.log file:

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'discoveryService' defined in URL [file:F:/SASConfigFolder/Lev3/Applications/SASBIReportServices4.2/spring.xml]: Invocation of init method failed; nested exception is com.sas.services.ServiceException: Unable to create metadata source. A SAS Metadata Repository host must be specified using property "omr_host". [ java.lang.IllegalArgumentException: A SAS Metadata Repository host must be specified using property "omr_host". ]

To resolve this problem, you must set the Java Virtual Machine (JVM) option -Djgroups.bind_addr= in the outputgen.ini file. The default location for outputgen.ini is SAS_installation_directory\SASBIReportServices\4.2. You can set the JVM option in either of two ways:

For additional information about JGroups and the -Djgroups.bind_addr= option, see SAS Note 35086.