SOI Tech Tip:  CA SAM Application Server does not startup after RO92514 for SOI 4.0 CUM1

Document created by Britta_Hoffner Employee on Oct 14, 2016
Version 1Show Document
  • View in full screen mode

After application of the Java Certificate patch RO92514 for SOI 4.0 CUM1 the CA SAM Application Service does not startup anymore.

 

You will see the following error messages in the soimgr-debug.log file in the SOI\tomcat\logs folder on the SOI Manager:

 

2016-10-13 13:13:15,440 INFO  [localhost-startStop-1] context.ContextFactory.constructContextObject(441)  - ContextException: com.aprisma.spectrum.app.util.context.ContextFactory.NO_CONTEXT_OBJECT_CLASS_REGISTERED_FOR_ID id "com.ca.sam.common.CallTimer" at scope "global"

 

2016-10-13 13:13:15,718 INFO  [ServletInit] servlet.RegistrationServlet.initialize(427)  - Started 4.0.1.103.20161010.Test
2016-10-13 13:13:17,163 INFO  [ServletInit] servlet.ManagerInitServlet.initialize(116)  - Manager initialization begins...
2016-10-13 13:13:22,014 INFO  [ServletInit] security.EEMGlobalAccessPrivilegeManager.setupAllUsersAndGroups(647)  - Setting max search size to 10000
2016-10-13 13:13:22,256 INFO  [ServletInit] security.EEMGlobalAccessPrivilegeManager.setupAllUsersAndGroups(652)  - Found 4 groups.
2016-10-13 13:13:22,572 INFO  [ServletInit] security.EEMGlobalAccessPrivilegeManager.setupAllUsersAndGroups(664)  - Found 3 users.
2016-10-13 13:13:24,848 INFO  [ServletInit] servlet.ManagerInitServlet.startComponents(316)  - Initial SessionFactory creation failed:
org.hibernate.InvalidMappingException: Could not parse mapping document from resource samdao/CIStagingTemp.hbm.xml
                at org.hibernate.cfg.Configuration.addResource(Configuration.java:575)

 

This is because there is a duplicate entry for CIStagingTemp.hbm.xml after the installation of the fix in the SOI\tomcat\lib\hibernate.cfg.xml file which has to be manually removed.

 

    <mapping resource="com/ca/sam/common/dao/hibernate/HistoryCIRisk.hbm.xml" />
    <mapping resource="com/ca/sam/common/dao/hibernate/DbAvailHistory.hbm.xml" />
    <mapping resource="com/ca/sam/common/dao/hibernate/DbQualityHistory.hbm.xml" />
    <mapping resource="com/ca/sam/common/dao/hibernate/DbRiskHistory.hbm.xml" />
    <mapping resource="com/ca/sam/slamanager/dao/hibernate/SLA.hbm.xml" />
    <mapping resource="samdao/CIStagingTemp.hbm.xml" />

    <mapping resource="samdao/CIStagingTemp.hbm.xml" />
  </session-factory>
</hibernate-configuration>

 

 

this has to be changed into:

 

<mapping resource="com/ca/sam/common/dao/hibernate/HistoryCIRisk.hbm.xml" />
    <mapping resource="com/ca/sam/common/dao/hibernate/DbAvailHistory.hbm.xml" />
    <mapping resource="com/ca/sam/common/dao/hibernate/DbQualityHistory.hbm.xml" />
    <mapping resource="com/ca/sam/common/dao/hibernate/DbRiskHistory.hbm.xml" />
    <mapping resource="com/ca/sam/slamanager/dao/hibernate/SLA.hbm.xml" />
    <mapping resource="samdao/CIStagingTemp.hbm.xml" />
  </session-factory>
</hibernate-configuration>

 

save the modifications and restart the SOI Services on the manager with

 

SOI\tools\soitoolbox --stopAllServices

SOI\tools\soitoolbox --startAllServices

 

3 people found this helpful

Attachments

    Outcomes