POSIX Message queues

Hi all

I was looking for how to use POSIX Message queues.

According to the QNX reference, I started using mq_ * [mq_open, mq_send, mq_receive...]. But looks like I'm not something more which is always mq_open head not to say "FUNCTION NOT IMPLEMENTED".

Can you please help me this GOLD if someone faced the same question

Concerning

Clement

I got confirmation that the POSIX message queues are not available for developers of native applications BlackBerry 10. I'm sorry.

Tags: BlackBerry Developers

Similar Questions

  • What is Message Queuing?

    Message Queuing used and how is it setup in a Windows Server 2003 Active Directory environment?

    Hello

    I suggest you view ask the TechNet forum, where we have some support professionals who are well equipped with the knowledge on the server, to do this please visit the link provided below.

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Blocking message queue mechanism

    Hello

    We are in the configuration MP with masters on AIX and slaves on HP or Windows.

    On the slaves, in the ulog, sometimes we have the error message "CMDTUX_CAT:1380: ERROR: the Message Queue blocking warned childbirth, Qaddr = xxxxxx".

    She seems to happens because the BRIDGE process received a message from the network and could not place the message in the queue expected CPI (serverbacked to the top or parameters of resource system IPC too weak or too overload the machine...).

    What happens in this case?

    the request message is ignored by Smoking and Tuxedo sends an error message to the sender of the request?

    or Tuxedo place the message on another queue of the CPI of the same type?

    Thanks in advance

    TIBUS

    Hi Max,.

    The message is discarded and the sender may or may not get an error message which is the sender.  If it is a request then the request timeout message and the caller you will get an error.  However if there is a response message then the message will simply be abandoned because there is no way to tell the server that sent the response that the message has not been delivered.  Usually, this is caused by the IPC resources being set too low, even if it could be because a server is severely backed up.

    Kind regards

    Todd little

    Chief Architect of Oracle Tuxedo

  • Tuxedo of Oracle and Oracle Tuxedo message queue on a virtual machine.

    Hi friends.

    How is it going?

    A small question.

    So let's go live using Oracle Tuxedo 12.1.1.0 with binding distinguished Bulletin Board and Oracle Tuxedo Message Queue 12.1.1.0 on a Virtual Machine (VMWARE) running Oracle Linux 6.2. However, we want to know if there are recommendations or mishaps in which we face before running Oracle Tuxedo on a virtual machine?

    I mean, I wonder if I have to worry about kernel parameters, settings of virtual machine or any other thing that could ruin everything.

    Another question.

    Oracle also provides certification of VMS where Tuxedo Oracle would go on top of the?

    Todd little-Oracle

    Maurice G-Oracle

    Hi Bruno.

    I'm not sure what you mean with single Liaison Bulletin Board.  I guess you mean a cluster or the MP configuration?  And is it really a clustered or just a single machine of the MP configuration?

    About the configuration, you use Tuxedo services as well or just Tuxedo Message Queue?  The biggest problem with the configuration of the BONE is the IPC resources.  If you do a-c tmloadcf on your UBBCONFIG file, it will help you to determine the required minimum IPC resources.  In general, I suggest configuration much more resources than the minimum to allow for the changes to come and for some of the parameters for heavier loads.  In particular IPC message queue settings are strongly dependent on the load.  So make sure that the maximum message size and the size of the queue are big enough for your expected workload.  You can monitor the slot load using the ipcs command.

    We don't certify virtual machine environment, but support also a long time the VM vendor to ensure compatibility, obviously VMware and Oracle VM who both do.

    Kind regards

    Todd little

    Chief Architect of Oracle Tuxedo

  • CMDTUX_CAT:1380: ERROR: the Message Queue blocking warned childbirth

    Today, I changed a Tuxedo (server) application for product systems (a master and two slaves). Only a small change in the code. But after a period of running, there are a lot of mistakes in ULOG:

    CMDTUX_CAT:1380: ERROR: the Message Queue blocking warned childbirth, Qaddr = 583902

    And then the server died. After restarting the server, this will happen again later.

    I don't know why this happens? THX.

    Hi Bill,

    This happens because the BRIDGE process received a message from the network and could not place the message in the expected IPC queue. This could be because the server handles this message is saved, or the parameters of the system IPC resources are too weak. Please check the recommended actions:

    http://download.Oracle.com/docs/CD/E18050_01/Tuxedo/docs11gr1/messages/cdtux/cdtux013.html

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • Synchronization in the messaging queue manager

    Hi all

    I have a program of Messaging Manager similar to the model for measuring continuously and logging (CML) queued.  Events on the front panel creating a message from queue UI"who receives the interface user Messenger Handler.  The Messenger user interface handler then sends a message to queue data"to my vi data loop.  (It is similar to the acquisition loop in the model of the CMA).

    The loop of data vi is intended to read messages sent priority from the interface user Messenger Handler, such as start, stop, terminate. When he reads the startup message, he enters with the case of boot and continually performs a task once every milliseconds X.  When sending a priority stop message, it should immediately cease to perform the tasks.

    I think it should involve the data loop continuously sending messages to perform the task.  In this way the priority message could easily slide forward and stops the process.  Is that a correct implementation?  If so, how can ensure me that the task is done at the right time?

    Thank you!

    Just to restate what Bob says...

    The time-out period is as your source of synchronization.  So, if no message has been received within the given time (negative expectations are infinite wait), then the queue returns the default value for the type of data (e.g. empty string to a string data type) and the release of "Timedout?" is set to TRUE.  You can detect this and perform any action you want your intervaled rate.

    The beauty of this Setup is that if something happened to you can handle immediately.

  • My Canon Pixma 270 will not be printed. Not saying message queue

    A suddenly stopped printing. Does not recognize the printer is connected. Should I buy a new printer? Have re booted my laptop, printer, run again rebooted installation disc. Indicates the queue is not all that means.

    Hello

    -Did you change on your computer before the show?

    I recommend to restart the print spooler service and check if that helps.

    I see an error message about "spooler" problems

    (Not valid also for Windows Vista)

  • Monitoring of the Exchange message queues

    Is there a way to track the queue of messages for Exchange 2010? We had a problem where the Send connector has become badly configured and all our email was backing. It would have been great if we had Foglight inform us when there is more than x (say 20) messages in the queue

    Hi Mark,

    We can alert out of a lot of things with Exchange. One of them, is the queue of messages. Please see the screenshot below. You can access, by modifying the policy and in the Alerts tab and create a new alert. Choose the options Exchange to access the list below.

    Thank you!

  • Display messages in the message queue

    I create applications like messagelistdemo, where I get the message on a specific port, I need to display these messages in the queue of messages blackberry

    example... I hope this will solve your problem.

    sentFolder.fireElementAdded(new ApplicationMessageWrapsMessage(mes,ApplicationMessage.Status.OPENED));
    

    and

    public class ApplicationMessageWrapsMessage implements ApplicationMessage {
    
        final private Message mes;
        final private long timeStamp;
        private int status;
    
        public ApplicationMessageWrapsMessage(Message mes, int status) {
            this.mes = mes;
            this.timeStamp = System.currentTimeMillis();
            this.status = status;
        }
    ......
    
  • Apex messaging queue will not send e-mail

    Hello

    I am running windows 7, 11.g and Apex 4.2.5

    I have an application that calls a package that sends the password resets to an apex application.  The code in this package looks like this:

    APEX_MAIL. SEND)

    p_to = > p_email,

    P_FROM = > l_from,.

    p_body = > l_body,

    p_subj = > l_subj

    );

    APEX_MAIL. PUSH_QUEUE;

    It is no longer sending eMail as before.  I don't know what has changed to make this happen.  The same problem exists if I sign in as a developer Apex and click Reset password.

    I browsed a bit small and tried the following:

    I have removed from the ACL of DBA_NETWORK_ACLS list and run the following:

    BEGIN

    DBMS_NETWORK_ACL_ADMIN. CREATE_ACL (LCD = > 'utl_mail.xml',)

    Description = > "utl_mail ACL."

    main = > 'SCHEMA_USER ',.

    IS_GRANT = > true,

    privilege = > 'connection ',.

    start_date = > systimestamp,

    End_date = > null);

    DBMS_NETWORK_ACL_ADMIN. ADD_PRIVILEGE (LCD = > 'utl_mail.xml',)

    main = > 'SCHEMA_USER ',.

    IS_GRANT = > true,

    privilege = > 'resolve. "

    start_date = > systimestamp,

    End_date = > null);

    DBMS_NETWORK_ACL_ADMIN. ASSIGN_ACL (LCD = > 'utl_mail.xml',)

    Home = > ' e-mail. Mondomaine.org ");"

    END;

    /

    COMMIT;

    BEGIN

    DBMS_NETWORK_ACL_ADMIN. (ASSIGN_ACL)

    ACL = > "utl_mail.xml"

    Home = > ' e-mail. Mondomaine.org ',.

    lower_port = > 587,

    upper_port = > 587);

    END;

    When I run the following select statement:

    SELECT the hosts, lower_port, upper_port, acl FROM dba_network_acls;

    I get the following result:

    mail. Mondomaine.org 587 587 /sys/acls/utl_mail.xml

    When I run the following select statement:

    SELECT acl,

    principal,

    privilege,

    IS_GRANT,

    To_char(start_date, 'DD-mon-YYYY') AS start_date,

    To_char(end_date, 'DD-mon-YYYY') AS end_date

    OF dba_network_acl_privileges;

    I get the following result:

    /sys/ACLs/UTL_MAIL.XML MYPRINCIPAL connect true 07-SEP-2014

    /sys/ACLs/UTL_MAIL.XML MYPRINCIPAL solve true 07-SEP-2014

    When I run the following select statement:

    SELECT DECODE)

    DBMS_NETWORK_ACL_ADMIN. (CHECK_PRIVILEGE)

    'utl_mail.xml', 'MYPRINCIPAL', 'connect'),

    PRIVILEGE 1, 'GRANTED', 0, 'DENIED', NULL)

    FROM DUAL;

    I get the following output

    GRANTED

    In the Admin of the Apex, the TB of the topic and update appear correctly in queue, but I get the error: ORA-24247: access denied by access control (ACL) of network list.  I tried to send all messages, but all that is increment the number in the column number to Send Mail.

    In Instance Apex Admin, I have the address of the appropriate SMTP host, the Port is 587 the SMTP authentication user name and password are both appropriate.  I tested the access via an e-mail account on the mail server.  The mail server requires authentication.  Also, I looked at other users / Apex_040200 / Planner / ORACLE_APEX_MAIL_QUEUE and I saw a bunch of entries every 15 minutes with the status of SUCCESSFUL operation.

    Is there anything else I need to check?

    Thanks for looking at this.

    Phil

    When the APEX MAIL runs, it runs as the APEX_040200 (or respective version).

    Add it to your list of user ACL.

    That should allow APEX reach your server.

    -Tim St.

  • Ability to OTMQ - message queue

    Tuxedo Team, good afternoon!

    I have a little doubt as to the OTMQ of Tuxedo feature. The question I have is this: on the lines _SAF_ and _DQF_, created automatically when creating the queue space, not the maximum number of messages and data is limited by the size of the queue space? Or does that only, which relates to the size available in my system?

    And, where it is limited by the size of the disk queue space, can I configure a disk size of, for example, 1 TB? Or that the QueueSpace comes with a limitation on its size?

    Thank you very much

    brunno Attorre

    Hi Brunno,

    I am trying to get an exact answer, but I think that you're limited at least something like 25 times the size of the largest file on the OS of your choice.  It can actually be files of maximum size 25 x 26 or 25 x 100.  I'll see if I can get a more accurate number.  In all cases, it should be much more than to 1 TB.

    The maximum number of messages and the size of messages determine the sizes of the tables and the limits of what can be stored in the queuespace.  Please note that for non-persistent messages, you will need sufficient resources to IPC configured as the messages will all be stored in a shared memory segment.  For persistent messages, we store only the message headers in memory, and the message body is stored on the disk.

    Kind regards

    Todd little

    Chief Architect of Oracle Tuxedo

  • Message queued, case/default message handler?

    Hello

    I started to implement the QMH design for my application model:

    • Producer
      A state machine that implements my algorithm:
      Move actuators, send commands to a camera, settings etc.
    • Consumer
      A state machine that sends low level commands to devices according to the task at hand

    But now I have a problem:

    I would constantly check and show the positions of the actuators, as a case of default/message. Positions, different measures should be taken. If I were using a structure of the event into the loop of producer, I could use his timeout feature, but in my state machine, I can't do that.

    Example in the loop of producer:

    1. State "actuator move to position"-> mobile actuator
    2. Check the position every 100 ms until the goal reached<---- this="" would="" be="" my="" default="">
    3. After that position is reached, take a picture
    4. Output

    I admit, I still have a bit of trouble differentiating between the States and transitions. Currently my status in the producer State machine loop where to send the command 'move' and the positions of the target, is called now "move to xy. It runs only once. It might be preferable to have a State "now in motion" which reads the position and going on to the next State (for example "stopped") once the target is reached?

    Any thoughts on this please?

    Thank you!

    But now I have a problem:

    I would constantly check and show the positions of the actuators, as a case of default/message. Positions, different measures should be taken. If I were using a structure of the event into the loop of producer, I could use his timeout feature, but in my state machine, I can't do that.

    Why not? You can set the dequeue time-out so that if no message is received, it goes to a case of "timeout" of your QMH which is where you can check positions etc.

  • intrusion via CFMAIL message queue once, twice sending

    Hello

    For the last few weeks, one of my CF cases began to send outgoing emails twice.  Over the past years, pages have sent only one copy, but now they send 2 copies of each message.  A second instance that runs the same page (from a different domain) send a copy of each message.

    Even a simple, hard-coded tag < intrusion via cfmail >, with nothing else on the page whatsoever, is send twice.

    I have confirmed through newspapers and tests which

    -the intrusion via cfmail tag runs only once

    -1 single physical message is added to the folder/Spool / / Mail

    -2 identical messages are saved in the mailsent.log

    -2 emails are delivered

    I have confirmation that the outgoing mail server receives 2 commands to send each message

    As mentioned, the same page running on the outcome of the proceeding of 1 to 2 messages and run on the outcome of the proceeding of 2 in 2 posts.

    I got confirmation that 2 copies of the trial are not running at the same time.

    No sense at all?

    Any help would be greatly appreciated

    Looks to me that you have two instances of JRun running (somehow), and both are running a watchman of mail on the same dir of spooler.  Or something like that.

    You have an additional jrun process running?

    --

    Adam

  • UBBCONFIG configuration for Tuxedo/Q-error message queue server rebuild

    Hello..

    Use Tuxedo10g R3 on AIX 5.3...
    Use IBM COBOL...

    I need to write a program with the Concept of the queue in cobol, so for that I created queuespace and queue using the qmadmin command...

    When you set up the UBBCONFIG file, according to the document I mentioned:

    http://e-docs.BEA.com/Tuxedo/tux80/PDF/usingq.PDF

    I used (pg no: 28)
    TMQUEUE SRVGRP = "TMQUEUEGRP1" SRVID = 1000 RESTART = GRACE Y = 0 CLOPT = "s myqueuespace:TMQUEUE" in the section servers but while "
    Start TMQUEUE could not start... so I went to the alternative option provided in the same document that

    BuildServer o TMQUEUE s myqueuespace:TMQUEUE - r TUXEDO/QM.
    ${TUXDIR}/lib/TMQUEUE.o f
    followed by
    ..
    ..
    ..
    TMQUEUE SRVGRP = "TMQUEUEGRP1" SRVID = 1000 RESTART = GRACE Y = 0.
    CLOPT = "-A"

    during the reconstruction TMQUEUE get this error:
    BuildServer o TMQUEUE s myqueuespace:TMQUEUE - r TUXEDO/QM - f ${TUXDIR}/lib/TMQUEUE.o
    LD: 0711-317 ERROR: Undefined symbol: .qs_tcm_setup
    LD: 0711-345 use - bloadmap or - bnoquiet for more information.
    CMDTUX_CAT:1832: ERROR: cannot run cc - brtl - qstaticinline - qrtti = all-I$ TUXDIR/include - o TMQUEUE BS - 23f0be.c - L$ {TUXDIR} / lib

    /usr/Oracle/Tuxedo10g/lib/TMQUEUE.o - brtl - qstaticinline - ltux - lbuft - lqm - ltmib - lfml-lfml32 - lengine - lpthread

    can someone help me with this?

    Thanks in advance...

    Hello

    When you created the qspace, I'm guessing that you do not specify a number of fairly high process. In the qspacecreate of qmadmin command, there is a parameter that controls the number of processes that can join the queuespace. You should increase this number by changing the queuespace with the qmadmin command qspacechange or by recreating the queuespace.

    Kind regards
    Todd little
    Chief Architect of Oracle Tuxedo

  • Distributed uniforms, infinite messaging queue

    Hi again,
    After you successfully configure my Module JMS in a cluster 2 knots, I have a new problem. When you add a user, we put a MailEvent in a notification queue (uniform distributed).
    I checked the logs and the event is added only once. However after that, the NotificationMDB onMessage method is called at all times. He managed to send 15,000 emails
    in a few minutes. From what I can tell there is no exception. Also, the problem persists even after restarting the server. Someone has any idea what I am doing wrong?

    Thank you

    Thank you.

    I think that advice on his County is also relevant, if for some reason that you must have the transactional support for other reasons.

Maybe you are looking for