My Oracle Support Banner

RP/MessageQ 5.0 - pams_cancel_timer() fails with PAMS__RESRCFAIL - CR020835 (Doc ID 766181.1)

Last updated on DECEMBER 19, 2023

Applies to:

Oracle MessageQ - Version 4.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform

Goal

DESCRIPTION:

pams_cancel_timer() will fail with a PAMS__RESRCFAIL error if there are already multiple timers that have already expired for same queue.

Example:


int main(int argc, char* argv[])
{
        int32 retour;
        q_address my_primary_queue;

        attachMQ(&my_primary_queue);

        printf("set timers ...\n");
        setTimerMQ(2000);
        setTimerMQ(2001);

printf("Wait a bit, then hit return...");
scanf("%c",&retour);

        printf("set/clear timers ...\n");
        setTimerMQ(2002);
        clearTimerMQ(2002);

exit();
}

The 'clearTimerMQ' returns the failure.

This worked correctly in V40A.  Is broke on all Unix/NT platforms for V50.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.