Dynamic library call

Hi!
Could somrbody help please describe how can I do dynamic call to shared library. I dont want do link my program with many libs as static towards
optimal memory usage.
How can I dynamycaly load lib and do colls into and unload after? Is it
possible in Forete6/Soalris 8 env?

Hi,
I belive such an option exists with dlopen/dlclose. Please have a
look at the man page of dlopen(3X) for more information.
Hope this helps.
-- Gopinath.
Sun - DTS.

Similar Messages

  • Dynamic library+ Linux + ORACLE 10.2

    Hello !
    I have Linux + ORACLE 10.2
    $ env | grep LAN
    NLS_LANG=AMERICAN_AMERICA.UTF8
    LANG=en_US.UTF-8
    database parameters:
    1 NLS_LANGUAGE AMERICAN
    2 NLS_TERRITORY AMERICA
    3 NLS_CHARACTERSET UTF8
    4 NLS_NCHAR_CHARACTERSET AL16UTF16
    I have a dynamic library and plsql function:
    #include <stdio.h>
    int sysrun(char command, char ying, char *yang)
    FILE *fpointer ;
    fpointer = fopen("out6.txt","wt");
    if (!fpointer)
    printf( "!!! file error \n" );
    return;
    fprintf(fpointer,"ying:%s yang:%s command:%s \n",ying,yang,command);
    fclose(fpointer);
    return 0;
    //return system(command);
    create or replace function sysrun_2 (syscomm in varchar2, ying IN VARCHAR2, yang IN VARCHAR2 )
    return binary_integer
    as language C
    name "sysrun"
    library shell_lib
    parameters(syscomm string, ying string,yang string);
    I send to library russian words(by sqlplus), but it write in a file bad symbols
    'п╡я▀'
    I run query on sqlplus:
    SELECT CONVERT('п╡я▀', VALUE) conv,VALUE FROM
    v$nls_valid_values v
    where parameter = 'CHARACTERSET';
    And see, that the best code page is CL8KOI8R
    why CL8KOI8R? And where's from ?
    And how can I change it ?
    P.S. when I call library from Linux it's ok !!

    Hi,
    I'm not familiar with Russian characters and charsets like CL8KOI8R. Have you tried creating a table in the database and inserting the same characters to verify if that works?
    It might be worth verifying if the environment variables are correct for the extproc process as well. I'm not sure if the environment variables you listed are for the "oracle" user or not.
    Also, are you using the Oracle C++ Call Interface (OCCI) with this?
    Regards,
    Mark

  • WIFI acquisition with WLANAPI.DLL dynamic library

    Hello to everyone,
    I'm a French student currently studying in Germany, for my end studies application.
    I am facing a problem : I need to acquire the MAC adresses and signal strengths of the nearby WIFI networks via the WIFI interface of my laptop.
    I am at the optimization step, and I had the idea to use the wlanapi.dll dynamic library, as you can see it in the attached VI.
    But, my problem is that I really don't know how to configure the "call library function node", wich functions to call, in wich order, etc... I have only a light knowledge in C, but not at all in C++.
    Here the Microsoft documentation I found : 
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms706274%28v=vs.85%29.aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms706274%28v=vs.85%29.aspx
    I called the NI support 10 days ago, no answer yet...
    Thank you very much for your help,
    Pierre
    Attachments:
    DLL try.vi ‏8 KB

    Hello pierre-dev,
    In fact, the functions that you need to call as well as the order are information which are specific to the DLL that you would like to use. In the DLL, you will find basic functions and if you want to realize some complex behaviors, you will have to look into the documentation of the DLL (on Microsoft site here) in order to know which ones you will need to associate (put together).
    If you wish, you can try to contact Microsoft to help you but LabVIEW is not related to this first stage.
    Then, once you will have found out which functions to use, you will have to choose the right datatypes to fit with Microsoft's datatypes. And the documents that Junior provided you here will help you to do this.
    Here an additional document which should also be useful :
    Using External Code in LabVIEW
    Regards,
    Jérémy C.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • How to link dynamic library in the Xcode

    Hi all,
    I want to link the dynamic library which is installed in the directory "/usr/local/lib", but I don't know how to set the Xcode to use this library. When I compile the source code by linking the dynamic library, Xcode prints the error information:
    "Checking Dependencies
    Ld /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest normal i386
    cd /Users/apple/Desktop/test/SPETest/tdstest
    /Developer/usr/bin/gcc-4.0 -o /Users/apple/Desktop/test/SPETest/tdstest/build/Release/tdstest -L/Users/apple/Desktop/test/SPETest/tdstest/build/Release -L/Developer/SDKs/MacOSX10.5.sdk/usr/local/lib -L/usr/local/pcsc/lib -F/Users/apple/Desktop/test/SPETest/tdstest/build/Release -filelist /Users/apple/Desktop/test/SPETest/tdstest/build/tdstest.build/Release/tdstest.b uild/Objects-normal/i386/tdstest.LinkFileList -lpcsclite.1.0.0 -arch i386 -dynamiclib -mmacosx-version-min=10.5 /usr/local/lib -isysroot /Developer/SDKs/MacOSX10.5.sdk
    ld: in /Developer/SDKs/MacOSX10.5.sdk/usr/local/lib, can't map file, errno=22
    collect2: ld returned 1 exit status"
    Any suggestion I will appreciate!

    Post to the Developer/SW Development forums under OS X Technologies.

  • Sybase gateway problem - Failed to load dynamic library 'hsdbsyb'

    Having problems getting the Sybase gateway working on XP. Environment in Oracle 9.2.0.6 on Linux, Sybase on AIX 5.1 (moving to linux, gateway currently working well on this box) gateway on XP. I get the following error when trying to use my db link: Help appreciated
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for SYBASE]DRV_InitTdp: DBTYPE.C (473): ; The specified module could not be found.
    ; at FIND_IMAGE_SYMBOL
    DBTYPE.C (7): ; [C079] Failed to load dynamic library 'hsdbsyb'
    tnsnames on linux box has:
    CIT001TSTW =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = lons00106694)(PORT = 1521))
    (CONNECT_DATA =
    (SID = cit001tst)
    (HS = OK)
    on gateway windows box (has oracle client and gateway software and sybase client)
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\progra~1\oracle)
    (PROGRAM = extproc)
    (SID_DESC=
    (SID_NAME = cit001tst)
    (ORACLE_HOME = c:\progra~1\oracle)
    (PROGRAM = tg4sybs)
    initcit001tst.ora
    HS_FDS_CONNECT_INFO=CIT1_LON_TST_SQL.cit001tst
    HS_FDS_TRACE_LEVEL=ON
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    HS_FDS_TRACE_LEVEL=4
    HS_FDS_FILE_NAME=trace
    # Environment variables required for Sybase
    set SYBASE=c:\progra~1\sybase\oc1251
    sql.ini
    [CIT1_LON_TST_SQL]
    win3_query=WNLWNSCK,loncmxs0004.uk.net.intra.,5000
    query=NLWNSCK,loncmxs0004.uk.net.intra.,5000

    Yes, this VI is damaged. I can not open it.
    Colin
    LV7.1/8.2/8.2.1/8.5/8.6/9.0/2010/2013; testing system development
    Please Mark the solution as accepted if your problem is solved and donate kudoes
    Home--www.colinzhang.net

  • Unable to load dynamic library oci8.so

    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?

    Madhu.149 wrote:
    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?
    Madhu.149 wrote:
    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?
    >Why it is searching for libclntsh.so.10.1?
    old PHP software that does not know about V11
    So just create a softlink as below
    ln -s libclntsh.so.11.1 libclntsh.so.10.1

  • The icon  for PHOTOSHOP 64-BIT DOESN'T OPEN ANYMORE. I GET A MESSAGE THAT SAYS IT CAN NOT BE FOUND IN THE DYNAMIC LIBRARY.

    THE PHOTOSHOP ICON 64-BIT DOESN'T OPEN ANYMORE THE PROGRAM. I GET A MESSAGE THAT IT CAN NOT BE FOUND IN THE DYNAMIC LIBRARY. WHAT TO DO TO RESTORE IT AND OPEN THE PROGRAM?

    Urazurrutia which operating system are you using?  I would recommend removing and reinstalling Photoshop to restore the application.  What specific version of Photoshop are you facing difficulties with?

  • I just tried updating to iTunes 10.7 on my pc and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Any Ideas?

    I just tried updating to iTunes 10.7 and when I try to launch it I get this error message-The procedure entry point AVCFPlayerSetDirect3DDevice could not be located in the dynamic library AVFoundationCF.dll.  Them it tells me to re-install iTunes and the same thing happens again.  Any Ideas?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • C++ Dynamic Library, iostream: No such file

    Hi, I'm trying to build a dynamic library in Xcode and running into a compilation error finding iostream. The library code is written in C++ and compiles on linux. When compiling in Xcode (2.4.1), I created the project as a C++ Standard Dynamic Library (and later C++ Dynamic Library, same problem) and get the following when building:
    Building target “MC_VICommon” of project “MC_VICommon” with configuration “Debug”
    Checking Dependencies
    ProcessPCH++ /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-dbtpcuqquksioscuujethfosvirt/MC_VICommonPrefix.pch.gch MCVICommonPrefix.pch normal ppc c++ com.apple.compilers.gcc.4_0
    cd /Users/sullivan/Code/Source/VI/MC_VICommon
    /usr/bin/gcc-4.0 -x c++-header -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -fvisibility-inlines-hidden -mfix-and-continue -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MC_VICommon.build/libMCVICommon.hmap -F/Users/sullivan/Code/Builds/Debug -I/Users/sullivan/Code/Builds/Debug/include -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MCVICommon.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/sullivan/Code/Source/VI/MCVICommon/MC_VICommonPrefix.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-dbtpcuqquksioscuujethfosvirt/MC_VICommonPrefix.pch.gch
    ProcessPCH /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-cdgabvnmevghggbxbomensvfvhzy/MC_VICommonPrefix.pch.gch MCVICommonPrefix.pch normal ppc c com.apple.compilers.gcc.4_0
    cd /Users/sullivan/Code/Source/VI/MC_VICommon
    /usr/bin/gcc-4.0 -x c-header -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -mfix-and-continue -mmacosx-version-min=10.4 -gdwarf-2 -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MC_VICommon.build/libMCVICommon.hmap -F/Users/sullivan/Code/Builds/Debug -I/Users/sullivan/Code/Builds/Debug/include -I/Users/sullivan/Code/Builds/Intermediate/MCVICommon.build/Debug/MCVICommon.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/sullivan/Code/Source/VI/MCVICommon/MC_VICommonPrefix.pch -o /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/MCVICommon_Prefix-cdgabvnmevghggbxbomensvfvhzy/MC_VICommonPrefix.pch.gch
    /Users/sullivan/Code/Source/VI/MCVICommon/MC_VICommonPrefix.pch:6:20: error: iostream: No such file or directory
    Later I tried starting the project as a Carbon dynamic library and it seems to work fine. Now granted, "if it ain't broke don't fix it", but I am curious and worried this will cause problems later.
    One obviously relevant difference between the working Carbon and non-working C++ is the project_prefix.pch files:
    // Prefix header for all source files of the 'MC_VICommon' target in the 'MC_VICommon' project.
    #include <iostream>
    vs.
    // Prefix header for all source files of the 'CarbonTest' target in the 'CarbonTest' project.
    #include <Carbon/Carbon.h>
    Should I just accept that the carbon one works? Am I doing something wrong? Is there documentation about linking to Carbon vs. not?
    Thanks!

    Thanks for the suggestion. With Xcode though, the build and link parameters are determined automatically. I'm under the impression that it will separate out the .c's and .cpp's to compile with their own parameters. I am wondering now why the prefix.pch file, which is compiled with both -x c++-header and -x c-header, includes iostream. Anyway, I found if I just comment out that line in the prefix file, everything works fine. Even if I clean and re-build, the comment is not over-written and everything builds.
    99% of the time using Xcode is more convenient than makefiles, but on these occasions when an automatically generated file causes problems, I get curious as to what happens behind the scenes when I build a project template like C++ Dynamic Library. I presume there is a way to change my code such that this won't happen, but if I knew why it happened it would help. Anyway, since this work-around is good enough, I should probably just be happy and move on.

  • Building Dynamic library

    I am trying to build a dynamic library with (CC -G) with a bunch of .o files containing object files from .cc as well
    .c files , together with bunch of archived libraries (.a files).
    Some of them are not generated by me.
    . I am getting <unknown> ( name of objecct )
    error throughout. I made sure I made all the .o files that I made
    was made with -kpic option.

    Hi Gilad,
    I have a suggestion concerning the std::vector::__insert_aux error:
    http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5069680
    Some recommended link options are provided in:
    http://forum.java.sun.com/thread.jspa?forumID=850&threadID=5104725
    Hope this is useful.
    Bye.

  • How to pass a pointer in labview library call function by using dll programmed in Labwindows​?

    Hi,
    I'm trying to interface a camera with Labview.  However, the camera can only be programmed by C, so I'm using Labwindow CVI.
    I need to pass a camera handle from one function to another, eg. from a opencamera function to setparameter function.  
    /* Load the Qcam driver and Open the First Camera */
    void DLLEXPORT LoadDriverAndOpenCamera()
    QCam_CamListItem cameraList[10];
    unsigned long cameraListLength=sizeof(cameraList)/sizeof(cameraL​ist[0]);
    //load the driver
    QCam_LoadDriver();
    //get a list of the cameras
    QCam_ListCameras(cameraList,&cameraListLength);
    //listLength is now the number of cameras available
    QCam_Handle hCam;
    //Open the first camera in the list
    QCam_OpenCamera(cameraList[0].cameraId, &hCam);
    Apparently, caemraId is an unsigned long (unsigned 32-bit in Labview 2012 32-bit? ) and QCam_Handle is defined as void*, so it's a pointer that points to an unsigned 32-bit.
    When I only use C for programming, I can pass hCam variable to other functions as long as it's declared as global variable.  Ex, the next function can be void SetParameter(QCam_Handle hCam).  However, here I'm trying to make a dll by Labwindows/CVI and then call LoadDriverAndOpenCamera() function through library call in Labview.  
    My question is:  How can I pass hCam to other functions in the same dll?  Do I have to add paramter to the function? For example:
    void DLLEXPORT LoadDriverAndOpenCamera(unsigned long cameraId, QCam_Handle* cameraHandle)
    And then add two lines:
    cameraId=cameraList[0].cameraId;
    cameraHandle=hCam;
    into the function?  Then I can pass cameraHandle out?  However, hCam will still have void* type.
    Even if that's the case, how can I set up library call node on Labview?  In the arg parameter set up, I don't see pointers?  It seems I cannot set up an output node to be a pointer that points to a unsigned long.
    Thank you very much for your help!
    Best,
    Charles
    Solved!
    Go to Solution.

    Hello Charles, 
    I noticed you posted a similar question here. do you have any further questions about using the call library function node? 
    Haley N
    Applications Engineer
    National Instruments

  • PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so:

    I have oracle 11g, php5, and apache2 are running on server(A). One of my php application need to connect Oracle 10g on server(B). so I have to configure PHP5 and OCI8. Here is what I have done.
    #env
    ORACLE_SID=demo
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/lib
    TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
    ## PHP configured
    #./configure prefix=/usr/local/php5 with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=/u01/app/oracle/product/11.1.
    0/db_1 enable-sigchild with-config-file-path=/usr/local/apache2/conf
    ##OCI8
    ./configure -with-oci8=shared,/u01/app/oracle/product/11.1.0/db_1
    Then I add "extension=oci8.so" on the php.ini file (/usr/local/php/conf/php.ini)
    ## Here is a problem
    # php phpinfo.php |grep oci
    PHP Warning: PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
    oci8
    oci8.default_prefetch => 10 => 10
    oci8.max_persistent => -1 => -1
    oci8.old_oci_close_semantics => 0 => 0
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    OLDPWD => /usr/local/apps/oci8-1.3.4
    _SERVER["OLDPWD"] => /usr/local/apps/oci8-1.3.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what is your OS?
    Under Fedora 9 I used :
    locate oci8.soI had to use yumex to install a bunch of php files (pecl and phpize) that had the programs to dowload and install oci8.
    Another post has the instructions! Search on phpize or pecl
    in /etc/php.ini put :
    extension=oci8.so

  • Rfc Library Call to SXMI_XMB_SYSLOG_READ : INVALID_DATE_TIME error

    I have a distributed NetWeaver 2004S Environment: Main SAP Instance and Database are located in a CST Time Zone on the same machine. A dialog SAP instance, installed on an HP-UX Itanium Host, is located in a PST Time Zone, but, the system clock set for CST time - 2 hours behind the main SAP instance host system clock time.
    My application is installed on the HP-UX Itanium Host and connects to the local (dialog) SAP instance, and makes RFC library calls to collect data. For Syslog data, the RfcCallReceive call is made to function SXMI_XMB_SYSLOG_READ with all the required input parameters. This call succeeds for the first time, but, fails all subsequent times if the call is repeated at 1 minute interval. Following error message is returned:
    gid:105 key:INVALID_DATE_TIME
    The date times on start and stop times are correct - they match very well with the system clock time.
    Now, if I increase the repetition interval from 1 minute to 5 minute, the Rfc call to the function SXMI_XMB_SYSLOG_READ succeeds for the repeated calls.
    Please note that the Rfc application was compiled on an HP PA-RISC development machine, and, uses ARIES emulator to run on HP Itanium Host.
    There is another piece of information I can provide here if that helps: I am able to make 1 minute spaced repeated Rfc call to SXMI_XMB_SYSLOG_READ function with success on a PA-RISC dialog instance of another SAP deployment that has the main SAP instance plus database on one machine in a CST time zone, and, the dialog SAP instance hosting the application on PA-RISC host on a different machine, but, in the same CST time zone.

    Hi Manoj,
    The Application and the dialog instance are on the same machine - HP-UX IA64. This is what TZ has on this host
    TZ=CST6CDT
    How do I synchronize the application and the SAP dialog instance  - they are located on the same physical machine?
    The main instance and the database are on another machine - SunOS5.10 sparc. This is what TZ has on that host
    TZ=US/Central
    The date on HP-UX IA64 (dialog instance) is
    date
    Fri Nov 21 13:13:35 CST 2008
    The date on SunOS5.10 sparc (Main Instance + Database) is
    date
    Fri Nov 21 13:13:35 CST 2008
    Please note that the dialog instance and the main instance are located geographically in PST and CST time zones - being 2 hours apart.
    I appreciate very much your effort. Looking forward to the follow-up.
    Thanks

  • Dynamic method calls in bounded task flows?

    Hi!
    I have the following scenario:
    We are developing a framework in which we would include modules as ADF libraries (as JAR files) with bounded task flows. This framework contains a bean class with bindings for some UI components in framework which I enable or disable (depends on user action). That is the main reason bean class should be present in framework application.
    I have a bounded task flow in every module which needs to call a method in bean with UI component's bindings that would enable or disable that component.
    How can I achieve that? To pass bean as a parameter into bounded task flow and then call its methods? That is dynamic method calls for bean.
    I'm using JDeveloper 11.1.2.1.0
    Thanks for your help
    Regards, Marko

    Hi,
    I explained this; +"I have a bounded task flow in every module which needs to call a method in bean with UI component's bindings that would enable or disable that component. How can I achieve that? To pass bean as a parameter into bounded task flow and then call its methods?"+ a couple of times already (not sure if it was all for you) and don't think I change my position here. I also explained how to use a ValueExpression to lookp a managed bean containing component bindings (should be in requestscope).
    Frank

  • OSB Dynamic service call or dynamic route and transactions

    Hello,
    I've got the following problem in my OSB architecture for asynchronous incomming services.
    OSB version is 10.3.1
    ConnectionFactory is XA
    Problem domain:
    Dynamic service call or dynamic route within transaction boundary
    Elements within transaction:
    1.     JMS Queue ->
    2.     Upper Proxy Service (De-queue) ->
    3.     Lower Proxy Service (Canonical Service) ->
    4.     Business Service (Data Service) ->
    5.     Database Adapter->
    6.     Database
    Dynamic element
    Upper Proxy Service (De-Queue) must be able to determine which Lower Proxy Service (Canonical Service) has to be called on the basis of the message taken from the JMS Queue without losing the transaction (this doesn’t work yet).
    Already tried possible solutions:
    •     Make a service call dynamic by setting the $inbound name attribute. This results in a this property is read-only error.
    •     Use a Dynamic route instead of a service-call. This results in a loss of transaction. The message is deleted from the Queue without taking failure or success into account.
    •     Use a Dynamic route with a quality of service set to exactly once in the header. This seems to be ignored, results in a loss of transaction.
    •     Use a Dynamic route with an explicit reply with failure for errors. Results in a loss of transaction.
    •     Use a Dynamic Publish. This doesn’t fit the required flow because it has no response.
    I hope someone can shed some light on this because I'm at a total loss. I found some references in the forum to what seems to be the same problem but without definite answers. A work-around is also a viable answer.
    Regards,
    Bas Mul

    Hi,
    I'll try to clarify.
    Upper proxy dequeues a message.
    Depending on a value of a specific tag within the message a canonical proxy service (out of 5 at the moment but this numer could increase) has to be called (and be dynamic transform transformed to the format of the specific canonical).
    The canonical service must then pass the message to a database adaper's business service which is responsible for the database insert/update/read.
    If something in the chain from dequeue to database action goes wrong the message may not dissapear from the queue.
    Somehow a dynamic route in the message flow between dequeue proxy and canonical proxy breaks the transaction.
    Bas

Maybe you are looking for

  • CS 5 exports two pages at a time instead of one.

    I copied the following script from the Internet into notepad, saved it, and renamed it "spreads.jsx". I put it into my scripts file. It didn't do anything. app.interactivePDFExportPreferences.exportReaderSpreads = !app.interactivePDFExportPreferences

  • How i disable android / windows phone files access in windows 7 system

    hi, I had created GPO for USB device disable. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR Value type REG_DWORD Value data 0x4 (4) This will work for USB storage device not for Windows phone or android phone. Please guide me is there

  • [SOLVED] Ardour - could not reconnect to audio/MIDI engine

    I have a problem with Ardour: when I am tryng to create a session it is telling me that it "could not reconnect to audio/MIDI engine. I don't really know where to go from here.. Can anyone please help me with this? Let me know if there is any informa

  • More info on DRAW table and DRAZ table

    Hello, I am new in SAP trying to upgrade some existing code. I am looking for information concerning the DRAW and DRAZ tables and their benefits. any help is highly appreciated. Thank you

  • Inconsistent data in PSA table and Data source

    Dear Experts, I am using Process chain to update info cube from data source of a z table. In the process chain, the Delete PSA request step is having the PSA table number of the correct data source. The info package and the DTP also have the correct