10g registered callback not called

I have the following method on the superclass of all the classes I've mapped in TopLink. I want the classes to know what session they come from, so that if they need to do any further queries, they can use the same one. I've selected this method for the Build event on the Post-X choice on the Events tab of each of my descriptors. The 'Informant' call would print to the log if the method were ever called, but it's not. Is there something else I need to do, or is this broken in 10g?
     public void postBuildEventCallback( DescriptorEvent aDescriptorEvent ) {
          Informant.debug( "postBuildEventCallback on "+this+" with "+aDescriptorEvent );
          setTopLinkSession( aDescriptorEvent.getSession() );
     }

The mapping still appears in the MW when I shut down and re-open JDeveloper, so I wasn't worried that it hadn't been saved. However, it turns out I hand't rebuilt the toplink-deployment-descriptor.xml, so it wasn't making it to the runtime.
Everything seems to be working fine now. Thanks!

Similar Messages

  • OCCI AQ Subscription: callback not called

    When data changed in table, I want my application to know immediately. So I use the Subsription class. The implements as follows. When I insert row to table set_tab_info, the triggers acts, but the callback not called. What's wrong?
    --create multi consumer queue table
    BEGIN
    dbms_aqadm.create_queue_table (
                                       queue_table => 'hr.table06',
                                       queue_payload_type => 'RAW',
                                       comment => 'multi-consumer',
                                       multiple_consumers => TRUE,
                                       compatible => '8.1.0'
    END;
    --create multi consumer queue
    BEGIN
    dbms_aqadm.create_queue (
                                  queue_name => 'queue06',
                                  queue_table=> 'hr.table06'
    END;
    BEGIN
    dbms_aqadm.start_queue(queue_name => 'queue06');
    END;
    --create table
    CREATE TABLE set_tab_info(
         flag NUMBER
    --create trigger, as a test, the payload is a byte
    CREATE OR REPLACE TRIGGER tablechangeNew
         AFTER UPDATE OR INSERT OR DELETE
         ON set_tab_info
         FOR EACH ROW
    DECLARE
         enqopt dbms_aq.enqueue_options_t;
         mprop dbms_aq.message_properties_t;
         enq_msgid RAW(16);
         rcpt_list dbms_aq.aq$_recipient_list_t;
    BEGIN
         rcpt_list(0) := sys.aq$_agent('RECEIVER06', null, null);
         mprop.recipient_list := rcpt_list;
         dbms_aq.enqueue(
                        queue_name => 'hr.queue06',
                        enqueue_options => enqopt,
                        message_properties => mprop,
                        payload => HEXTORAW('61'),
                        msgid => enq_msgid);
    END;
    #include <iostream>
    #include <iomanip>
    #include <string>
    #include <cstdlib>
    #include <vector>
    using namespace std;
    #include "occi.h"
    using namespace oracle::occi;
    #include "occiAQ.h"
    using namespace oracle::occi::aq;
    string username("HR");
    string password("HR");
    string connstr("192.168.8.22:1521/study");
    Environment* p_env = NULL;
    Subscription* p_sub = NULL;
    Connection* p_conn = NULL;
    vector<Subscription> sub_vec;
    class NotifyRegister
    public:
         static unsigned int callback(Subscription& sub, NotifyResult* nr)
              //nr->getPayload();
              //Message msg = nr->getMessage();
              //Bytes bt =nr->getMessageId();
              cout << "callback was called!" << endl;
              return 0;
         void notifyTest()
              p_env = Environment::createEnvironment(Environment::EVENTS);
              p_sub = new Subscription(p_env);
              p_sub->setSubscriptionNamespace(Subscription::NS_AQ);
              //SCHEMA.QUEUE:CONSUMER_NAME
              p_sub->setSubscriptionName("HR.QUEUE06:RECEIVER06");
              p_sub->setPresentation(Subscription::PRES_DEFAULT);
              p_sub->setProtocol(Subscription::PROTO_CBK);
              p_sub->setNotifyCallback(&NotifyRegister::callback);
              //what's the context mean, how to set?
              p_sub->setCallbackContext((void*)this);
              p_env->enableSubscription(*p_sub);
              p_conn = p_env->createConnection(username, password, connstr);
              sub_vec.push_back(*p_sub);
              p_conn->registerSubscriptions(sub_vec);
    int main()
         NotifyRegister nr;
         nr.notifyTest();
         pause();
         return EXIT_SUCCESS;
    I don't know how to set the callback context. so just use this statement:
    p_sub->setCallbackContext((void*)this);

    Thanks, once again. Sorry for my naive questions, but I'm unable to find a good example for this...
    After registering the Subscriber, and creating the environment in EVENT mode, it seems like it is picking up the message. Once I send a AQ message, I get an error from visual studio, telling me the variable ESP was not properly saved across a function call. At least it reacts now :)
    Could it be that I'm doing something wrong when defining or hooking my callback function? The breakpoint in the callback function is never called....
    my registering routine now looks like this:
    void aq_connection::create_callback() {
    payload = new Bytes(env); //is this the correct way?
    Subscription sub(env);
    sub.setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
    sub.setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
    sub.setPayload(*payload);
    sub.setCallbackContext((void *)this);
    sub.setSubscriptionName(quename + ":" + config->subscribername);
    sub.setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
    sub.setNotifyCallback(&aq_connection::event_message);
    subs.push_back(sub);
    conn->registerSubscriptions(subs);
    I thought it was ok to create a local Subscription instance, as I put it into the global subs-vector.
    Thanks in advance,
    Sverre

  • Failover callback not called when listener dies

    I need to create a RAC-aware Pro*C application.
    I got the preconfigured VirtualBox images with OL 5 and RAC nodes.
    The listener is installed on both machines too. They share a single IP address for the listener, which I added to the hosts file:
    192.168.56.201   rac-scan.localdomain    rac-scanActually, the cluster decides to create a virtual network adapter on one of the nodes and this address is assigned to it and then the listener becomes awailable. When this node dies, the cluster starts the listener on another node.
    I don't know, whether it's a proper way. I heard that the listener should be on a separate machine.
    But the problem is: when I turn off the node my client program is connected to, the failover callback function is not called. The next oracle operation fails with "ORA-03114: not connected to ORACLE".
    I followed http://docs.oracle.com/cd/A91202_01/901_doc/appdev.901/a89857/oci09adv.htm#428924 and https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=415245.1 to create the sample program that registers the callback.
    Could it be that the failover only works when the DB service fails, but not the listener?

    The problem was bad connection string

  • Air.swf GetApplicationVersion callback not called

    I am trying to use air.swf from
    http://airdownload.adobe.com/air/browserapi
    per the Adobe documentation to detect if an air application is
    already installed. I'm using getApplicationVersion but the callback
    function is never called. launchApplication() and
    installApplication() work fine.
    The code looks like this:
    _air.getApplicationVersion(appID, pubID,
    versionDetectCallback);
    VersionDetectCallback() is never called. I de-compiled the
    air.swf and ran the code directly to try and figure out what's
    failing. But I get the same result. I can see the timer on the
    LocalConnection endpoint timing out after 5 seconds. I just can't
    figure out why the appinstaller is not calling back. The actual
    call (taken from the decompiled swf) looks like this:
    airappinstaller = new ProductManager("airappinstaller");
    var launchArgs:Array;
    launchArgs = ["-isinstalled", appID, pubID, "adobe.com" + ":"
    + lcName, "onApplicationVersion"];
    airappinstaller.launch(launchArgs.join(" "));
    where onApplicationVersion is the endpoint callback function
    and lcName is the LocalConnection name.
    Anyone know why GetApplicationVersion() doesn't work?

    I am trying to use air.swf from
    http://airdownload.adobe.com/air/browserapi
    per the Adobe documentation to detect if an air application is
    already installed. I'm using getApplicationVersion but the callback
    function is never called. launchApplication() and
    installApplication() work fine.
    The code looks like this:
    _air.getApplicationVersion(appID, pubID,
    versionDetectCallback);
    VersionDetectCallback() is never called. I de-compiled the
    air.swf and ran the code directly to try and figure out what's
    failing. But I get the same result. I can see the timer on the
    LocalConnection endpoint timing out after 5 seconds. I just can't
    figure out why the appinstaller is not calling back. The actual
    call (taken from the decompiled swf) looks like this:
    airappinstaller = new ProductManager("airappinstaller");
    var launchArgs:Array;
    launchArgs = ["-isinstalled", appID, pubID, "adobe.com" + ":"
    + lcName, "onApplicationVersion"];
    airappinstaller.launch(launchArgs.join(" "));
    where onApplicationVersion is the endpoint callback function
    and lcName is the LocalConnection name.
    Anyone know why GetApplicationVersion() doesn't work?

  • Occi AQ callback not called

    I have written code for dequeing messages with blocking calls (Consumer::recieve), which works fine. Now I try to register a callback function, which should be called when a message is in the queue.
    Some code:
    void aq_connection::create_callback() {
    payload = new Bytes(env); //?
    Subscription newSubscription(env);
    newSubscription.setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
    newSubscription.setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
    newSubscription.setPayload(*payload);
    newSubscription.setCallbackContext((void *)this);
    newSubscription.setSubscriptionName(quename + ":" + config->subscribername);
    newSubscription.setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
    newSubscription.setNotifyCallback(&aq_connection::event_message);
    mye callback method is defined like this:
    static unsigned int event_message(oracle::occi::aq::Subscription &sub ,oracle::occi::aq::NotifyResult *not) {
    std::cout << "got message\n";
    return 0;
    The problem is, the event_message function is never called... I send in messages into the queue with this stored procedure:
    message := OURMSG_TYP(p_id, p_msg_type_id, p_msg, p_operation, p_data);
    enqueue_options.visibility := DBMS_AQ.ON_COMMIT;
         enqueue_options.relative_msgid := NULL;
         enqueue_options.sequence_deviation := NULL;
         enqueue_options.transformation := NULL;
         message_properties.priority := 1;
         message_properties.delay :=     DBMS_AQ.NO_DELAY;
         message_properties.expiration := p_expiration;
         message_properties.correlation := NULL;
         --message_properties.recipient_list :=
         message_properties.exception_queue := vcp_exception_queue_name;
         --message_properties.sender_id :=
         message_properties.original_msgid := NULL;
         message_properties.transaction_group := NULL;
         message_properties.user_property :=     NULL;
         DBMS_AQ.ENQUEUE(
         queue_name => our_queue_name,
    enqueue_options => enqueue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle
    Any obvious reason why my callback is never called?
    regards,
    Sverre

    Thanks, once again. Sorry for my naive questions, but I'm unable to find a good example for this...
    After registering the Subscriber, and creating the environment in EVENT mode, it seems like it is picking up the message. Once I send a AQ message, I get an error from visual studio, telling me the variable ESP was not properly saved across a function call. At least it reacts now :)
    Could it be that I'm doing something wrong when defining or hooking my callback function? The breakpoint in the callback function is never called....
    my registering routine now looks like this:
    void aq_connection::create_callback() {
    payload = new Bytes(env); //is this the correct way?
    Subscription sub(env);
    sub.setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
    sub.setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
    sub.setPayload(*payload);
    sub.setCallbackContext((void *)this);
    sub.setSubscriptionName(quename + ":" + config->subscribername);
    sub.setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
    sub.setNotifyCallback(&aq_connection::event_message);
    subs.push_back(sub);
    conn->registerSubscriptions(subs);
    I thought it was ok to create a local Subscription instance, as I put it into the global subs-vector.
    Thanks in advance,
    Sverre

  • AQ callback not called in some environments

    Hi,
    I've got a client program that subscribes to a queue, and registers a callback that is called whenever a message is enqueued. This works fine on most computers, but on some computers this callback is never called. I've run it both in debug and release, and the breakpoint in the callback is never hit. On most computer thought, this works all the time.
    This is how I register the callback:
    sub = new Subscription(env);
    sub->setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
    sub->setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
    sub->setCallbackContext((void *)this);
    sub->setSubscriptionName(queue_name + ":" + config["subscribername"]);
    sub->setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
    sub->setNotifyCallback(&messagequeueclient_occi::event_message);
    subs.push_back(*sub);
    conn->registerSubscriptions(subs);
    both subs and sub are class variables, and the callback look like this:
    static unsigned int event_message(
    oracle::occi::aq::Subscription &sub,
    oracle::occi::aq::NotifyResult *nr
    I've tried to examine the difference between the machines, but they all sem to have the same oracle client version etc...
    Any tip would be greatly appreciated.
    Regards,
    Sverre

    Thanks, once again. Sorry for my naive questions, but I'm unable to find a good example for this...
    After registering the Subscriber, and creating the environment in EVENT mode, it seems like it is picking up the message. Once I send a AQ message, I get an error from visual studio, telling me the variable ESP was not properly saved across a function call. At least it reacts now :)
    Could it be that I'm doing something wrong when defining or hooking my callback function? The breakpoint in the callback function is never called....
    my registering routine now looks like this:
    void aq_connection::create_callback() {
    payload = new Bytes(env); //is this the correct way?
    Subscription sub(env);
    sub.setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
    sub.setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
    sub.setPayload(*payload);
    sub.setCallbackContext((void *)this);
    sub.setSubscriptionName(quename + ":" + config->subscribername);
    sub.setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
    sub.setNotifyCallback(&aq_connection::event_message);
    subs.push_back(sub);
    conn->registerSubscriptions(subs);
    I thought it was ok to create a local Subscription instance, as I put it into the global subs-vector.
    Thanks in advance,
    Sverre

  • Java script callback not called from plugin code

    Hi,
    I am having a plugin which works on FF 3.6. I am trying to make it work on FireFox 4/5. My java script callback for resize is getting called only for first time from plugin code and second time onwards its not getting called. We are using Gecko 2.0 plug-in library.
    I found two bugs in Firefox which may cause call to invalid callback.
    https://bugzilla.mozilla.org/show_bug.cgi?id=664682
    https://bugzilla.mozilla.org/show_bug.cgi?id=653083
    I think because of these two bugs my callback is not getting called. Is there any update for FireFox 4/Firefox5 with the fix for above two issues?
    Thanks,
    Rohit

    The first Bug is listed as a duplicate of the 2nd Bug you posted.
    I don't see any information in the Bug report about which version is going to specifically get the patch. Firefox 4 isn't supported any longer, and I can only assume that with an '''''Importance:''''' of '''normal''', that it won't be "pushed" to Firefox 5. AFAIK, with the new Fast Release schedule only security bugs are going create a situation where a '''''dot#''''' release is going to be made, and other Bugs that have been patched might then be included. With the current release schedule it's going to be 6 weeks between versions, vs the previous 12 to 14 months, or so.
    You may want to try a 6.0 beta to see if it is fixed there.

  • Failover callback NOT registered. - What it's mean?

    Hi
    In the logs we receives information’s " ... Failover callback NOT registered." What it's exactly mean?
    We use TT RO Cache groups to RAC.
    The OracleDB and Oracle client the same version 10.2
    10:54:50.91 Info: ORA: 9391: ora-9391-0013-raStuff08713: refresh.c:4051 (srvH ctx func) = (0x00000000009b1358 0x0000000000000000(0x0000000000000000 0x0000000000000000) 0x0000000000000000) Failover callback NOT registered.
    BR
    Andrzej

    root@tbaltJSLEE1# ttVersion
    TimesTen Release 7.0.5.0.0 (64 bit Solaris/x86) (tt70:17001) 2008-04-04T00:06:18Z
    Instance admin: jnetx
    Instance home directory: /opt/TimesTen/tt70
    Daemon home directory: /var/TimesTen/tt70
    Access control enabled.
    root@tbaltJSLEE1#
    Command> call ttConfiguration;
    < CkptFrequency, 600 >
    < CkptLogVolume, 0 >
    < CkptRate, 0 >
    < ConnectionCharacterSet, UTF8 >
    < ConnectionName, ccompldsn >
    < Connections, 64 >
    < DataBaseCharacterSet, UTF8 >
    < DataStore, /data/DataStore/CCOMPL/ccomplds >
    < DurableCommits, 0 >
    < GroupRestrict, <NULL> >
    < LockLevel, 0 >
    < LockWait, 10 >
    < LogBuffSize, 65536 >
    < LogDir, /data/DataStore/CCOMPL/log >
    < LogFileSize, 64 >
    < LogFlushMethod, 1 >
    < LogPurge, 1 >
    < Logging, 1 >
    < MemoryLock, 0 >
    < NLS_LENGTH_SEMANTICS, BYTE >
    < NLS_NCHAR_CONV_EXCP, 0 >
    < NLS_SORT, BINARY >
    < OracleID, SUNSEED >
    < PassThrough, 0 >
    < PermSize, 1000 >
    < PermWarnThreshold, 90 >
    < PrivateCommands, 0 >
    < Preallocate, 0 >
    < QueryThreshold, 0 >
    < RACCallback, 1 >
    < SQLQueryTimeout, 0 >
    < TempSize, 64 >
    < TempWarnThreshold, 90 >
    < Temporary, 0 >
    < TransparentLoad, 0 >
    < TypeMode, 0 >
    < UID, CCOMPL >
    37 rows found.
    Command>

  • [svn:fx-trunk] 16929: Add a [Mixin] class that will register the required class aliases in the event the mxml compiler generation   [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework .

    Revision: 16929
    Revision: 16929
    Author:   [email protected]
    Date:     2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
    Log Message:
    Add a class that will register the required class aliases in the event the mxml compiler generation  [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
    Add a reference to this class in the RPCClasses file so it always gets loaded.
    QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
    Bugs: Watson bug 2638788
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
    Added Paths:
        flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.as

    Great exercise to document the problem like this.  It got me thinking about how an app with modules would be different from an app that does not use modules.  Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked.  I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.

  • Are  DBMS_AQ.REGISTER callbacks functional on Oracle XE?

    I'm trying to get callbacks for oracle streams to work on ORACLE XE. I'd like to be able to perform a
    demo of using JMS to fire a pl/sql procedure. There are a million other ways of doing this, I'm sure.
    The idea is to enqueue a message and have the callback fire off. The call back is created using DBMS_AQ.REGISTER
    All I seem to get is the messages in thetopic/queue, and they don't go anywhere, my procedure is not called.
    I fixed up my XE instance to support JMS data types.
    Below is the code that I've used so far. The aq_tm_processes value is 1 and the
    job_queue_processes is 10. I've called START_TIME_MANAGER for what that's worth.
    I'm missing something or XE can't do this, any help appreciated.
    =================================
    grant connect, resource, aq_administrator_role to jmsuser identified by jmsuser;
    grant execute on sys.dbms_aqadm to jmsuser;
    grant execute on sys.dbms_aq to jmsuser;
    grant execute on sys.dbms_aqin to jmsuser;
    grant execute on sys.dbms_aqjms to jmsuser;
    exec dbms_aqadm.grant_system_privilege('ENQUEUE_ANY','jmsuser');
    exec dbms_aqadm.grant_system_privilege('DEQUEUE_ANY','jmsuser');
    CREATE ROLE my_aq_adm_role;
    grant connect, resource, aq_administrator_role to my_aq_adm_role;
    CREATE ROLE my_aq_user_role;
    GRANT aq_user_role to my_aq_user_role ;
    GRANT my_aq_user_role to jmsuser;
    dbms_aqadm.create_queue_table(
    queue_table => 'test_topic_table',
    comment => 'test topic_table',
    multiple_consumers => TRUE,
              compatible => '9.0.0',
    Queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE',
    message_grouping => DBMS_AQADM.TRANSACTIONAL );
    DBMS_AQADM.CREATE_QUEUE (Queue_name => 'jmsuser.test_topic',
    queue_type => DBMS_AQADM.NORMAL_QUEUE,
    max_retries => 3,
    retry_delay => 3,
    retention_time => 0,
    comment=>'test queue',
    auto_commit =>TRUE,
    Queue_table => 'jmsuser.test_topic_table');
    DBMS_AQADM.START_QUEUE (Queue_name => 'jmsuser.test_topic');
    DBMS_AQADM.ADD_SUBSCRIBER (
    queue_name => 'test_topic',
    subscriber => SYS.AQ$_AGENT(
    'test_topic_subscriber',
    'jmsuser.test_topic',
    NULL )
    DBMS_AQ.REGISTER (
    SYS.AQ$_REG_INFO_LIST(
    SYS.AQ$_REG_INFO(
    'test_topic:test_topic_subscriber',
    DBMS_AQ.NAMESPACE_AQ,
    'plsql://JMSUSER.TOPIC_CALLBACK',
    HEXTORAW('FF')
    1
    create or replace PROCEDURE TOPIC_CALLBACK
    context RAW,
    regInfo SYS.AQ$_REG_INFO,
    descr SYS.AQ$_DESCRIPTOR,
    payload SYS.AQ$_JMS_TEXT_MESSAGE,
    -- payload raw,
    payload1 number )
    AS
    r_dequeue_options DBMS_AQ.DEQUEUE_OPTIONS_T;
    r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
    v_message_handle RAW(16);
    my_info VARCHAR2(4000);
    o_payload SYS.AQ$_JMS_TEXT_MESSAGE;
    BEGIN
    r_dequeue_options.msgid := descr.msg_id;
    r_dequeue_options.consumer_name := descr.consumer_name;
    DBMS_AQ.DEQUEUE( queue_name => descr.queue_name,
    dequeue_options => r_dequeue_options,
    message_properties => r_message_properties,
    payload => o_payload,
    msgid => v_message_handle );
    o_payload.get_text(my_info) ;
    INSERT
    INTO jmsuser.aq_info_table
    MESSAGE
    VALUES
    'Message ['
    || trim(my_info)
    || '] '
    || 'dequeued at ['
    || TO_CHAR( SYSTIMESTAMP, 'DD-MON-YYYY HH24:MI:SS.FF3' )
    || ']'
    COMMIT;
    END TOPIC_CALLBACK;

    I'm trying to get callbacks for oracle streams to work on ORACLE XE. I'd like to be able to perform a
    demo of using JMS to fire a pl/sql procedure. There are a million other ways of doing this, I'm sure.
    The idea is to enqueue a message and have the callback fire off. The call back is created using DBMS_AQ.REGISTER
    All I seem to get is the messages in thetopic/queue, and they don't go anywhere, my procedure is not called.
    I fixed up my XE instance to support JMS data types.
    Below is the code that I've used so far. The aq_tm_processes value is 1 and the
    job_queue_processes is 10. I've called START_TIME_MANAGER for what that's worth.
    I'm missing something or XE can't do this, any help appreciated.
    =================================
    grant connect, resource, aq_administrator_role to jmsuser identified by jmsuser;
    grant execute on sys.dbms_aqadm to jmsuser;
    grant execute on sys.dbms_aq to jmsuser;
    grant execute on sys.dbms_aqin to jmsuser;
    grant execute on sys.dbms_aqjms to jmsuser;
    exec dbms_aqadm.grant_system_privilege('ENQUEUE_ANY','jmsuser');
    exec dbms_aqadm.grant_system_privilege('DEQUEUE_ANY','jmsuser');
    CREATE ROLE my_aq_adm_role;
    grant connect, resource, aq_administrator_role to my_aq_adm_role;
    CREATE ROLE my_aq_user_role;
    GRANT aq_user_role to my_aq_user_role ;
    GRANT my_aq_user_role to jmsuser;
    dbms_aqadm.create_queue_table(
    queue_table => 'test_topic_table',
    comment => 'test topic_table',
    multiple_consumers => TRUE,
              compatible => '9.0.0',
    Queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE',
    message_grouping => DBMS_AQADM.TRANSACTIONAL );
    DBMS_AQADM.CREATE_QUEUE (Queue_name => 'jmsuser.test_topic',
    queue_type => DBMS_AQADM.NORMAL_QUEUE,
    max_retries => 3,
    retry_delay => 3,
    retention_time => 0,
    comment=>'test queue',
    auto_commit =>TRUE,
    Queue_table => 'jmsuser.test_topic_table');
    DBMS_AQADM.START_QUEUE (Queue_name => 'jmsuser.test_topic');
    DBMS_AQADM.ADD_SUBSCRIBER (
    queue_name => 'test_topic',
    subscriber => SYS.AQ$_AGENT(
    'test_topic_subscriber',
    'jmsuser.test_topic',
    NULL )
    DBMS_AQ.REGISTER (
    SYS.AQ$_REG_INFO_LIST(
    SYS.AQ$_REG_INFO(
    'test_topic:test_topic_subscriber',
    DBMS_AQ.NAMESPACE_AQ,
    'plsql://JMSUSER.TOPIC_CALLBACK',
    HEXTORAW('FF')
    1
    create or replace PROCEDURE TOPIC_CALLBACK
    context RAW,
    regInfo SYS.AQ$_REG_INFO,
    descr SYS.AQ$_DESCRIPTOR,
    payload SYS.AQ$_JMS_TEXT_MESSAGE,
    -- payload raw,
    payload1 number )
    AS
    r_dequeue_options DBMS_AQ.DEQUEUE_OPTIONS_T;
    r_message_properties DBMS_AQ.MESSAGE_PROPERTIES_T;
    v_message_handle RAW(16);
    my_info VARCHAR2(4000);
    o_payload SYS.AQ$_JMS_TEXT_MESSAGE;
    BEGIN
    r_dequeue_options.msgid := descr.msg_id;
    r_dequeue_options.consumer_name := descr.consumer_name;
    DBMS_AQ.DEQUEUE( queue_name => descr.queue_name,
    dequeue_options => r_dequeue_options,
    message_properties => r_message_properties,
    payload => o_payload,
    msgid => v_message_handle );
    o_payload.get_text(my_info) ;
    INSERT
    INTO jmsuser.aq_info_table
    MESSAGE
    VALUES
    'Message ['
    || trim(my_info)
    || '] '
    || 'dequeued at ['
    || TO_CHAR( SYSTIMESTAMP, 'DD-MON-YYYY HH24:MI:SS.FF3' )
    || ']'
    COMMIT;
    END TOPIC_CALLBACK;

  • Custom Widget not calling cpSetValue in Runtime mode

    Hi,
    for some reason , Captivate Runtime is not calling cpSetValue throught the ExternalInterface... so this is really problematic as i need to retreive the movie_handle and the variable_handle.
    is anyone already experienced this problem?
    Thank you!
    E.

    Hi, thank you for helping me.
    So whats happend here is based on the documentation and other widget example, captivate at runtime is supposed to call cpSetValue using the ExternalInterface Call.
    The problem is, not callBack is been called in runtime... Work well in Edit and Stage Mode thought.
    if(ExternalInterface.available == true)
              Todo : Register all the ExternalInterface functions
              ExternalInterface.addCallback( "isStatic" , isStatic );
              ExternalInterface.addCallback( "getInspectorParameters" , getInspectorParameters );
              ExternalInterface.addCallback( "setInspectorParameters" , setInspectorParameters );
              ExternalInterface.addCallback( "setParameters" , setParameters );
              ExternalInterface.addCallback( "cpSetValue" , cpSetValue );
              ExternalInterface.addCallback( "getEditModeWidth", getEditModeWidth);
              ExternalInterface.addCallback( "getEditModeHeight", getEditModeHeight);
              ExternalInterface.addCallback( "IsReadyForSnapShot", IsReadyForSnapShot);
              ExternalInterface.addCallback( "getListOfUsedInternalResources", getListOfUsedInternalResources);
              ExternalInterface.addCallback( "getListOfUsedExternalResources", getListOfUsedExternalResources);
              ExternalInterface.addCallback( "SetExternalResources", SetExternalResources);
              ExternalInterface.addCallback( "SetInternalResources", SetInternalResources);
              ExternalInterface.addCallback( "GetWidgetAPIVersion", GetWidgetAPIVersion);
              ExternalInterface.addCallback( "SetStageModeSize", SetStageModeSize);
              ExternalInterface.addCallback( "SetCaptivateVersion", SetCaptivateVersion);
              ExternalInterface.addCallback( "SetLanguage", SetLanguage);
    i have my functions defined properly and as stated previously its working in Edit and Stage Mode.
    Thank you!
    E.

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • RFC Adapter not Call

    Hello Friends,
    I am working on XI 2.0
    My Scenario is
    IDOC --> XI --> RFC Adapter --> R/3 System
    I am configuring the RFC adapter for the SAP system.
    But when I am able to try to call using the Integration Engine it’s not call the RFC adapter.
    I define the end point as
    RFC Adapter
    (X) Load Balancing Deactivated
           Application Server -- <host name>
           System Number      -- 00
    When I run the scenario it show me in the <b>sm58</b> transaction as
    <b>Connection Close (no Data)</b>
    And in the SXMB_MONI Transaction it shows
    <b>A. Status</b> as <b>Green Flag</b> means <b>Message schedule on outbound side</b>.
    So can you please identify and suggest me the solution or what else configuration is required.
    Thanks & Regards,
    Gaurav Jain

    try to register all queues in SXMB_ADM -> Manage queues.
    I think that should help you solve the issue.

  • HT201653 We are a retail shop which has a copy of AppleCare Protection plan. The box is not sealed. How can I tell if the product has been registered or not.

    We are a retail shop which has a copy of AppleCare Protection plan. The box is not sealed. How can I tell if the product has been registered or not.

    Since the only thing needed in that box is the small piece of paper with the (very long) registration code on it (usually found inside the booklet), see if that is actually there and, if it is, call Apple at 800-275-2273 and ask to be transferred to the Applecare department. Here is the link to the Applecare plan - just in case you may need it, see the fax numbers listed under para. 9 (Cancellation).
    http://www.apple.com/legal/sales-support/applecare/appmacnaen.html

  • Error in Oracle9iAS when registering Lotus Notes?-pls help.

    Hi..
    I not sure whether to post my problem here, or in Portal forum...
    I got this error when registering Lotus Notes mail in Portal(We done all the step, but stuck in the Final Step). I know, maybe you will ask me to post it in PDK/Lotus Notes Forum, but, one of my friend said that This is Portal/Oracle9iAS Error..
    can anybody pls help me? Where to configure in the server to let Lotus Notes app is ok?
    This is the error that come out when we tried to register the Lotus Notes Mail...
    "500 Internal Server Error
    java.lang.VerifyError: (class: com/ibm/CORBA/iiop/GenericServerSC, method: dispatch signature: (Lcom/ibm/CORBA/iiop/IIOPInputStream;Lcom/ibm/CORBA/iiop/IIOPOutputStream;)V) Illegal use of nonvirtual function call at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at com.ibm.CORBA.iiop.ORB.registerSubcontracts(ORB.java) at com.ibm.CORBA.iiop.ORB.<init>(ORB.java) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.omg.CORBA.ORB.create_impl(ORB.java:284) at org.omg.CORBA.ORB.init(ORB.java:328) at lotus.domino.cso.Session.OREFtoSession(Session.java:703) at lotus.domino.cso.Session.<init>(Session.java:57) at lotus.domino.cso.Session.createSession(Session.java:36) at lotus.domino.NotesFactory.createSession(NotesFactory.java:67) at oracle.portal.integration.lotusnotes.application.ApplicationLogin.authenticateUser(Unknown Source) at oracle.portal.integration.lotusnotes.application.ApplicationLogin.performLogin(Unknown Source) at oracle.portal.integration.lotusnotes.application.LotusProvider.process(Unknown Source) at oracle.portal.integration.lotusnotes.application.ExternalServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:244) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Yes I have YemuZip & it works but need something that is either menu or automated. I have tried to use automator to automatically archive a .dat file when I add it to the folder where these files are stored...but can't get it to work. I haven't used automator before.
    I have the workflow done but it will only run when I go to the menu & select the workflow - I though the whoel point was that it was automatic?
    Anyway if YemuZip is the only way I can do it I guess I will have to wear it - I thought it may be a simple thing to alter the way OS X handles the compression...
    Thanks!

Maybe you are looking for

  • Reinstall Issue

    Hello, I am having extremely sluggish problems with Photoshop Elements 8, yet everything's fine with Premiere Elements 8. I recently reinstalled Windows 7 on my computer (Dell XPS), then I reinstalled the Premiere Elements and Photoshop Elements prog

  • Save PM Order in Desktop as a PDF doc

    Hello Experts, Can anyone explain me as to how to Save a PM Order (Shop papers) in Desktop as a PDF doc? I know we can explore options of workflow/smartforms, etc., Any quick help on this is highly appreciated!!!!!! Thanks in advance.

  • Pagesize in reports 6i?

    Hi, I am running a report on reports 6i, i have to print this report on legal size paper. i have set the main section width 20 and height 20 and as well as report width 120 report height 80 i set. but when iam running its fine but when iam printing t

  • Doubt on Stock Transfer

    Hi Experts,         Please suggest me how to do Stock Transfer Orders Bin to Bin..           Its very Urgent....      Thanks in Advance Thanks and Regards Siri..

  • Is there any way to find out who accessed the BW reports in Portal

    Hi! Experts We have some BW reports which are published through SAP Portal and access given to only Team Leaders, now we want to see who are accessed or trying to access those reports other then Team leaders. Is there any way we can generate a LOG fi