How to get JBO error codes in infobus

Hi,
I am creating an Infobus based form. I am able to trap the
errormessages generated by the system using the error manager.
But I could get only the DAC error codes. I want to get the JBO
error codes also, since they give more meaningful messages. How
do I do this using errormanager?
Please Help
Thanks,
Susan
null

Please see the reply to the thread "About JBO messages and
DacfErrorMessageContext"
- PSW
Susan Philip (guest) wrote:
: Hi,
: I am creating an Infobus based form. I am able to trap the
: errormessages generated by the system using the error manager.
: But I could get only the DAC error codes. I want to get the JBO
: error codes also, since they give more meaningful messages. How
: do I do this using errormanager?
: Please Help
: Thanks,
: Susan
null

Similar Messages

  • Java - Axis2: How to get an error code / error message from the Javascript via SOAP

    Hi
    In our Java applicsation we call a Javascript in a Indesign CS Server using the following code:
    --- SNIP BEGIN ---
    // calls the remote service on the indesign server
    try {
    // create service
    ServiceStub oIndsgnSrvStub = new
    ServiceStub(sIndesignServer);
    // create service parameter
    ServiceStub.RunScriptParameters
    oIndsgnSrvRSParams = new ServiceStub.RunScriptParameters();
    // create arguments with source- and target-file for parameter
    ServiceStub.IDSPScriptArg[] oIndsgnSrvSArgs = new ServiceStub.IDSPScriptArg[2];
    oIndsgnSrvSArgs[0] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[0].setName("xml-input");
    oIndsgnSrvSArgs[0].setValue(sSourceFile);
    oIndsgnSrvSArgs[1] = new
    ServiceStub.IDSPScriptArg();
    oIndsgnSrvSArgs[1].setName("output-file");
    oIndsgnSrvSArgs[1].setValue(sTargetFile);
    // define service parameter
    oIndsgnSrvRSParams.setScriptArgs(oIndsgnSrvSArgs);
    oIndsgnSrvRSParams.setScriptFile(sScriptFile);
    oIndsgnSrvRSParams.setScriptLanguage("javascript");
    oIndsgnSrvRSParams.setScriptText("");
    // create runscript
    ServiceStub.RunScript oIndsgnSrvRS = new ServiceStub.RunScript();
    // set parameter
    oIndsgnSrvRS.setRunScriptParameters(oIndsgnSrvRSParams);
    //$$$ there should be an answer returned by the InddSrvr
    // execute SOAP call
    ServiceStub.RunScriptResult oIndsgnSrvRes = oIndsgnSrvStub.RunScript(oIndsgnSrvRS);
    if(oIndsgnSrvRes.getErrorNumber() == 0) {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_SUCCESS);
    bOK = true;
    } else {
    oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_FAILURE);
    bOK = false;
    //$$$ should be set, if there is something returned by inddsrvr
    //oServerProdJob.setErrorMsg(sErrorMsg);
    } catch(Exception e) {
    sError += e.getMessage() + "\n";
    bOK = false;
    --- SNIP END -----
    The problem is that we don't get the error code and/or the error message from the Javascript in oIndsgnSrvRes. The error code is always 0 if I set an Integer value as return in the Javascript. If I set a String, there is an Exception in the Java application.
    Here is the Java script we use:
    --- SNIP BEGIN ---
    main();
    main()
    var sError = "";
    var sXMLInput = "";
    var sLayoutPath = "";
    // get the SDKCodeSnippetRunner object
    var cbpAdapter = app.cbpCbpadapterObject
    if (cbpAdapter) {
    sXMLInput=app.scriptArgs.get("xml-input");
    sLayoutOutputFile=app.scriptArgs.get("output-file");
    sError = cbpAdapter.doProcess(sXMLInput, sLayoutOutputFile);
    return sError; // This give an Exception; if I return an Integer the ScriptResult is always 0
    --- SNIP END -----
    If I try this with the test application from Adobe I get the error code correctly. But in the Java application, using SOAP, I can't get the error code.
    What could be wrong?
    Any ideas?
    Thanks a lot for the support.
    Kind regards
    Hans

    user11340104 wrote:
    Hello -
    i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
    Well, let google be your friend,
    http://www.google.co.in/search?rlz=1C1GGLS_enIN327IN327&sourceid=chrome&ie=UTF-8&q=sqlplus+error+codes
    There are many threads I guess talking about the same issue.
    HTH
    Aman....

  • How to get the error code for http request

    I have to implement the if..elso loop depending on the error code return as below.
    String host="127.0.0.2"
    if the this servers is not found or itis down it should return error code, based on that I have to change the host value to some other server like "127.0.0.4" , Can you let me know how it can be implemented? Please help me.

    Here is my requirement...
    say.. if client hit " http:\\ 172.0.0.3: 1000/index.jsp" and if the server 172.0.0.3 is not available i will set the server host to some other and request will redirect accoringly like " http:\\ 172.0.0.4: 1000/index.jsp"

  • How to get an error code from from calling sqlplus from shell script?

    Hello -
    i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
    Thanks!

    user11340104 wrote:
    Hello -
    i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
    Well, let google be your friend,
    http://www.google.co.in/search?rlz=1C1GGLS_enIN327IN327&sourceid=chrome&ie=UTF-8&q=sqlplus+error+codes
    There are many threads I guess talking about the same issue.
    HTH
    Aman....

  • I deleted my back up files from my external hard drive and my trash won't empty. I get an error code -22. Can anyone tell me how to fix this?

    I deleted my back up files from my external hard drive and my trash won't empty. I get an error code -22. Can anyone tell me how to fix this?

    JLCruz wrote:
    I deleted my back up files from my external hard drive ...
    If this is related to Time Machine Backups...
    See here  >  Should I delete old backups?  If so, How?
    From Here  >  http://pondini.org/TM/FAQ.html
    If the TRASH still won’t Empty...
    See Here  >  http://pondini.org/TM/E6.html

  • I want to install Photoshop but everytime I get an ERROR CODE: A12E1.How do I solve that and what is it?

    Hello,
    I want to install Photoshop but everytime I get an ERROR CODE: A12E1.How do I solve that and what is it?

    A12E1 error installing Creative Cloud products | CC
    Mylenium

  • My saves photos on DVD get this Error Code 0x80020025  How do i retrieve my

    I have backed up all my photos on the same mac mac book pro . Not only problem burning but now 3 years later when i want to load my back ups from DVD i get this error Error Code 0x80020025
    i have gone on other forums and blogs and this seems to be an on going thing . Its about time this was put right and a simple down load or fix was made, as the forums are growing so pick. Scanning through them make me ill.
    How to stop this Error Code 0x80020025 and access my DVDs

    You need to test your DVD disc in another Mac, as it would seem the code is related to the drive and not the media?
    Ernie

  • How do I fix error code 401 - "unauthorized" I am taking an online class and the videos worked before, and now whenever I launch QuickTime, I get that error code.

    I recently began taking an online class. We are required to watch multiple videos. I was able to watch the QuickTime videos before, but now whenever I launch the videos in QuickTime I get the Error code 401. My teacher does not know whats wrong, because I do have authorization to watch the videos, I am just not sure how to go about it.

    You may try updating the same as a standalone download.
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • On OSX when updating Creative Cloud I get an Error code: A12E1, How do I resolve this?

    On OSX when updating Creative Cloud I get an Error code: A12E1, How do I resolve this?

    It's well known issue and all the greatest minds in Adobe working on it since August 2012
    Check this thread.
    http://forums.adobe.com/thread/1045283?start=0&tstart=0

  • TS3694 when restoring my iphone i get an error code of 1015 , why is this and how do i restore my phone as now its stuck in recovery mode ?

    when restoring my iphone i get an error code of 1015 , why is this and how do i restore my phone as now its stuck in recovery mode ?

    Errors related to downgrading iOS
    The required resource cannot be found: This alert message occurs when your device has a newer version of iOS than what is available in iTunes. When troubleshooting a device that presents this alert message, go to Settings > General > About and check the version of iOS on the device. If it is newer than the latest released iOS version, the device may have a prerelease developer version of iOS installed. Installing an older version of iOS over a newer version is not supported.
    Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.

  • I get an error code 50 when downloading digital movie. How can I fix this issue?

    I get an error code 50 when downloading digital copy of a movie to my iTunes. I try to restart and still get the smae error code. I have my PC plugged directly into my modem and still get error, when trying to download failed movies. I have 5 failed downloads. How can I fix this issue?

    Try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
    iTunes: Advanced iTunes Store troubleshooting

  • Hi,  We use a Mac os window. How can we get Adobe error code 16 problems in premier cs5. Before 6 da

    Hi,
    We use a Mac os window. How can we get Adobe error code 16 problems in premier cs5. Before 6 days premier does not loaded a Audio.
    please help me.

    I think you are posting to the wrong forum.  I'd post this in the Premier forum: http://forums.adobe.com/community/premiere/premierepro_current
    -Carl V.

  • How can I fix error code 131:4? Licensing for this product stopped working. I have windows vista home edition and CS4 Design Premium. I downloaded licensing zip file for windows but I can't seem to get it to launch. Look forward to help from anyone

    How can I fix error code 131:4? Licensing for this product stopped working. I have windows vista home edition and CS4 Design Premium. I downloaded licensing zip file for windows but I can't seem to get it to launch. Look forward to help from anyone

    Steve,
    I appreciate your answer.  While it might work, I'm a bit hesitant to remove the other programs as a possible solution since they are all currently working.
    With Acrobat 9 Pro failing with the OS 10.7 upgrade, I'm hoping that there is a less severe solution.
    Since the trigger appears to be 10.7 and may have something to do with the discontinued support of Rosetta, I could be spending a few hours working on a reinstall without a change.  Yes, it might work.  The "might" is the part that makes me hesitate.
    Is anyone else out there on OS 10.7 and running Acrobat 9 Pro?  Any issues with anyone else?
    Thanks Steve.  I do appreciate your offering a solution.  I may end up trying it if nothing else comes together.
    Mark

  • How can I update photoshop cs5 extended?  I keep error getting an error code U43M1D207

    how can I update photoshop cs5 extended?  I keep error getting an error code U43M1D207

    Hi Mr_Underhill_995,
    I am sorry for the inconvinience that you are facing, We would recommend you to contact us through http://adobe.ly/yxj0t6,
    You can also mail me a message & a contact number along with the order number privately  so thta I can follow up the issue for you.
    Awaiting your mail .
    Regards,
    Rajshree

  • I keep getting a error code of 2349 which prevents me from running updates successfully. How does th

    I keep getting a error code of 2349 which prevents me from running updates successfully. How does this get fixed?

    As John said, we need at least some system information and what program you are referring to...
    Mylenium

Maybe you are looking for

  • Product is not valid for Sales org and distribution chain

    Hello friends, When i am saving the trade promotions , i am getting error message "Product XXXX is not valid for distribution chain XXXX, XXXX" I have maintained sales organization and distribution channel in commpr01 under sales and distribution tab

  • Multiple CSS image rollovers on a page

    Hi there, So, I have miraculously managed to create my first ever CSS image rollover navigation button on my webpage. This page is an online art gallery so there will be several small image rollover buttons linking to different pages of art. My quest

  • Deleting Locked Application on Mavericks

    I have an older version of an application (GoToMeeting) that Mavericks will not allow me to delete because it is "locked." The Locked box is checked and greyed out so I cannot un-check it. All of the ways to "usually" delete are apparently useless no

  • What is my Skype phone number?

    How do I find out my skype phone number I dont know it

  • SnapDrive transport protocol settings lost after service restart.

    Hi everyone, On one of our SQL Servers we have SnapDrive v.6.4.2, OS is Windows Server 2008 SP2, the server is in a workgroup, not in a AD Domain. In SnapDrive transport protocol settings we have a storage system defined and everything works fine, bu