SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59148: SAS® Infrastructure for Risk Management and related components might fail to start and return "Exception encountered during context initialization"

DetailsHotfixAboutRate It

SAS Infrastructure for Risk Management 3.2 and components such as SAS® Firmwide Risk for Solvency II might fail to start and return various errors. The problem occurs in situations where access to external Internet resources is restricted.

Errors and exceptions like the following occur in the server logs:

WARN (localhost-startStop-2) [org.springframework.web.context.support.XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobFlowDataAccessService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.SessionFactory com.sas.solutions.risk.irm.server.persistence.JobFlowDataAccessService.sessionFactory; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/spring-config/webapp-config.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Could not parse configuration Caused by: org.dom4j.DocumentException: Connection refused: connect Nested exception: Connection refused: connect at org.dom4j.io.SAXReader.read(SAXReader.java:484) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1576) < etc > Error starting IRMServer web application INFO (localhost-startStop-1) [org.apache.catalina.startup.HostConfig] Deploying configuration descriptor /meta/Lev1/Web/WebAppServer/SASServer8_1/conf/Catalina/localhost/SASIRMServer.xml ERROR (localhost-startStop-1) [org.apache.catalina.core.StandardContext] Error listenerStart ERROR (localhost-startStop-1) [org.apache.catalina.core.StandardContext] Context [/SASIRMServer] startup failed due to previous errors

The problem occurs because Hibernate is loading the wrong document type definition (DTD).

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Infrastructure for Risk ManagementMicrosoft® Windows® for x643.23.39.4 TS1M39.4 TS1M4
Linux for x643.23.39.4 TS1M39.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.