PL/SQL Call Back function is never called

Hi, I have a AQ set to run a PL/SQL Call Back procedure, but the procedure is never called.
Oracle version is 11.2.0.2 Standard Edition
When I query aq$<queue>, the MSG_STATE column is always "ready".
This is the queue creation script
begin
  DBMS_AQADM.CREATE_QUEUE_TABLE ( queue_table => 'POLERMESSAGE',
                                  queue_payload_type => 'POLER_MESSAGE',
                                  multiple_consumers => TRUE );
  DBMS_AQADM.CREATE_QUEUE( queue_name => 'POLER_QUEUE',
                           queue_table => 'POLERMESSAGE');
  dbms_aqadm.add_subscriber( queue_name => 'POLER_QUEUE',
                             subscriber => sys.aq$_agent( 'POLER_RECIPIENT', null, null ) );    
  dbms_aq.register ( sys.aq$_reg_info_list( sys.aq$_reg_info('POLER_QUEUE:POLER_RECIPIENT',
                                                             dbms_aq.namespace_aq,
                                                             'plsql://tr',
                                                             HEXTORAW('FF')) ) ,
                       1 );    
  DBMS_AQADM.START_QUEUE(queue_name => 'POLER_QUEUE');    
end;
/This is the content of "tr" procedure
create or replace
procedure tr ( context raw,
                       reginfo sys.aq$_reg_info,
                       descr sys.aq$_descriptor,
                       payload raw,
                       payloadl number)
as
  dequeue_options dbms_aq.dequeue_options_t;
  message_properties dbms_aq.message_properties_t;
  message_handle RAW(16);
  message poler_message;
BEGIN
  dequeue_options.msgid := descr.msg_id;
  dequeue_options.consumer_name := descr.consumer_name;
  DBMS_AQ.DEQUEUE(queue_name => descr.queue_name,
                  dequeue_options => dequeue_options,
                  message_properties => message_properties,
                  payload => message,
                  msgid => message_handle);
  insert into lxtr values ( Nvl( To_Char(message.PolerMsgNro ), 'ooops' ), systimestamp ) ;
  commit ;
end tr;If I query sys.reg$, I see it registered there:
SQL> select subscription_name, location_name, status, state from sys.reg$;
SUBSCRIPTION_NAME
LOCATION_NAME
   STATUS     STATE
"SPARCS"."POLER_QUEUE":"POLER_RECIPIENT"
plsql://tr
        0         0I was working, until I re-compiled (don't ask...) the trigger that enqueue the message
This is the section of the trigger (post insert for each row) that do the enqueuing. It seems to be working, since it is enqueuing. The issue is the dequeue.
DECLARE
  enqueue_options dbms_aq.enqueue_options_t;
  message_properties dbms_aq.message_properties_t;
  message_handle RAW(16);
  message poler_message;
  err varchar2(2000);
BEGIN
    message := poler_message(PolerMsgId,  PolerMsgNro );
    dbms_aq.enqueue(queue_name => 'POLER_QUEUE',
                    enqueue_options => enqueue_options,
                    message_properties => message_properties,
                    payload => message,
                    msgid => message_handle);
END;If I run the code below, message is cleanly dequeued
declare
  dequeue_options      dbms_aq.dequeue_options_t;
  message_properties   dbms_aq.message_properties_t;
  message_handle       RAW(16);
  message              poler_message;
BEGIN
  dequeue_options.consumer_name := 'POLER_RECIPIENT' ;
  dbms_aq.dequeue( queue_name => 'POLER_QUEUE',
                   dequeue_options       => dequeue_options,
                   message_properties    => message_properties,
                   payload               => message,
                   msgid                 => message_handle);
  COMMIT;
END ;Can anyone please give me any hints on what should I do next. There is nothing on the alert log...
Thank you in advance,
Tiago

1) Very few PL/SQL programmers would consider it good form to have procedures with excessive numbers of parameters. In any language, though, it's possible to write poor code.
2) Initially, you're right-- the performance of properly defined SQL statements via JDBC is little different than the performance of PL/SQL stored procedures. Frequently, however, SQL statements in Java applications do not take advantage of bind variables, which will significantly limit their scalability. Maintaining SQL statements in client applications makes it significantly more difficult on the support side-- if you find a bug in a stored procedure, you can fix the bug in one place-- if you find a bug in embedded SQL, you have to fix the code everywhere the client is deployed. Maintaining PL/SQL stored procedures also makes optimization easier-- frequently your DBA will be able to boil down a stored procedure to a couple of SQL statements and vastly improve performance (i.e. INSERT INTO <<table name>> SELECT <<column list>> from <<other table>> rather than looping over a cursor doing single-row inserts). Finally, PL/SQL stored procedures enable reuse-- when the next application wants to access the database, it doesn't have to rewrite your SQL.
3) If the alternative to the bind variables (?'s) is a bunch of literals, I'll spend the extra time writing the code for the tremendous increase in scalability.
4-6) You can certainly pass classes from Java to PL/SQL and back. You can also write Java stored procedures, rather than writing PL/SQL stored procedures). Oracle has been one of the leading proponents of Java.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • How to unrigister the call back function,in vb6 with DAQmx 8.5

    I use daqmx api which named DAQmxRegisterEveryNSamplesEvent to register my call back function,When I invoke the function  DAQmxErrChk (DAQmxStopTask(taskHandleAnalog)) to stop my Task.then i call the procedure AD_OPEN  again,it raise an error ,tell me that i need to unregister the event,the data has transfer into the buffer.how can i unregister the event,please look at the following code.
    Spoiler (Highlight to read)
    Private Sub create()
       Dim channel As String
        Dim minVoltage, maxVoltage As Double
        Dim samplesPerChannelPerRead As Double
        Dim sampleMode As Long
        Dim boolVal As Boolean
        On Error GoTo AdErrorHandler:
        ' Get values from UI controls
        channel = "Dev2/ai1:2"
        minVoltage = -10
        maxVoltage = 10
        samplesPerChannelPerRead = 100
         If (taskHandleAnalog <> 0) Then
             DAQmxErrChk (DAQmxStopTask(taskHandleAnalog))
            DAQmxErrChk (DAQmxClearTask(taskHandleAnalog))
            taskhandle = 0
        End If
        ' Configure the task
        DAQmxErrChk (DAQmxCreateTask("", taskHandleAnalog))
         DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleAnalog, "Dev2/ai0", "", DAQmx_Val_InputTermCfg_RSE, minVoltage, maxVoltage, DAQmx_Val_VoltageUnits2_Volts, vbNullString))
        DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleAnalog, channel, "", DAQmx_Val_InputTermCfg_Diff, minVoltage, maxVoltage, DAQmx_Val_VoltageUnits2_Volts, vbNullString))
    End Sub
    Private Sub AD_Open()
        DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleAnalog, "", 200, DAQmx_Val_Rising, DAQmx_Val_AcquisitionType_ContSamps, samplesPerChannelPerRead))
        'Find number of samples specified
        DAQmxErrChk (DAQmxGetTaskNumChans(taskHandleAnalog, numChannels))
        'Configure Event Callbacks
        DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandleAnalog, 1, 4, 0, AddressOf EveryNSamplesEventHandler1, Nothing))
     ReDim dataBuffer(numChannels * samplesPerChannelPerRead - 1)
        ' Start the DAQmx Task
    '    DAQmxErrChk (DAQmxCfgDigEdgeStartTrig(taskHandleAnalog, "/Dev1/PFI2", DAQmx_Val_Edge1_Falling))
        DAQmxErrChk (DAQmxStartTask(taskHandleAnalog))
        ' Update UI
        Exit Sub
    AdErrorHandler:
        MsgBox Err.Description
    End Sub

    This may be a bit late, so hopefully you found this on your own. But in order to unregister the event pass a null value for the callback function parameter in the DAQmxRegisterEveryNSamplesEvent function (Nothing in VB).
    National Instruments
    Product Support Engineer

  • How to use call back function ?

    i have MlEditmanager class which extends xyzManager class. I also want to extend Eventdispatcher .. but it is not possible to extend more than one class ...
    so the work around can be to create call back function. private var xyz:Function; --> how to use this syntax?
    Can someone help me how to achieve this?
    Urgent pls.

    Hi
    check out this link
    http://rushmeflex.blogspot.com/2010/09/cairngorm-2-view-notification.html
    Though this is not your requirement, however in the source code callback functions are used. You can get clue from that.
    Hope this helps
    Rush-me

  • HTTP Call back functionality

    Hi All,
        I need to implement a HTTP call back functionality to do a handshake between my portal and a 3rd party application.
    Framework: Oracle ADF
    Application server: Weblogic 10.3.6
    1. We will do a HTTP POST (that includes a token for validation purpose) from our portal to a 3rd party application, lets say, XAPP.
    2. Then the XAPP will make a call back using the call back URL of our portal. When they do the call back, they include the token that we provided to them in Step1.
    3. We need to accept the call back request and validate the token. After this I need to resume with the response processing from the initial POSTing session.
    4. After all the validations, I need to open XAPP's URL in a browser.
    Here the main catch is to keep the initial POSTing session alive(waiting) while accepting the call back request and then continue with the response processing from the initial POSTing session.
    Thanks for your help.

    Hi,
    make sure to post this to the WebCenter forum too as i would assume they more likely have this as a requirement too
    Frank

  • Invoking call back functions

    Hi there,
    While a client can invoke server side functions on the bean, is there anyway we can invoke a client side function (call back) from the bean itself?

    Not within EJB, but there are many ways to communicate. RMI and JMS would be two possibilities; though I would be a bit suspicious about the legality of using RMI from within an EJB, JMS is perfectly acceptable.

  • Stateless Bean - scope of instance variable in EJB Timer call back function

    Hi,
    I would like to know on the scope of an instance variable of a Stateless Bean object,
    when used in a EJB Timer call back.Let me explain this in more detail below.
    I have a requirement to use a EJB Timer.
    For this, I have created a stateless object since Timer creation needs to be done
    from a stateless bean. I have a member variable "count" of the stateless bean class.
    In the timer call back(ejbTimeout), I am able to use this count variable during
    each time of the call back, and the value of this variable is also updated properly.
    I have a few queries with respect to the above behaviour:
    1) Does stateless bean object not get destroyed once the Timer is created from the Bean?
    2) If the Bean object is not destroyed, then when does the bean object get destroyed?
    3) If both (1) and (2) are not true, then can anyone explain on how the above behaviour is possible?
    Thanks in advance,
    Ulrich

    Hi Ulrich,
    The ejb timer is associated with the stateless session bean component, not with a particular bean instance. There is no formal relationship between the bean instance that called createTimer() and the bean instance on which the timer callback happens. If they're the same in your test run that's just a coincidence and not something your application should be depending on.
    In the stateless session bean model, the container can create and destroy stateless session bean instances at any time. The container is free to pick any stateless session bean instance to service any client invocation or timer callback. If you need to pass context into a timer callback, one way to do it is via the timer "info" object. However, the info object is immutable so it wouldn't be a good match for a counter. You could of course always just use a database for any necessary coordinated state.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Always pop up call back when try to call out from my iphone 5s Gold

    While I try to make phone call it always pop up with call back. So what is the problem?

    Your phone is in recovery mode. Did you plug it to the computer running itunes? What happend?

  • How to access Call Back Functions using *.dll in the Labview?

    Hai,
    I am Pavan Ram Kumar Somu.
    I am new to Labview, currently I am working on MVB Interface.
    I need to access the API functions from *.dll file in Labview, as of now , I am doing this with Call function Library node in Labview but it does not support the following data types like
        1. Pointer Arguments(To which memory it points in Labview)
        2. function pointers Arguments
        3 .pointers in structures and pointer structures in structures and many other data types.
    Please Answer the below queries also:
    1. How to pass pointer arguments to API functions in DLL and how to collect pointer  
        return types from API functions in DLL
    2. How to pass structure arguments to API functions in DLL and how to collect structure
        return types from API functions in DLL
    3. How to use callback functions(nothing but function pointers) in Labview and how to
        collect callback fuctions return types from API functions in DLL
    I need your help while passing these datatypes to API functions in DLL from labview.
    Suggest me if there is any other alternative for implementing this task.
    I am referencing some examples here:
    Examples:
    I)
    Unsigned short int gf_open_device(void *p_device_config, unsigned long int client_life_sign_timeout, unsigned short int *device_error)
    void *p_device_config: How to access/pass these arguments in LabView and to which memory location it points in LabView.
    II) #include <windows.h>
         #include <process.h>
         HANDLE rcvEvent0, rcvEvent1;
    /* Function call*/
    CanGetReceiveEvent(handle[0], &rcvEvent0);
    Above is a piece of C code, Now I want to use HANDLE datatype which is windows based, how to use these type in the LABVIEW.
    With regards
    Pavan Ramu Samu

    "Somu" <[email protected]> wrote in message news:[email protected]...
    Hai,
    I am Pavan Ram Kumar Somu.
    &nbsp;
    I am new to Labview, currently I am working on MVB Interface.
    &nbsp;
    I need to access the API functions from *.dll file in Labview, as of now , I am doing this with Call function Library node in Labview but it does not support the following data types like
    &nbsp;&nbsp;&nbsp; 1. Pointer Arguments(To which memory it points in Labview)
    &nbsp;&nbsp;&nbsp; 2. function pointers Arguments
    &nbsp;&nbsp;&nbsp; 3 .pointers in structures and pointer structures in structures and many other data types.
    &nbsp;
    Please Answer the below queries also:
    &nbsp;
    1. How to pass pointer arguments to API functions in DLL and how to collect pointer&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp; return types from API functions in DLL
    &nbsp;
    2. How to pass structure arguments to API functions in DLL and how to collect structure
    &nbsp;&nbsp;&nbsp; return types from API functions in DLL
    &nbsp;
    3. How to use callback functions(nothing but function pointers) in Labview and how to
    &nbsp;&nbsp;&nbsp; collect callback fuctions return types from API functions in DLL
    &nbsp;
    I need your help while passing these datatypes to API functions in DLL from labview.
    &nbsp;
    Suggest me if there is any other alternative for implementing this task.
    &nbsp;
    &nbsp;
    I am referencing some examples here:
    Examples:
    I)
    Unsigned short int gf_open_device(void *p_device_config, unsigned long int client_life_sign_timeout, unsigned short int *device_error)
    &nbsp;
    void *p_device_config: How to access/pass these arguments in LabView and to which memory location it points in LabView.
    &nbsp;
    II) #include &lt;windows.h&gt;
    &nbsp;&nbsp;&nbsp;&nbsp; #include &lt;process.h&gt;
    &nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp; HANDLE rcvEvent0, rcvEvent1;
    &nbsp;
    /* Function call*/
    CanGetReceiveEvent(handle[0], &amp;rcvEvent0);
    &nbsp;
    Above is a piece of C code, Now I want to use HANDLE datatype which is windows based, how to use these type in the LABVIEW.
    &nbsp;
    With regardsPavan Ramu Samu
    Search the forum (forums.ni.com) for callback, pointer or handle, and you'll find that it is all possible, but not very easy.
    e.g.: http://forums.ni.com/ni/board/message?board.id=170&message.id=88974&requireLogin=False
    Regards,
    Wiebe.

  • Event Handler Call Back Functions

    Hi all,
    I've followed http://wiki.sdn.sap.com/wiki/display/CRM/ExtendBOLModelBTwithcustomtabletyperelationship that wiki to get my Z table accessible in the BOL through a relationship to BT. Create and display opperations are working just fine.
    My problem is with Modify and Delete actions.
    Essentially, when I press Save in the BOL Browser (after modifying some field in my Z Entity) and have a look at the Event Trace, I see that the events Init, Save, Init have been called. The problem here is that Init is being called before Save, clearing the global class table that holds my entities. Therefore, when Save is called the table is empty and no entities are updated in the DB.
    My Init function is called on '88 (Initialize Document)' and the Save function is called on '80 (Save Document)'. Is there some way of ensuring that Init will not be called before Save?
    Thanks for your time and help,
    Patrick.

    Hi folks.
    Some more info.
    I've been trying to figure out how the SAP standard works, so I'm having a look at PARTNERSET/PARTNER, which have the same set up against BT that my objects have. I've put break-points in to the functions CRM_PARTNER_INIT_EC & CRM_PARTNER_SAVE_EC.
    From the BOL Browser I now find a Partner relationship, make a modification and press Save.
    I see that here, also, the calling order is INIT followed by SAVE; but here the modifications are actually stored to the DB.
    So, is there something wrong with the code in the INIT/SAVE functions from that wiki?
    Essentially, has anyone here ever taken a Z Table, created a BOL entry for it with a relationship to BT (or any other component) and had it actually work?
    I've read every resource I can find on this, the wiki I linked, another by a guy named Harel, another that has us use the component set SO2; the CRM WebUI programming book and the Deep Dive course material and you can add to that many, many forum posts. None of them result in entities (with relationships) that actually work.
    Some insight/help would be greatly appreciated.
    Thanks,
    P.
    Edited by: Patrick O'Neill on Oct 12, 2011 10:40 AM

  • Unable to call New Function Module when called thru Internet Service in ESS

    Hi all,
    I am using 4.6C.
    What i want to do: We are attaching a new HTML Template to an iview in which we have a direct call to a newly created Function Module.(Direct call mean to say we are calling the FM thru Flow Editor of HTML template).
    What error i am getting : After publishing all edited/created objects when we test it in portal page. It says :
    ITS System Information
       Flow Execution Failed
    Your request could not be processed by the module provider.
    The module provide returned following error message: Error retreiving parameters from context
    You may check the trace files for more information.
    Please guide to solution at your earliest.
    Regards
    Manish

    Hi Bjoem,
    Search the forum for tutorials and blogs...
    Regards,
    Anubhav

  • Calling C function with Pascal calling convention

    Hello,
    I want to integrate with an external C function that uses Pascal (=
    __stdcall) calling convention. My course materials state that I should use
    the extended property: Pascal='true' with my C project. This property is not
    documented in the regular documentation and it does not seem to work. Does
    anyone know what the way to go is?
    My current work-around is to adapt the generated C code to include __stdcall
    and use fcompile to get it compiled and linked.
    Thanks,
    Frans van der Geer
    Info Support

    Hi Grarup,
    I took a stab at getting this to run and compile and this is what I came up with.  Let me know if this helps at all.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    Console.WriteLine("\"True\" or \"False\"?");
    bool boolVal = bool.Parse(Console.ReadLine());
    Functions f = new Functions();
    TestStruct t = new TestStruct() { Value = boolVal };
    f.Flip(ref t);
    Console.WriteLine(string.Format("Flipped value = {0}: ", t.Value));
    Console.ReadLine();
    public struct TestStruct
    public bool Value;
    public class Functions
    public void Flip(ref TestStruct testStruct)
    testStruct.Value = !testStruct.Value;
    Best of luck.

  • Air.swf getApplicationVersion() not calling back

    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);
    function versionDetectCallback(version:String):void { do
    stuff }
    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.
    It doesn't matter if I make the call from the Loader Init
    event or in a button click the callback function is never called. I
    am using Flash CS3.

    Hi Lisa,
    I am on windows yes,  and I seem to have got it working.  I found this problem to be very perculiar as there were many things my badge didnt like - such as a case statement instead of a load if if's.   anyway my solution is below,  although I must say, that now nothing happens if the user doesnt have air installed!  If they have Air installed but not my application, it will install my app but the need air installed first and that is not ideal!
    Maybe implementing your timer solution may help this?  Thanks for taking an interest!
    private var _toDo:String;
    private function onInit(e:Event):void
                _air = e.target.content;
                try
                  _air.getApplicationVersion(_applicationID, _publisherID, versionDetectCallback);
                catch (e:Error)
                  trace('air not installed');
                   root.statusMessage.text = 'Adobe Air not installed'
                   _toDo = new String("installAir")
    private function versionDetectCallback(version:String):void
                if (version == null)
                   trace('app not installed');
                   root.statusMessage.text = 'Coach Player not installed'
                   _toDo = new String("installApp")
                else
                   trace('app version ' + version + ' installed');
                   root.statusMessage.text = 'Application version ' + version + ' installed'
                   _toDo = new String("launchApp")
    private function onButtonClicked(e:Event):void
       root.statusMessage.htmlText = "onButtonClicked"
       if(_toDo == "installAir"){installAir()}
       if(_toDo == "installApp"){installApp()}
       if(_toDo == "launchApp"){launchApp()}
      protected function installAir():void
       root.statusMessage.text = 'Installing Adobe Air';
       _air.installApplication( _appURL, _airVersion, _arguments );
       //root.statusMessage.text = _appURL+" | "+ _airVersion+" | "+ _arguments
      protected function installApp():void
       root.statusMessage.text = 'Installing Coach Player';
       _air.installApplication( _appURL, _airVersion, _arguments );
       //root.statusMessage.text = _appURL+" | "+ _airVersion+" | "+ _arguments
      protected function launchApp():void
       root.statusMessage.text = 'Launching Coach Player';
       _air.launchApplication(_applicationID, _publisherID, _arguments);
       //root.statusMessage.text =  _applicationID+" | "+ _publisherID+" | "+ _arguments;
       //root.statusMessage.text = _arguments;

  • Program making a RFC call to Function Module not working in background

    Hi All,
    I have an ABAP Program which is used to do a reconciliation check between the R/3 and BI system for Invoice Data. Please find below the details of the program flow:
    1.     Program counts the number of records in the DSO table and aggregates the Net_Value based on the date range (passed as parameters)
    2.     Program calls a Function Module (RFC Call) which counts the number of records in the R/3 table and aggregates the Net_Value for the same date range
    3.     Function Module Passes back the count values and aggregated Net_Value to the program
    4.     Program compares the count and aggregated Net_Value from EDWH and MSP systems and sends an email mentioning whether the counts match or not
    However we are facing an issue.
    Whenever, we execute the program in dialog mode, it works fine and fetches results within 5-6 minutes. However if we schedule the program to run in background (parameters through a variant), it gives no results even after running for over 3-4 hours. We tried figuring it out yesterday but could not come to any conclusion. Since there is a RFC call being to the function module, we were wondering if we need to specify some other parameter as well.
    Thanks & Regards
    Dharmendra

    RFC Call is a procedure for executing remote enables function modules. It is done via the 'Remote Enabled' radio button on the function module's attribute screen.

  • Re: Forte and OrbixWeb call-back

    We have created a business process manager (BPM) layer between our client GUI
    and business model objects that supports Java call-in/call-out. This enables
    switching out the Forte windows with Java windows for a web solution with
    minimal code re-write.
    We were able to get most functionality to work as per our design, which
    included registering a call back function from a Java GUI in the BPM, but had
    to make some sacrifices due to a Forte bug, at least under 3.0.D. We turned
    in case #38434, detailing errors when we tried to fire a callback method with
    parameters, example below ("callback" was the Java object passed in.)
    method TestIIOPBackend.FireCallback(input message: Framework.string)
    begin
    if callback != nil then
    task.part.logmgr.putline('Firing callback');
    //WORKS
    callback.CallMe();
    //ERROR!
    callback.CallMeString(message);
    else
    task.part.logmgr.putline('Callback not set');
    end if;
    end method;
    This may have been fixed in 3.0.F, we found a way to work around it in our
    design and haven't investigated since.
    -DFR
    Ngai* Stuart <[email protected]> on 01/20/98 09:14:28 AM
    To: '[email protected]' <[email protected]> @ INTERNET
    cc:
    Subject: Forte and OrbixWeb call-back
    Has anyone actually tried the tech note 11153 "Java call-in/call-out and
    Forte
    Anchored Objects"? I'm trying to verify the callback mechanism from
    Forte to
    an IIOP Java client. Thanks.
    <<< Stuart Ngai (416)359-4306 [email protected] >>>
    ------ Message Header Follows ------
    Received: from pebble.SageIT.com by notes.bsginc.com
    (PostalUnion/SMTP(tm) v2.1.9c for Windows NT(tm))
    id AA-1998Jan20.101336.1771.787915; Tue, 20 Jan 1998 10:13:36 -0600
    Received: (from sync@localhost) by pebble.SageIT.com (8.6.10/8.6.9) id HAA03868
    for forte-users-outgoing; Tue, 20 Jan 1998 07:25:41 -0800
    Received: (from uucp@localhost) by pebble.SageIT.com (8.6.10/8.6.9) id HAA03862
    for <[email protected]>; Tue, 20 Jan 1998 07:25:39 -0800
    Received: from keeper.nesbittburns.ca(192.139.71.50) by pebble.sagesoln.com via
    smap (V2.0)
    id xma003860; Tue, 20 Jan 98 07:25:19 -0800
    Received: from NesbittBurns.ca (tds223.nesbittburns.ca) by
    keeper.NesbittBurns.ca (4.1/SMI-4.1)
    id AA22591; Tue, 20 Jan 98 10:23:47 EST
    Received: from nbtormail02.nesbittburns.ca by NesbittBurns.ca (5.x/SMI-SVR4)
    id AA12961; Tue, 20 Jan 1998 10:26:54 -0500
    Received: by nbtormail02.nesbittburns.ca with SMTP (Microsoft Exchange Server
    Internet Mail Connector Version 4.0.995.52)
    id <[email protected]>; Tue, 20 Jan 1998
    10:27:52
    -0500
    Message-Id:
    <c=CA%a=_%p=Nesbitt_Burns_In%[email protected]>
    From: "Ngai, Stuart" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    Subject: Forte and OrbixWeb call-back
    Date: Tue, 20 Jan 1998 10:27:39 -0500
    X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
    Mime-Version: 1.0
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: 7bit
    Sender: [email protected]
    Precedence: bulk
    Reply-To: "Ngai, Stuart" <[email protected]>

    Peggy,
    1) Do you have experience with PowerBuilder and Forte' applications running at
    the same time on the same (laptop) computer? Here I'm thinking
    about any potential resource constraints? Memory Requirements?As log as you are using Win95 or NT you should not be concerned about WIN-resources. Memory depends more on what your 2 tier PB application requires than what your Fort&eacute; would require.
    Cheers,
    Troels
    Lindhard Fort&eacute; Solutions
    -----Original Message-----
    From: Peggy Lynn Adrian [SMTP:[email protected]]
    Sent: Thursday, January 15, 1998 10:31 PM
    To: [email protected]
    Subject: Forte and Powerbuilder Experience Needed
    I sent this query to Forte support but maybe someone out there can help me
    with practical experience
    with the following?
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 01/15/98 04:30
    PM ---------------------------
    Peggy Lynn Adrian
    01/14/98 03:55 PM
    To: [email protected]
    cc: Peggy Lynn Adrian/AM/LLY@Lilly
    Subject: Forte and Powerbuilder Experience Needed
    1) Do you have experience with PowerBuilder and Forte' applications running at
    the same time on the same (laptop) computer? Here I'm thinking
    about any potential resource constraints? Memory Requirements?
    2) Can PowerBuilder and Forte' applications call and interact with one
    another?
    The Forte' application will need to interact with the PowerBuilder application
    to pull out information maintained by the PB application.

  • Call Library Function Node produces error in Windows 7

    Hi,
          I've created a simple program using LabVIEW 8.5 that uses calls in winscard.dll to read and write to a Smart Card.  I use Call Library Function Node to call functions in C:\Windows\System32\winscard.dll.  This program works without a problem in Windows XP both within LabVIEW 8.5 and once it is compiled.  I am also able to get this program to run without a problem when I run it in LabVIEW 2011 on a Windows 7 machine.  However, when I run the program compiled with LabVIEW 8.5 on Windows 7, the first call I make to a function in the DLL returns Windows System Error 2 (file not found).  Subsequent calls to other DLL functions return errors about invalid handles, which makes sense. 
    Can I compile the project in LabVIEW 2011 and save it back to a LabVIEW 8.5 compatible project file?
    Thanks,
    Jason Mazzotta

    Bannu wrote:
    Hi All,
    I am also having the similar issue. I have a VI, developed in LV2010 on Windows XP machine with a dll call using "Call Library Function Node".
    It is working fine in all WindowsXP machines but not in Window7 PCs.
    Getting Error when i tried to open in Windows7 machine:
    Error loading "DLL path....". Invalid access to memory location.
    Please let me know how to make this working on both machines [XP and Win7].
    Thanks,
    Soumya
    Way to little information to say anything useful about it. Attach your VI, explain what it should do, explain what the DLL is you try to call! You don't call your mechanicien saying your car doesn't start and expect him to diagnose the problem over the phone either with that much information.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • If I am using Pages on my iPad, am I able to link to places elsewhere in the document?

    If I am using Pages on my iPad, am I able to link to places elsewhere in the document?  I'm trying to set up a table of contents for my students and I was unsure if I could use the iPad version of pages to do this.

  • Macbook start up problem

    Hi, yesterday I was serving the net using Safari and everything works fine,after that I put my Macbook to sleep as usual (I usually don't shut down) few hours later I when I try to wake it up and the screen just went black, no screen light, totally b

  • How to install SDK

    I am obviously very new to this development environment. I have downloaded the SDK for CS3 and I am trying to install it. The readme and other documentation points to the porting-guide to explain how to set up and start using the SDK. I am looking at

  • IDVD '08 suddenly won't open older iDVD projects

    All of a sudden, my iDVD projects created with iDVD 06 will not open in iDVD '08. No changes to the system or software, currently running iDVD 7.0.2. I've copied older iDVD projects from an external HD to my desktop and tried to open them with iDVD,

  • Revision Level in ECM

    Hi All, I want to use revision level.I have activated the revision level and maintain series from A  to  Z. i have created change no. With ref to change no. when I am changing the BOM item , it assigns revision level "A". Then next time i am changing