Layer 7 API Management

Expand all | Collapse all

Upgrade 9.4 (from 9.1) failed to start gateway (solved)

Jump to Best Answer
  • 1.  Upgrade 9.4 (from 9.1) failed to start gateway (solved)

    Posted 08-27-2019 11:10 AM
    After the applying

    CA_API_PlatformUpdate_64bit_v9.2.00-RHEL.L7P
    CA_API_PlatformUpdate_64bit_v9.3.00-RHEL.L7P
    CA_API_PlatformUpdate_64bit_v9.4.00-RHEL.L7P

    as last I installed
    CA_API_Gateway_v9.4.00.9807-CR03.L7P

    After applying the database upgrade I got
    2019-08-22T13:20:18.769+0200 INFO 1 com.l7tech.server.boot.GatewayBoot: Starting gateway in TRADITIONAL mode
    2019-08-22T13:20:18.773+0200 INFO 1 com.l7tech.server.boot.GatewayBoot: Enabled component: [com/l7tech/server/resources/uddiRuntimeContext.xml, com/l7tech/server/resources/uddiAdminContext.xml, com/l7tech/server/resources/databaseReplicationMonitorRuntimeContext.xml, com/l7tech/server/resources/databaseReplicationMonitorAdminContext.xml, com/l7tech/server/resources/processControllerRuntimeContext.xml, com/l7tech/server/resources/processControllerAdminContext.xml]
    2019-08-22T13:20:26.325+0200 INFO 1 com.l7tech.server.util.ConfiguredSessionFactoryBean: Building new Hibernate SessionFactory
    2019-08-22T13:20:27.826+0200 WARNING 1 com.l7tech.server.ServerConfig: Property 'namespaces.soap11Extras' has a cluster properties key defined, but the ClusterPropertyCache is not yet available
    2019-08-22T13:20:27.840+0200 WARNING 1 com.l7tech.server.ServerConfig: Property 'namespaces.wss10Extras' has a cluster properties key defined, but the ClusterPropertyCache is not yet available
    2019-08-22T13:20:27.843+0200 WARNING 1 com.l7tech.server.ServerConfig: Property 'namespaces.wsu10Extras' has a cluster properties key defined, but the ClusterPropertyCache is not yet available
    2019-08-22T13:20:28.010+0200 WARNING 1 com.l7tech.server.ServerConfig: Property 'ioHttpHeadersToSkip' has a cluster properties key defined, but the ClusterPropertyCache is not yet available
    2019-08-22T13:20:29.081+0200 INFO 1 com.l7tech.server.util.GatewayDbVersionChecker: Gateway version: 9.4.00
    2019-08-22T13:20:29.083+0200 INFO 1 com.l7tech.server.util.GatewayDbVersionChecker: Database version: 9.4.00
    2019-08-22T13:20:31.886+0200 INFO 1 com.l7tech.security.prov.defaultprov.DefaultJceProviderEngine: Initializing Bouncy Castle library in Non-FIPS mode
    2019-08-22T13:20:33.377+0200 INFO 1 com.l7tech.server.security.keystore.SsgKeyStoreManagerImpl: Ignoring keystore_file row with a format of hsm.sca because this Gateway node is not configured to use an internal SCA HSM
    2019-08-22T13:20:33.386+0200 INFO 1 com.l7tech.server.security.keystore.SsgKeyStoreManagerImpl: Ignoring keystore_file row with a format of hsm.Ncipher because this Gateway node is not configured to use an nCipher HSM
    2019-08-22T13:20:33.628+0200 INFO 1 com.l7tech.server.service.ServiceWsdlImportChecker: Checking WSDL imports for SOAP services.
    2019-08-22T13:20:34.338+0200 INFO 1 com.l7tech.server.service.ServiceWsdlImportChecker: Checking WSDL imports for SOAP services.
    2019-08-22T13:20:36.056+0200 INFO 1 com.l7tech.server.service.ServiceWsdlImportChecker: Checking WSDL imports for SOAP services.
    2019-08-22T13:20:36.736+0200 INFO 1 com.l7tech.util.Background: Cancelling background task 'com.l7tech.gateway.common.spring.remoting.http.s@71e7830a' (com.l7tech.gateway.common.spring.remoting.http.s)
    2019-08-22T13:20:36.740+0200 INFO 1 com.l7tech.server.util.ConfiguredSessionFactoryBean: Closing Hibernate SessionFactory
    2019-08-22T13:20:36.757+0200 WARNING 1 com.l7tech.server.boot.GatewayMain: Error starting server : Error creating bean with name 'zoneUpdateSecurityChecker': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.l7tech.server.EntityFinder com.l7tech.server.security.rbac.ZoneUpdateSecurityCheckerImpl.entityFinder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityCrud' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Cannot resolve reference to bean 'ssgConnectorManager' while setting constructor argument with key [22]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ssgConnectorManager' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Initialization of DAO failed; nested exception is org.springframework.orm.hibernate3.HibernateSystemException: java.lang.reflect.InvocationTargetException; nested exception is org.hibernate.HibernateException: java.lang.reflect.InvocationTargetException
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'zoneUpdateSecurityChecker': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.l7tech.server.EntityFinder com.l7tech.server.security.rbac.ZoneUpdateSecurityCheckerImpl.entityFinder; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityCrud' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Cannot resolve reference to bean 'ssgConnectorManager' while setting constructor argument with key [22]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ssgConnectorManager' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: Initialization of DAO failed; nested exception is org.springframework.orm.hibernate3.HibernateSystemException: java.lang.reflect.InvocationTargetException; nested exception is org.hibernate.HibernateException: java.lang.reflect.InvocationTargetException
    Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'secureRandom': Requested bean is currently in creation: Is there an unresolvable circular reference?
    Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logAccessAdmin' defined in class path resource [com/l7tech/server/resources/adminContext.xml]: Cannot resolve reference to bean 'clusterHttpRequestExecutor' while setting bean property 'httpInvokerRequestExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterHttpRequestExecutor' defined in class path resource [com/l7tech/server/resources/adminContext.xml]: Cannot resolve reference to bean 'clusterHttpComponentsClient' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clusterHttpComponentsClient' defined in class path resource [com/l7tech/server/resources/adminContext.xml]: Cannot resolve reference to bean 'sslKeyManagers' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sslKeyManagers' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Cannot resolve reference to bean 'defaultKey' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'cryptoInit': Requested bean is currently in creation: Is there an unresolvable circular reference?
    Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'entityCrud': Requested bean is currently in creation: Is there an unresolvable circular reference?
    Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'cryptoInit': Requested bean is currently in creation: Is there an unresolvable circular reference?
    Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityCrud' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Cannot resolve reference to bean 'federatedUserManager' while setting constructor argument with key [9]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'federatedUserManager' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Cannot resolve reference to bean 'clientCertManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientCertManager' defined in class path resource [com/l7tech/server/resources/ssgApplicationContext.xml]: Cannot resolve reference to bean 'defaultKey' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'cryptoInit': Requested bean is currently in creation: Is there an unresolvable circular reference?


  • 2.  RE: Upgrade 9.4 (from 9.1) failed to start gateway (solved)
    Best Answer

    Posted 08-27-2019 11:21 AM

    Solution

    mysql> use ssg;
    mysql> SELECT*FROM ssg.security_zone WHERE entity_types LIKE "%WORK_QUEUE%";

    mysql> DELETE FROM ssg.security_zone WHERE entity_types LIKE "%WORK_QUEUE%";

    Apparently already in  Known Issues Related to Upgrade (https://docops.ca.com/ca-api-gateway/9-4/en/install-configure-upgrade/upgrade-the-gateway)