Hi,

I'm starting my application through AMF by following as below:

I've loaded *AppConfig.xml* file by running the command *immcfg -f* *AppConfig.xml*/./

Had run *amf-adm unlock-in safSu=SuT_CONFD_HA_1, safSg=SG_CONFD_HA, safApp=CONFD_HA*

*Observed:*

Feb 21 11:17:24 prakash osafamfnd[13936]: NO Instantiation of 'safComp=CompT_CONFD_HA,safSu=SU1,safSg=SG_CONFD_HA,safApp=CONFD_HA' failed Feb 21 11:17:24 prakash osafamfnd[13936]: NO Reason: component registration timer expired Feb 21 11:17:24 prakash osafamfnd[13936]: WA 'safComp=CompT_CONFD_HA,safSu=SU1,safSg=SG_CONFD_HA,safApp=CONFD_HA' Presence State INSTANTIATING => INSTANTIATION_FAILED Feb 21 11:17:24 prakash osafamfnd[13936]: NO 'safSu=SU1,safSg=SG_CONFD_HA,safApp=CONFD_HA' Presence State INSTANTIATING => INSTANTIATION_FAILED Feb 21 11:17:24 prakash osafimmnd[13855]: WA Continuation for AdminOp was lost, probably due to timeout.

What would be the cause for the instantiation fail? and can you please suggest how to fix this?

Thanks in advance

Regards Darshan.


On 20/02/19 11:47 AM, mo...@hasolutions.in wrote:
Hi Darshan,
I checked your code.
It looks that the application is being started manually (not by Amf), so SA_AIS_ERR_NOT_EXIST(12) is coming:

Suggestion:

Since, the application is an Amf component and it is linked with Amf library, so it has to be started by Amf and not manually.

Thanks
Mohan
High Availability Solutions Pvt. Ltd.
www.hasolutions.in

    --------- Original Message ---------
    Subject: [devel] SA_AIS_ERR_NOT_EXIST error when calling the
    function saAmfComponentNameGet
    From: "Darshan" <gnan...@utl.in>
    Date: 2/20/19 11:42 am
    To: "opensaf-users" <opensaf-users@lists.sourceforge.net>,
    "opensaf-devel" <opensaf-de...@lists.sourceforge.net>

    Hello all,

        I have an AMF application which runs as (High Availability
    Framework)HAFW in 2N redundant systems for confD active/standby
    configuration. So, when I call the function
    *saAmfComponentNameGet(confd_ha_cb.info.amfHandle,
    &confd_ha_cb.info.compName)* I am getting an error stating
    *(SA_AIS_ERR_NOT_EXIST, 12). *what am i doing wrong here? why am i
    getting this error?

    Thanks in advance,

    Regards.

-- Regards,
    Darshan


    _______________________________________________
    Opensaf-devel mailing list
    opensaf-de...@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/opensaf-devel

--
Regards,
Darshan


_______________________________________________
Opensaf-users mailing list
Opensaf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to