• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: High High
    • Dublin Release
    • None
    • None
    • DMAAP-Dub-01-(12/3/18-12/13)

      When X509 Taf is used there is a need to have property aaf_env set, otherwise CADI initialization is failing with error:

      2019-04-12 13:23:04,011||main|||DCAE||ERROR|||Exception javax.servlet.ServletException: org.onap.aaf.cadi.CadiException: X509Taf requires Environment (aaf_env) to be set.
      2019-04-12 13:23:04,012||main|||DCAE||ERROR|||Unable to start Jetty /opt/app/config/conf/dmaapbc.properties
      java.lang.IllegalStateException: !STOPPED
      at org.eclipse.jetty.server.handler.HandlerWrapper.destroy(HandlerWrapper.java:147)
      at org.onap.dmaap.dbcapi.server.JettyServer.<init>(JettyServer.java:135)
      at org.onap.dmaap.dbcapi.server.Main.main(Main.java:109)
      at org.onap.dmaap.dbcapi.server.Main.main(Main.java:53)

       

      In current generated properties there is no such property added, but previously generated properties has it set to:

      aaf_env=DEV

      Some changes had to be made on AAF side that this property is not added anymore.

      The idea to solve this issue is to add missing property manually in current properties to avoid CADI init failure.

            kamyk kamyk
            kamyk kamyk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: