Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-24550: signal received: [si_signo=11] error while using OAQ receive

949968Jul 17 2012
Hi All,

I am trying to read a message from Oracle queue using OCCI.
I am getting this run time error:

ORA-24550: signal received: [si_signo=11] [si_errno=0] [si_code=2] [si_int=-389971137] [si_ptr=0x34e8c1833f] [si_addr=0x615db0]
Killed.


I have checked for the line that is throwing error and found below line causing it:
*messageFromQueue = cons.receive(Message::RAW);


It seems like RECEIVE function is throwing this error:


Here is my code:

void Cdatabase::connect(string user, string passwd, string db)
throw (SQLException)
{
env = Environment::createEnvironment(Environment::OBJECT);
conn = env->createConnection (user, passwd, db);
messageFromQueue = new Message(env);
}

unsigned char * Cdatabase::readQueueMessage(int &mlen) throw(SQLException)
{
Consumer cons(conn);

cons.setConsumerName("CUSTQ");
cons.setPositionOfMessage(Consumer::DEQ_FIRST_MSG);
cons.setDequeueMode(Consumer::DEQ_REMOVE);
cons.setWaitTime(Consumer::DEQ_NO_WAIT);

//Dequeue the message
cons.setQueueName("CUSTORACLEQUEUE");

*messageFromQueue = cons.receive(Message::RAW);
Bytes out3 = messageFromQueue->getBytes();
.......... }

Please help me with this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2012
Added on Jul 17 2012
0 comments
3,968 views