Jolt and Asynchronous calls

We are currently using Jolt 1.2 connected to a Tuxedo 6.5 system on Solaris.
We are porting a Windows thick application to browser. We call a Tuxedo
service
with the old system that takes around 10 minutes to complete. We obviously
call this
asynchronously. When we call this same service using Jolt it "times-out".
Which makes
sense since Jolt 1.2 seems to only allow synchronous ( aka
Request-Response ) calls.
I have looked at the documentation for Jolt 1.2, 1.2.1, the Jolt with Tuxedo
7.1 and Tuxedo 8 and
I cannot find an ability to make a Asynchronous call. However, I did find
it in the API documentation
for the Jolt that comes with Weblogic Enterprise 5.1 and above? Are these
APIs available without
Weblogic Enterprise? Is there a special Jolt add-on package?
Thanks for the info,
Carl J. Collin
Walgreen Co.
[email protected]

Thank you very much. That is exactly what our engineers came up with
to get around this. The problem is that we have no ability to be notified
when this async service is finished. In our old application we would lock
the window manually (windows api) and run a loop doing getReplies until
the async returned a buffer. With a browser model, it probably isn't
possible
without having an applet or something. It just rubs me raw that the API I
need
for Jolt isn't supplied when you BUY JOLT, but only if you buy the
SUPER-EXPENSIVE
Weblogic Enterprise. Why have a Jolt product to begin with if you do not
supply the whole
functionality needed to merge Java and Tuxedo, which is the supposedly the
product's goal?
Carl J. Collin
Walgreen Co.
[email protected]
"Manoj SASIDHARAN" <[email protected]> wrote in message
news:[email protected]...
>
Hello Carl J. Collin,
I can suggest a workaround to make things happen.
From the browser call a Tuxedo service (synchronously) using Jolt whichinternally
does the following:
SVC(TPSVINFO...)
SvcName="Name of Service Currently called from Browser..";
ret=tpacall(SvcName,... TPNOREPLY);
tpreturn(...);
HTH
regards
MS
"Carl J. Collin" <[email protected]> wrote:
We are currently using Jolt 1.2 connected to a Tuxedo 6.5 system on
Solaris.
We are porting a Windows thick application to browser. We call a Tuxedo
service
with the old system that takes around 10 minutes to complete. Weobviously
call this
asynchronously. When we call this same service using Jolt it"times-out".
Which makes
sense since Jolt 1.2 seems to only allow synchronous ( aka
Request-Response ) calls.
I have looked at the documentation for Jolt 1.2, 1.2.1, the Jolt with
Tuxedo
7.1 and Tuxedo 8 and
I cannot find an ability to make a Asynchronous call. However, I did
find
it in the API documentation
for the Jolt that comes with Weblogic Enterprise 5.1 and above? Are
these
APIs available without
Weblogic Enterprise? Is there a special Jolt add-on package?
Thanks for the info,
Carl J. Collin
Walgreen Co.
[email protected]

Similar Messages

  • What is a gateway proxy?? what are synchronous and asynchronous calls?

    bapis are rfc enabled. but are there any other rfc's  available in sap? what is a gateway proxy?? what are synchronous and asynchronous calls?

    Hello:
    Lets st art at the beginning.
    There are NO documented viruses that affect a Mac running OS X - none (there are instances of Malware).
    Gateway GEO-IP/BOTNET Alert
    This is a Youtube video that explains what you have (I assume you installed it somehow) on your computer:
    http://www.youtube.com/watch?v=JwRi2me2hSk
    For openers, I would uninstall any A/V software you have put on your system.  It is certainly possible that that junk has put some other stuff on your computer.
    I'm also afraid my computer might have been hacked?
    Highly unlikely.
    Barry

  • Does JAM help making synchronous and asynchronous calls to CICS

    I want to integrate mainframes and j2ee application. Does JAM provide synchronous and as well as asynchronous call to CICS from j2ee and vice-versa
              

    I want to integrate mainframes and j2ee application. Does JAM provide synchronous and as well as asynchronous call to CICS from j2ee and vice-versa
              

  • Call mode types: Synchronous and Asynchronous in ABAP process for a chain

    Hello,
    I have a doubt about the call mode type for a abap type process in a process chain. It has two options:
    1.Synchronous
    2.Asynchronous
    Would like to know the diferences between these two; advantages and disadvantages of using them.
    Thanks in advance for your help...
    Regards,
    Anuj

    hi anuj,
    pls refer the following link.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/eed63b54e56276e10000000a11402f/content.htm
    hope it will help u to understand well the synchronous and asynchronous process chains call mode.
    thanks

  • What is synchronous and asynchronous FM calls

    Hi All,
       Can you tell me that what is synchronous and asynchronous FM calls?
       Full points will be rewarded for the answer of this simple question !!
    Best Regards,
    Chandan Dubey

    Hi Chandan,
         You can refer the below document for a good explanation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694
    Thnaks,
    Siva.

  • Is there a way to process multiple asynchronous calls individually (instead of all at once)?

    Hello,
    I have a function that saves a record using a RPC call (asyncToken with a new responder).  When I save an individual record (pressing "s" key), it works fine.  However, when I attempt to save multiple records simultaneously (bound to "v" key) (I have a for loop running through the selectedItems in the datagrid), it performs strangely.
    For anyone who hasn't experienced this, the successive calls seem to get stacked (literally - i.e. using a stack) and processed at the end of all operations in that block of code (I had trace functions before and after the call that were executed before I saw the result confirming this).
    What I would like to do is to simulate multiple AsyncToken usages with a single click, but still have them all occur individually since right now, the function saves the last item in the stack 8 times instead of saving each of the 8 items separately.
    OR
    Is there another means of RPC using something like "interruptToken" as opposed to asyncToken?  (In most other areas I've seen, asynchronous calls are performed as interrupts and dealt with immediately, thats why this procedure confused me for a bit)
    Thanks in advance,

    The second paragraph you posted is definitely worthwhile - still figuring out some of the inner workings of Flex calls (not just RPC stuff) that I use as I am pretty new to flex.
    I don't have the code with me at the moment, but I think I have to use separate calls to the save function.  My situation is this (and I plan on updating with code on Monday if necessary):
    I have a datagrid that is populated using a single RPC (which is loaded into an arrayCollection first then the datagrid).  Changes are made to the datagrid through a copy/paste function that I made, but these changes are only reflected on the datagrid (i.e. not in the dataprovider).  When the user hits "save", the selected line (selectedItem actually - i.e. not an index but the object itself) is passed to another class which contains a modified version of my "modify data" function (brings up a dialog after choosing a given line allowing editting/validation of certain fields regarding the selectedItem).  This changed version of "modify data" is then called and immediately closed effectively saving this record (without allowing the user to alter fields - so they don't have to hit save twice).
    With the copy/paste function, I make all of these changes en masse and then have a loop that goes something like
    for each (_object:Object in myDatagrid.selectedItems)
         callSaveFunction(this, _object);
    which ideally loops through the data and saves each item that has been changed.  If there is a way to save all of the data in the datagrid simultaneously, I would appreciate a bit of help there (perhaps dealing with the bindings - right now I have the object I save as the destination and the source is myDatagrid.selectedIndex.[field name]).
    Good to know about the other stuff, though - my understanding was a little bit lacking before

  • How can we tell if a VI is already running before calling Start Asynchronous Call?

    The new Start Asynchronous Call node is awesome for spawning multiple instances of reentrant VIs.  However, I've stumbled a bit in using it for non-reentrant VIs.  The old practice of using the "Run VI" method would allow us to check the Execution.State of the VI before invoking the method to run it.  That way if the State was Running or Run Top Level, we could skip the invoke node and just use a property node to open its front panel.  WIth the Start Asynchronous Call node, it looks like we have to use a strictly typed static VI reference, and when we open the VI reference, the VI gets reserved and its Execution.State = Running.  So, how can I tell if it is not just reserved by the thread but actually executing before making a redundant Start call?
    By the way, the redundant Start has interesting behavior.  It will actually cause the targeted VI to be executed again after it stops.  Even if you hit the Abort button on the target VI, it will immediately execute again and again equal to the number of times the Start Asynchronous Call node was run.  There's nothing wrong with that, and I suppose the simple answer is to just go back to using the old "Run VI" method.  It's just that the ability to wire up those inputs directly to the connector pane is so nice.  Perhaps I am missing something obvious.  Oh, I am referring to the Call and Forget mode (0x80).
    Thanks,
    Dan
    Solved!
    Go to Solution.

    Just throwing it out there, I know I'm a year.5 late on this but if it's a psuedo-modal dialog or some other window that you only want a single instance visible at one time, you can check the FP.State property on the strictly typed vi reference. If it's loaded and visible to the user it will be "Standard", if it was closed or not opened prior then the state will be "Closed".
    I think the standard behavior of serializing execution on another thread would be great for doing a pre-set number of iterations with a sub vi in a non-blocking sort of way but for sub vi's meant for UI interaction checking FP.State works.
    Philip
    CLD

  • Notify an application user that an asynchronous call of a bi publisher report has been completed

    Hi experts,
    We have an ADF application (11g) from where we call BI Publisher (11g) reports by using bi publisher web services.
    I have the following 2 requirements:
    Run the reports asynchronously
    Notify each user that the report which has been asynchronously called has been completed.
    My thought was to use the scheduleReport web service which is asynchronous by default.
    My problem is how to notify only the specific user using "http notification" that the report is ready.
    http://docs.oracle.com/cd/E28280_01/bi.1111/e22259/reporttriggers.htm#BIPDV008
    Can you please help me on this?
    Regards,
    Dimitris

    I've converted the Blob to a Clob but still can't get it to appear in the BI Report. It shows up in the XML file as a bunch of text character, but in the report if I use the fo: instructions it remains blank, and if I don't, it shows the same text data that is in the XML file.
    Perhaps BI Reports aren't meant to show database images? Is there another tool I can use instead (data is in APEX 4.0) 11g.?

  • SOAP Receiver Adapter (Asynchronous Call)

    Hi All,
    Scenario is  Proxy to Webservice asynchronous call.
    Scenario configuration is done as follows.
    1) Imported the WSDL and using as a asynchronous inbound interface.
    2) SOAP receiver channel is configured with the target URL & soapAction as given in the WSDL as (soap address & soap Action).
    3) Configured the proxy server details as required.
    SOAP channel is successfully sending the message to the application as DLVD.
    But the issue is target application  not receiving the data. What could be the reason ? I am wondering , i have tried with the external tool like Altova XML Spy & SOAP UI  sending data to the webservice & it's  working fine.
    Please suggest me if anything which can help to resolve this issue.
    Thanks
    Ashwin

    In this case you can do the following:
    1. start your tcpmon or TCPGateway, add there a listener e.g. on port 9090
    2. configure the target URL in TCPGateway for this listener
    3. configure the target URL in your XI SOAP Receiver Adapter to http://<ip of TCPGateway>:9090
    4. now execute the scenario again in XI
    (make sure XI can reach your TCP Gateway, e.g. check Proxy)
    I have used this method successfully for error tracking. In some cases it is necessary to add 2 listeners in TCPGateway and route e.g. 9090 to 9191 and from there to the end (I did not analyse why).
    Then you will be able to see what XI is really sending and you will see the full response from the partner side. You can then compare the XI request data with those which are sent via soapUI. This should give a clue about the problem.
    CSY

  • MSIE vs. Firefox and asynchronous AJAX...is MSIE really NOT doing async?

    Apex v4.1
    MSIE v8.0 and Windows XP
    Firefox v6.0.2
    Background
    Sorry it's a lot but I figure giving all this context would help avoid tangental questions that could derail from my real question(s).
    I have a master-detail page where I have such business and functional requirements to do a lot of various validations, checking, disabling/enabling, etc. in the detail region. Given that detail regions in master-detail pages are nothing more than tabular forms that are filtered by the master record's PK and that tabular forms have limited validation and nonexistent calculation ability via declarative calculation processes, my detail region is immensely javascript heavy. In addition, I have the functional requirement that the user see all detail lines on the same page, so I cannot limit the page to 10-15 lines per page anyway.
    When the page loads, I need to do a number of functional things to the detail region before the page control is turned over to the user, such as:
    1. Disable certain columns that are saved as database columns but never touched by the user.
    2. Disable certain columns that the user does not have authorization to modify (but tabular forms have no "readonly" attribute for columns like page items do)
    3. Disable certain fields on a row (but not on all rows) based on business rules (e.g.: if PART_NO on a row is null, PART_SERIAL_NO on that row only needs to be disabled (as the user shouldn't be able to enter it).
    4. Etc., etc...you get the idea. There are just a lot of things that cannot be declaratively done to a tabular form column and also things that cannot be done on a row-by-row basis, hence the javascript.
    When the page loads, I also have to do two cosmetic things to the rows and these can be done after the control is turned over to the user since they are cosmetic only and do not affect their ability to be disabled out of a row-field combo, etc.:
    1. For one column that is a popup key LOV, override the displayed value with a different value than Apex generates from the LOV definition. In other words, the LOV definition is "a || b" for the display value and "c" for the return value, but on the main page the users want "a" for the display value that they see.
    2. For all records, evaluate several fields on a record and as a result, highlight certain other fields in red, yellow, or black via the background color.
    Everything is actually working in both MSIE and Firefox and I'm happy about that. However, the stuff I'm doing in the second group (the popup key LOV display field and the coloring of the background of fields) is only working nicely and quickly in Firefox but is super slow in MSIE. My worst-case scenario in testing is my master-detail has 281 detail rows and in Firefox it takes about 20-25 seconds to paint the page, give control to the user, and then finish doing the asynchronous AJAX stuff after that (which sems to also go quickly). In MSIE, my page rendering time ranges from 1 minute 30 seconds with the AJAX async stuff commented out and not even running to over five minutes (!) with the AJAX stuff left in and running. The difference of 4+ minutes also implies to me that the AJAX stuff is not running asynchronously (or if it is, something else is getting in the way of the effective purpose of it being asynchronous).
    Right or wrong, how I built my page is that since a lot of the Javascript code is to act on the detail region onlly, I defined the javascript in the region and not in the page just so that when the detail region isn't displayed (usually when a new master is being created), we don't even display or render any of the javascript.
    When the detail region does show, the Javascript that goes along with it to do all the work to the detail region rows/columns also runs.
    Example...this is in the region footer of the detail region:
    <script type="text/javascript">
    //Always when region loads
    //Initialize special processing on the fields on the lines that can't be done
    //elsewhere.
    if (window.addEventListener) // W3C standard
      addLoadEvent(InitDetailItems());
    else if (window.attachEvent) // Internet Explorer
      addLoadEvent(InitDetailItems);
    if (window.addEventListener)
      window.addEventListener('load', postLoad, false);
    else
      window.attachEvent('onload', postLoad);
    </script>When the detail region loads, I append a call to the onload event of the page so that the function InitDetailItems is called (addLoadEvent is just another wrapper that detects if the page even has an InitDetailItems function and if it does, it then adds a call to InitDetailItems to fire in addition to any other on-load processing). I did it this way as a matter of style such that if a developer added any onload at the page header that this would just be appended to it. This call to addLoadEvent and InitDetailItems all runs javascript to prepare the detail region non-async (the user must wait for it to finish processing before they should get control of the browser).
    Then, the call to also add on a call to postLoad is where the cosmetic async stuff is supposed to happen. I am not a javascript expert by no means but from what I can gather:
    1. "window.addEventListener('load', postLoad, false);" works for most non-IE browsers, adds a call to postLoad on the event 'load', and "false" means that it is done non-binding (async).
    2. There is no "addEventListener" in MSIE, so it uses "window.attachEvent" to add the call to postLoad to the onload event. This is non-async with no async option, but....keep reading...
    PostLoad itself looks like this:
    function postLoad()
    { //Stuff do to after this region loads but can be done in an async fashion
      //because they're only cosmetic things.
      setAllMaintDescr(gMaintItemIdCol,gMaintItemIdCol + "_DISPLAY");
      checkAndColorFields();
    }setAllMaintDescr is the function that sets my popup key LOV values by querying the database and returning and setting the values in this field accordingly.
    checkAndColorFields is the function that passes some fields' values to a PL/SQL packaged function, it computes a color of black, red, yellow, or none and the javascript sets some field background colors accordingly. This logic resides in a PL/SQL package because we have a BI report that is a near copy of this page and needs to call the same logic.
    Both setAllMaintDescr and checkAndColorFields call htmldb_Get and get.GetAsync when the database work is done, so even though in MSIE the call to postLoad is not async, the functions themselves call async code that should theoretically be executing in an async manner.
    The Real Question(s)
    So...bottom line is that in Firefox, the page always takes about 20-25 seconds to load with or without setAllMaintDescr and checkAndColorFields commented/uncommented. This leads me to believe that my code in InitDetailItems (all non-async) is consistently taking 20-25 seconds to execute and postLoad processing is truly async since the page is returned to user control in the same amount of time.
    But in MSIE, without setAllMaintDescr and without checkAndColorFields, page load already is a slower 1 minute 35 seconds. With setAllMaintDescr and checkAndColorFields, it swells to well over 5 minutes whereas these async calls to htmldb_Get I would think should not increase much if at all over the initial 1:30 load time.
    Any tricks with MSIE? Any settings in the browser I need to know about? Is it truly ignoring my get.Get_Async calls and treating them as get.get()?
    Or is MSIE just truly that much of a turd as a browser? Ugh.
    Sorry for the long narrative but wanted to answer as many questions about my page first.

    ^^^ Long post.
    Cliff's notes for those I may have lost:
    Page dynamically adds two Javascript functions to the onload event.
    Each Javascript function calls some PL/SQL but it's all done using get.GetAsync.
    Firefox returns control of the page to the end user relatively quickly and consistently regardless of what functions are commented out/uncommented.
    MSIE is much slower and takes more time as I uncomment the async Javascript functions.
    Why does MSIE seem as if it's behaving non-asynchronously?

  • How to move files in background (asynchronous call)?

    Hello
    I would like to make an an Asynchronous call to the Move.vi for moving files as a background process.
    I am having the following problems:
    - The static VI Reference as input to the Open VI Reference function asks for a path to the VI to be called, but I can't find it. Where exactly is Move.vi located?
    - The Type Specifier VI Refnum node accepts VIs via drag and drop, but only from an explorer window, not from the LabView VI palette. Again, I need to know where to find Move.vi. Or is there another way to specify the connector pattern?
    It all works, if I call Move.vi from within a wrapper VI (because I know where to find that), but for the sake of simplicity I would like to avoid that step.
    I'd appreciate any suggestions, also alternative approaches for moving files in the background.
    Sebastian

    Move is not a VI, but a primitive, so you can't call it like that. As you've seen, the wrapper method works.
    Try to take over the world!

  • Is it possible to have a synchronous and asynchronous db connection

    I am using an SQLlite database and calling all my queries synchronously. All, but one of the queries is fast, so I was wondering if I could call that one query asynchronously. I created two sqlConnections, one called sync and another async. After making the asynchronous call, I called a synchronous query and got this error:
    SQLError: 'Error #3119: Database file is currently locked.', details:'', operation:'execute'
    Do asynchronous queries always lock the database? Is it not possible to call more than one query at a time? How does this work for all asynchronous calls? Are the queries queued up and called one at a time?

    T-Storm, I'm having the same annoying delay on my X-Fi Extreme Gamer card, it's driving me nuts trying to fix it.
    I noticed that if I un-tick the Dolbly Digital Li've in the console it goes away, along with the 5. sound, %$*&^^&%!
    Is it he same with you? Try un-ticking the DDL while playing something and see if it stops the delay or not. At least it will see if the problem is the card, the connection, the optical cable, or DDL itself.
    Dolby Digital Li've works in real-time so I fear that is causing the delay rather then a bad cable or connection. But I don't know if others are getting the same delay or not, if it is DDL then everyone should be getting it.
    But, if they are not trying to play a digital signal at the same time as a anolog one they might not notice it.

  • Unexpected loop behaviour with asynchronous call

    I am having trouble with loop behaviour when using an asynchronous call.
    I am building an application to record simultaneously temperature (NI USB-TC01 thermocouple), displacement (DC voltage, read from an Agilent 34401a) and resistivity (using a Keithley 2400 sourcemeter).
    I am using a voltage sweep function on the Keithley 2400 to alternate current direction in a sample and measure the voltage drop - this is a common technique for eliminating thermal emf from resistance measurements. But what you need to know is that I set the number of current cycles I want and then wait for the instrument to measure and return the meausurements - up to 50 samples, which takes nearly 30 seconds. With the other two measurements, I have to programmatically call a measurement vi for each sample I want.
    I have set up my application to asynchronously program the resistivity measurement and then wait for the response, and I want to in parallel measure temperature and position until the resistivity is done. I then want to record the mean and standard deviation for each signal. I used an event structure to interrupt the temperature and position measurements when done.
    The problem I am running into is that after the first resistivity measurement is completed and I go to do the second one, the loop that measures temperature and displacement only runs twice, so I only get two samples, regardless of how many resistivity samples I want to collect. For example, if I want 50 resistivity samples at a time, the first iteration will measure rougly 40 samples of temperature and displacement, but any subsequent iterations will only measure twice.
    I know this is probably overwhelming to understand the operation, but can anyone help? I have attached my code ('Delatometer') as well as a test vi I built that uses the same structure but has no interactions with instruments ('asynchronousCall').
    The
    Attachments:
    Delatometer.zip ‏221 KB
    asynchronousCall.zip ‏29 KB

    I forgot to mention...the test vi that I uploaded executes as expected, so I am thinking that maybe its an issue with the instrument calls? I also found that if I run the Delatometer program in 'highligh execution mode' it runs properly, and it is my understanding that in 'highlight execution mode' there is no multi-threading.

  • Problem about asynchronous call: subVI front panel doesn't pop up when called.

    Dear All,
    I'm new to LabVIEW, and this is the first time I try to use the asynchronous call.
    I'm using LabVIEW 2011.
    I want to build a directory for several VIs, and it should allow users to open more than one of the VIs at the same time by pushing the buttons. Before building this directory, I simply tried to use asynchronous call to call a VI form another VI, but found a big problem.
    I followed the steps in the help file, created a strictly typed reference, set the option to x80 because I don't need the return. When I run it for the first time, it worked fine: the subVI popped up and run. Then I closed the subVI. But for the sencond time and on, when I run the caller VI, the subVI didn't pop up, instead it seemed to run silently on background because when I manually opened it from the file I found it running. Besides, I didn't find any option like "show front panel when called" of the asynchronous call.
    The caller VI and subVI are attached. The address of subVI in caller VI should be changed accordingly.
    What should I do to make it work properly? Thanks very much for  any idea!
    Solved!
    Go to Solution.
    Attachments:
    asynchronous_call.vi ‏8 KB
    boolean.vi ‏7 KB

    Jeff·Þ·Bohrer wrote:
    A better approach is to set the vi properties programaticly like this:
    Jeff, you will be happy to know that I used this tactic in full force on a project recently (lots of dialogs in this program).  Not sure how many LabVIEW reboots it has saved me from.  Reuse VIs made it even easier to do.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Re : what is diffrent Between  Synchronies and   Asynchronies  process

    Hi ,
          what is diffrent between Synchronies and   Asynchronies  process in  session Method and call Transcation method  pls give one Example...
    Thanks
    Arief .S

    Synchronus data processing is that in which the program calling the update task waits for the update work process to finish the update before it continues processing.
    In Asynchronus update the callng program does not wait for update work process to finish the update and continues as normal.
    A BDC done with sessions is always synchronus.
    A BDC with call transaction is by default asynchronus
    unless you define it explicitly as
    call transaction 'XXXX' ...... update 'S'.
    ( If you donot define update option it is defaulted to "A" ).
    The update method is of importance when one transaction locks data which may be required by a subsequent transaction . The subsequent transaction will fail if data is locked from previous one. An example would be you are creating sales order for same material in succession ( with asynchronus update ). Quite likely that some of transactions would fail due to material locked.
    For large volume of data Call Transaction will be faster but you have no restart capability here. Suppose from 1000 transactions 100 fails . You will have to run the BDC program again exclusing the ones which wrere successful. However with session method you have the option to process the error transactions again in SM35 . So if you are sure that errors will not occur use call transaction else use session method.

Maybe you are looking for