PL/SQL missing symbol while loading external library

I have followed all the steps in creating external library in PL/SQL i.e. configuring Listerner, TNSNAMES.ORA etc. etc.
While invoking a function call on this external library, I am getting a missing symbol error :
ORA-06520: PL/SQL: Error loading external library
ORA-06522: /home/qzintf/libSQLAdapter.so: undefined symbol: Fneeded32
ORA-06512: at "EQMIG.QUARTZSQLADAPTER", line 0
ORA-06512: at line 12
This missing symbol "Fneeded32" is located in a tuxedo shared lib. The path of tuxedo library (libfml32.so) has already been put in the env var LD_LIBRARY_PATH, but still Oracle is not looking into this library !
Is there any way where I can define dependency of QUARTZSQLADAPTER on libfml32.so ?? Or make oracle use load this library while loading QUARTZSQLADAPTER ??

Is the path to libfml32.so accessible to the oracle o/s user and the so itself readable/loadable by oracle?
You neglected to supply any details of platform and versions - please always do. Full Oracle version and version of o/s.
If you are using Oracle 64bit (quite likely on Unix flavours), confirm that libfml32.so is a 64bit so. If 32bit then the loadlibrary call will fail as 32bit objects cannot be natively loaded into a 64bit process image.

Similar Messages

  • ORA-06520: PL/SQL: Error loading external library

    Hi
    I am trying to use an external C program from sql using following steps.
    copy the dll in dir ORACLE/806/BIN
    create or replace library outs as
    'e$/ORACLE/806/BIN/SmlCrcChecking.dll'
    create or replace FUNCTION plsCheck_File_CRC (fname Varchar2)
    return boolean
    AS LANGUAGE C
    library outs
    name "Check_File_CRC";
    and call the dll using
    select plsCheck_File_CRC('c:\mttest.txt') from dual;
    The dll is notc alled the message is
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    Please help
    Prashant

    I am trying to create a Pl/SQL test env using
    create or replace procedure file_test
    (fname in varchar2,
    status out number)
    is
    begin
    If Check_File_CRC (fname) then
    status:=0;
    else
    status:=1;
    end if;
    end;
    However the following errros are displayed
    Errors for PROCEDURE FILE_TEST
    6/1 PL/SQL: Statement ignored
    6/4 PLS-00382: expression is of wrong type
    mY TNSNAMES.ORA contains following
    additions
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA = (SID = PLSExtProc)(PRESENTATION = RO))
    extproc_connection_data.world =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = extproc))
    (CONNECT_DATA =
    (SID = extproc)
    AND LISTNER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora81)
    (PROGRAM = extproc)
    Message was edited by:
    prashant13

  • Error loading external library

    I have created a library in Oracle using a C library test.so in sun solaris.
    This library contains string manipulation and memory management functions. When I call a function in this library through PL/SQL I get the error
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: relocation error: file /home/OraHome/8.1.7/lib/test.so: symbol endl__FR7ostream: referenced symbol not found
    Anybody knows how to set the environment so that symbols in libraries located in other directories can be traced by Oracle.
    Mohan

    Hello
    We have just come across the same problem. A .so library is
    accesible (i.e. we have the adecuate permissions through Unix)
    and the extproc procedure finds it, but we cannot access the
    functions within it. We also get the (really strange) Bad Magic
    error.
    I see that you posted this problem a long while ago and I was
    wondering if you've found a solution you could share.
    Thanks,
    Marta Tirelli

  • Context: Error loading external library

    Oracle 8.1.5EE, Solaris 8 (x86)
    create index quick_text on quick ( text )
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: relocation error: file
    /oracle/app/oracle/product/8.1.5/ctx/lib/libctxx8.so: symbol ociepgoe:
    referenced symbol not found
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    whats the problem ?!
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Omar Alonso ([email protected]):
    Make sure that the Net8 listener is running and is configured to invoke external procedures.<HR></BLOCKQUOTE>
    Of cause its running and configured as follows:
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM=extproc) (ORACLE_HOME=/oracle/app/oracle/product/8.1.5)
    (SID_NAME=PLSExtProc)
    tnsnames.ora:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    LD_LIBRARY_PATH - ok to lib and lib/ctx
    + /var/ld/ld.conf - correct
    + ENVS=LD_LIBRARY_PATH=... - set
    I dont understand whats the problem ;-(
    services looks like this:
    PHNET3 has 5 service handler(s)
    DEDICATED SERVER established:0 refused:0
    LOCAL SERVER
    DISPATCHER established:94 refused:0 current:13 max:254 state:ready
    D000 <machine: phnet3, pid: 19391>
    (ADDRESS=(PROTOCOL=tcp)(HOST=195.133.235.229)(PORT=34087))
    DISPATCHER established:162 refused:0 current:13 max:254 state:ready
    D001 <machine: phnet3, pid: 19393>
    (ADDRESS=(PROTOCOL=tcp)(HOST=195.133.235.229)(PORT=34088))
    DISPATCHER established:132 refused:0 current:13 max:254 state:ready
    D002 <machine: phnet3, pid: 19395>
    (ADDRESS=(PROTOCOL=tcp)(HOST=195.133.235.229)(PORT=34089))
    DEDICATED SERVER established:0 refused:0
    LOCAL SERVER
    PLSExtProc has 1 service handler(s)
    DEDICATED SERVER established:0 refused:0
    LOCAL SERVER
    null

  • Error loading external library (Oracle 8.1.5)

    I'm running Oracle 8.1.5 and am trying to configure the interMedia Text option to enable long test searches using the "contains" operator.
    I've installed (and re-installed) the interMedia text option trying to get this thing working. The installations (including the re-installation) were successful and starting the ctxsrv process was successful as well. No matter what I do, however, I get the following error when I try to create a context type index:
    SQL> create index z$long_ix on z$long(data) indextype is ctxsys.context;
    create index z$long_ix on z$long(data) indextype is ctxsys.context
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: libskgxp8.so: open failed: No such file or directory
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    I have tried everything in the online newsgroups, FAQs, etc, but still seem to have this error come up.
    My tnsnames.ora contains:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    My listener.ora contains:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
    (ENVS=LD_LIBRARY_PATH=/dbmsu001/app/oracle/product/8.1.5/lib:/dbmsu001/app/oracle/product/8.1.5/ctx/lib)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SWOW)
    (GLOBAL_DBNAME = devlab)
    (ORACLE_HOME = /dbmsu001/app/oracle/product/8.1.5)
    I restarted the listener each time I made changes to listener.ora and I restarted ctxsrv process each time as well to make sure. I run ctxsrv as "ctxsrv -user ctxsys/ctxsys -personality M -log ctx.log &". I exited SQL*PLus and restarted to make sure I got a new session under the new listener process.
    I don't know alot about libraries and external processes, but from what I've read, I have everything setup properly. I checked the dba_libraries view and it shows the proper filename and path for the libctxx8.so file. It should be correct as it's the same file/path I entered while installing the interMedia text option.
    I've also tried setting text_enable = FALSE in initXXX.ora to make sure that doesn't interfere. Somewhere I read that having that parameter set to TRUE may cause some problems as it's only for version prior to 8.1.5.
    If you have any additional information that can help me get this working, it would be greatly appreciated. I've spent countless hours and am just spinning my wheels now with an ever increasing level of frustration.
    Shane Marshall
    Boston, MA

    This might be best asked in the Oracel Text forum...
    But, it appears that you have extproc configured correctly, the problem is that extproc cannot find the shared object in question. It cannot dynamically load the shared object becaus it cannot find it.
    In my experience, this is due to a LD_LIBRARY_PATH unix environmental variable that does not include the directory where the shared object is. You should set this variable in the login script for the oracle user.
    From the installation guide.... I am not sure if this library is in ORACLE_HOME/lib, if not add the directory to LD_LIBRARY_PATH
    LD_LIBRARY_PATH
    Required when using Oracle products that use shared libraries. Set LD_LIBRARY_
    PATH to include $ORACLE_HOME/lib.

  • Error Loading External Library - worked on 10g, now upgraded to 11g and not

    I have an external C library that have been using for years to extracy binary data (images, docs, pdfs etc) from a blob column in a table
    This has been working on Oracle 10.2.0.1 on Windows 32 bit for years.
    I have a new server, Windows 2008 64 bit, have installed 11.2.0.1, created a database and done a full datapump export and import.
    My application seems to work fine with the exception of this external dll
    I have made sure the dll is in the correct directory on the server and the library is pointing to it :
    create or replace library EXTERNPROCEDURES as 'C:\oracle\extern\extern.dll';I then have the same wrapper code that works fine on 10g, is there something I need to do on 11g to "authorise" the external dll or anything as I know the security is tighter or is there an issue with the fact this is 64bit Oracle?
    I have set the listener.ora to be the same as on 10g
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = DB12)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ENVS = "EXTPROC_DLLS=ANY")
          (ORACLE_HOME = c:\oracle\ora11g)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = UPAD)
          (ORACLE_HOME = c:\oracle\ora11g)
          (SID_NAME = UPAD)
      )And the TNS names file
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )Wrapper:
    create or replace procedure OutputString(
      p_Path in varchar2,
      p_Message in varchar2,
      p_mode in varchar2,
      p_NumLines in binary_integer)
    as
    external
      library externProcedures
      name "OutputString"
      with context
      parameters (context,
                  p_Path string,
                  p_path INDICATOR,
                  p_Message string,
                  p_message INDICATOR,
                  p_mode string,
                  p_mode INDICATOR,
                  p_NumLines int,
                  p_numlines INDICATOR)
    ;And the actual pl/sql code
    create or replace procedure extract_b
    (pname in varchar2
    ,ppath in varchar2
    is
         vBlob          blob;
         vLen          number;
         vRaw          raw(10000);
         i          number;
         j          number := 10000;
    begin
         select blob_content into vBlob from wwv_document$ where name = pName;
         -- find the length of the blob column
         vLen :=  DBMS_LOB.GETLENGTH(vBlob);
         -- Read 10000 bytes at a time
         i := 1;
         if vLen < 10000 then
         -- If the col length is < 10000
              DBMS_LOB.READ(vBlob,vLen,i,vRaw);
              outputstring(pPath,rawtohex(vRaw),'wb',2*vLen);
         -- You have to convert the data to rawtohex format. Directly sending the buffer data will not work
         -- That is the reason why we are sending the length as the double the size of the data read
         else
         -- If the col length is > 10000
              DBMS_LOB.READ(vBlob,j,i,vRaw);
              outputstring(pPath,rawtohex(vRaw),'wb',2*j);
         end if;
         i := i + 10000;
         while (i < vLen ) loop
         -- loop till entire data is fetched
              DBMS_LOB.READ(vBlob,j,i,vRaw);
              outputstring(pPath,rawtohex(vRaw),'ab',2*j);
              i := i + 10000 ;
         end loop;
    end;Any ideas?
    Thanks
    Robert

    I call extract_b from sqlplus, which calls outputstring which fails with the error message posted
    Not really sure what else I can provide as I've posted the code for outputstring
    The problem is the for some reason Oracle cannot load the dll, I think the code is fine as it has run on 10g, I think the issue is maybe along the lines that there is something extra in 11g I need to do to set the external library up or it's not happy with the fact it's 64bit or the listener.ora needs to be different in 11g or something like that but I am at a loss as where to look

  • Issue while loading the library files(".so" or ".sl") using JNI

    Hi,
    We are loading the c library files using system.load during the init phase of servlet.
    While loading the application for the first time everything goes smooth and application behaves as expected.
    We are facing the below issue when we try restarting the application through admin console in case of WAS (web sphere) for any patch deployment in the application.
    java.lang.UnsatisfiedLinkError: Native Library /users/test1/siva/jnilib.so already loaded in another classloader.
    If we restart the complete WAS every thing works fine.
    There is no specific System.unload function available in java to remove the loaded library in JVM.
    Is there any alternate way to unload the library which is loaded in class loader to resolve this issue which can be called in the destroy phase of servlet?
    Any help here is highly apreciated.
    TIA,
    Siva.

    sivabalan wrote:
    Hi,
    We are loading the c library files using system.load during the init phase of servlet.
    You mean a shared library, not C files (which would be source.)
    However I am not sure that loading it in a servlet is a good idea. But that is a different issue.
    Is there any alternate way to unload the library which is loaded in class loader to resolve this issue which can be called in the destroy phase of servlet?This is how it works on the Sun VM back to about 1.2. And as far as I know there is no other way for it to work on any other VM.
    You have a class with native methods that relies on the shared library. The class and the shared library are loaded into a class loader. If the class loader is unloaded by the GC then the native library will be unloaded as well.
    A class loader can be collected by the GC if if the classes loaded by it are no longer actively references. So ALL class instances can be collected.
    If the above is true then by running System.gc() twice it will collect the classloader and thus the native library.
    So in your situation it might work if your app server allows you do GC (full GC is better if that is an option). You could try unloading the app, then doing the GC option several times, then do a load. Try the GC option about 6 times and the reduce it down to see if 2 work.
    If that doesn't work then there could be some programmatic solutions using the same idiom.

  • Debugging in "strict mode" while using external library assets

    Hi everyone. A new ActionScript-3 user here with a question on strict mode.
       I have multiple Flash pages which use the same art assets. To support modularity and possibly decrease total download time, I have implemented this by placing the shared assets into the library of a shared .swf file (the other .swf files all load this shared .swf file). The shared .swf contains ActionScript routines to place instances of the assets onto the stage and to perform other common functionality.
       A drawback to this strategy is that, correct me if I'm wrong, "strict mode" can not be used to debug calls to functions which exist in external .swf files. That is, if the parent .swf makes a call to a function which is defined within an externally loaded .swf, that function call will be reported as an error in strict-mode because Flash is unaware of the contents of an external .swf at compile time (though it is aware at run-time.)
       My understanding is that shared code can be compiled under strict-mode if the shared code exists purely as an external .as file, not as an external .swf file. However, again please correct me if I'm wrong, art assets which are shared at run-time must exist in an external .swf file. Therefore, by my understanding, if run-time shared assets are desired, then strict mode will not properly compile the projects.
       Is my understanding correct?
       Thanks for any help,
         - Rashid

          Posting an update.
          I have since found a way to compile in strict mode a project which loads an external .swf and acesses its functions. This external swf is able to have a library of its own which is accessed in the external swf's own ActionScript.
          Unfortunately, the solution I have found increases the size of the project's compiled swf. If anyone knows of a way to solve this problem without increasing swf size, I would be quite grateful if you were to share your knowledge.
          Posted below is the solution I am aware of, which increases file size. In these steps, “main project” refers to the top-level Flash project which is attempting to load other swf's. “External project” refers to an swf which is to be loaded by the main project.
    1) Publish the external projects as swc files. “Swc” is a class file, and is to be accessed by the main project when debugging under strict mode. The .swc presumably contains information about external project's library items which are to be exported for ActionScript.
          To create an .swc file, head to “File->Publish Settings...->Flash”. Check the “Export SWC” box.
    2) In the main project, add the external projects' .swc files to the external library path. This is found in, “File->Publish Settings...->Flash->Settings->External library path”. Either individual swc files can be added here (via the SWC file button) or the name of the directory where they reside (via the Path button). Both approaches should work.
    3) Somewhere in the main project's ActionScript, the external project is likely being loaded via a line of code similar to myLoaderObject.load( myURLRequest ). For this new approach, it is now necessary to make use of the second parameter to load(), the loader context. Here's the new line of code:
    myLoaderObject.load( myURLRequest, new LoaderContext( false, ApplicationDomain.currentDomain ) );
          If the LoaderContext parameter is NOT passed, then Flash unfortunately shall not report this as an error. Instead, you may observe strange behavior when the external swf attempts to use its exported library items.
    4) If the main project's code refers to the external project's class by name, then that class will need to be “import”ed into the main project's code. Without this, the compiler will complain about not recognizing the class.
    5) In the main project, edit  “File->Publish Settings...->Flash->Settings->Source path”.  Add the path to the external project's .as class file. Without this, the main project shall give a run-time error of not being able to find the external class.
       This final step, 5, is what increases the size of the main project's swf. I have a project with a few nested .swf loads, and the main project's swf increased by about 10Kb when using this solution.
          This does not seem proper. That is, one would desire the sizes of the final swf's to remain unchanged regardless of the level of compile-time error reporting. If my interpretation of an .swc class file is correct, then it seems logical to presume that step 5 above should not even be necessary, because the class information is given to the compiler/debugger through the .swc.
       Anyone know what I am doing wrong, or otherwise how to get around this problem?
       Thanks bunches.

  • How to remove carraige return from the field while loading external table

    I am facing an issue of not getting rid of carraige returns present in the fileds of the source .csv file while loading the records into external table.
    I had tried using LRTRIM, but it does not help.
    The error I am getting is:
    KUP-04021: field formatting error for field POPULATION_DESCRIPTION
    KUP-04037: terminator not found
    I am pasting one record out of the .csv file which is causing this error as below:
    "Business Card Accounts
    ",123,7 BizCard - Gamers,Control,"Business Card Accounts
    ",75270,75271
    You can see the carraige return in the 1st field as well as 5th field. Filed are separated by commas & eclosed by double quotes.
    Could anybody help on this please?

    Can you copy the file to an external table only version, and then dos2unix it?
    Alternatively, you can use the ACCESS PARAMETERS area in your external table definition to set that your RECORDS DELIMITED BY carriage returns, instead of the default.
    Check out the example here http://www.psoug.org/reference/externaltab.html

  • [SOLVED] Error while loading shared library libboost_system

    $ xx
    cnf-lookup: error while loading shared libraries: libboost_system.so.1.55.0: cannot open shared object file: No such file or directory
    bash: xx: command not found
    Current version of libboost_system.so.1.56.0
    How do I figure out which package/command is looking for the previous version of libboost_system?
    Edit: I have the command-not-found interface from pkgfile installed.  That explains the xx above.
    Last edited by fschiff (2014-09-08 00:10:33)

    pactree --reverse boost-libs
    told me that AUR package command-not-found was dependent on this.
    I removed command-not-found (which I don't really need after putting in the pkgfile bash "command-not-found" hook)  The AUR command-not-found more than likely did not work.
    I think I discovered this a while back, but couldn't make the connection of what was going on.  Still confused but happily arching away.

  • PPA not found while activating External Library DC

    Hi,
    I'm trying to activate an External library DC. The activation fail and here is the error I get :
    Development Component
         "<my_package>/itext202" in compartment "_GESTIONTEMPS_1" attached to request 1&#65533;530
         [scID: 663, dcID: 954, parent dcID: 0, current state: OK, action: CREATED]
         Build Number: (last successful: 1&#65533;235, last known 1&#65533;235)
         Original Cause: PPA not found! Expected location:
    <path to server 0>\temp\CBS\25\.B\1235\DCs\<mypackagename>\itext202\_comp\gen\default\public\AssemblyPP.ppa
            REQUEST PROCESSING finished at 2008-03-18 16:34:31.443 GMT and took 33 s 861 ms
    I looked at the folder during activation, this file is created but seems to be deleted too early.
    Anyone faced the same problem before ?
    Johann

    Hi
    Could you please update this message of how you managed to solve this
    I have the same issue
    Regards
    Kay-Arne

  • Loading "external library" get "I/O error" in mac

    Hey everyone,
    I just discovered the "external library" in extendscript. So I opened up the "samplelib" example in Xcode 5 and buit it. But, when I tried to run the script, I keep getting the "I/O error" at line "var sampleLib = new ExternalObject("lib:" + libPath);" . I tried to change the "SampleLib.framework" file to readable and writable for every user, but it didn't help.
    So, guys, any idea what I've been doing wrong?
    Thanks!!!

    Hi,
    Probably your external object framework is not vaild. Check your Xcode project and rebuild it.
    Here is working sample image;
    Ten

  • Error while calling external library functions

    Using visual studio I wrote the following code test javascript communication with external C/C++ libraries:
    aabc.cpp :
    extern "C" __declspec(dllexport) char* ESInitialize (TaggedData* argv, long argc);
    extern "C" __declspec(dllexport) long ESGetVersion (void );
    extern "C" __declspec(dllexport) void ESFreeMem (void* p);
    extern "C" __declspec(dllexport) void ESTerminate (void );
    extern "C" __declspec(dllexport) double AddNumbers(void);
    double AddNumbers(double a, double b)
    return a + b;
    long ESGetVersion (void){
    return 5;
    And the code that I wrote in javascript is:
    var obj = new ExternalObject("lib: aabc.dll");
    alert(obj.version);
    var aa = obj.AddNumbers(10, 20);
    alert(aa);
    It seems to me that it loaded successfully due to the output I am getting from the second statement. But I am getting error at the third statement where I called AddNumbers(10,20) function.
    Somebody help me.
    Thanks in advance,
    sailu

    I have the same problem. This is my code:
    extern "C" __declspec(dllexport) char* ESInitialize (TaggedData* argv, long argc);
    extern "C" __declspec(dllexport) long ESGetVersion (void );
    extern "C" __declspec(dllexport) void ESFreeMem (void* p);
    extern "C" __declspec(dllexport) void ESTerminate (void );
    extern "C" __declspec(dllexport) int AddNumbers(int a, int b);
    extern "C" __declspec(dllexport) char* ESInitialize (TaggedData* argv, long argc)
    return "AddNumbers_dd";
    int AddNumbers(int a, int b)
    return a + b;
    long ESGetVersion (void){
    return 17;
    And the code that I wrote in javascript is:
    var obj = new ExternalObject("lib: mydll.dll");
    var x = obj.AddNumbers(10, 20);
    alert(x);
    The version of the library is correct, but when I try to use the function "AddNumbers" I receive this error "AddNumbers is not function".
    What would be the correct procedure to call a function inside a DLL?

  • Error while loading external data using Business Content

    Hi,
    I am new to BW and I'm stuck up with this problem.
    I'm trying to load data from external file using business content cube(0PUR_C01)and infosources(2LIS_02_ITM/S012/SCL).
    I first installed the above mentioned cube and data sources.
    Then I activated the update rules and transfer rules, without any changes.(I don't know what changes might be required!)
    Monitor is showing successful load but the cube has 0 enteries.
    Even the simulation of update is showing data in the data target.
    Can someone please guide me through this ?
    Its really urgent....
    Thank you all in advance.

    Hi Sharmistha,
    Welcome to SDN !! Does your monitor shows any records extracted till PSA ? Go to the details tab -> processing and click on each node to check what monitor shows.
    Hope it helps.
    Thx,
    Soumya

  • Problems with loading native library/missing methods: no ttJdbcCS1121

    Hi guys,
    Im getting this problem in glassfish 2.1, but in glassfish 3 or in tomcat, i dont get this problem. (Windows)
    Any thoughts?
    java.sql.SQLException: Problems with loading native library/missing methods: no ttJdbcCS1121 in java.library.path
    at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1750)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:305)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:161)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at com.summitinvt.mdaq.db.handler.DBConnector.getConnection(DBConnector.java:108)
    at com.summitinvt.mdaq.db.handler.DBConnector.initiateConnection(DBConnector.java:101)
    at com.summitinvt.mdaq.db.handler.DBConnector.<init>(DBConnector.java:34)
    at com.summitinvt.mdaq.db.handler.DBConnector.<init>(DBConnector.java:14)
    at com.summitinvt.mdaq.db.handler.DBConnector$DBConnectorUtil.<clinit>(DBConnector.java:24)
    at com.summitinvt.mdaq.db.handler.DBConnector.getInstance(DBConnector.java:28)
    at com.summitinvt.mdaq.rats.server.CommunicatorImpl.getPnLByCurrency(CommunicatorImpl.java:1074)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    regards
    John

    A similar problem was reported before on this Forum - see
    Re: not able create connection to timesten
    checking the Release Notes I can see 11.2.1.8.0 has been tested against Glassfish 3 but I
    can't see any mention about Glassfish 2 in the v7 or v11 Release Notes (albeit only on a quick
    search).
    In my full install on XP, ttJdbcCS1121.dll is in C:\TimesTen\tt1121_32\bin

Maybe you are looking for

  • IMac, Multiple Monitors & Spaces

    I have 2 monitors connected to my new iMac.  I arrange various setups using Spaces on all 3 monitors.  When the iMac comes out of sleep mode, all of the panels are always pulled into the iMac monitor (e.g. the other monitors are empty) in each Space.

  • Invoice Cancellation in MR8M

    Dear Consultants, I have posted invoice in MIROu2026 Now I want to cancel the Invoice document in MR8Mu2026 When I am doing so, the system is throwing a Error message as The Tax amount must not be greater than the tax base. I Checked the Invoice Docu

  • I keep getting an error when trying to download apps,

    app updates and new downloads fail every time partway through download. Ipad2 IOS 6.0.1 and Iphone5 same release. Error says "Unable to download application" Application cannot be installed at this time.

  • Action multiple OM objects in one Form

    Hi Experts, The OM Processes & Forms include a number of standard forms in system such as: - Create Position - Change Position Attributes - Create Org Unit - change Org Unit These forms work on one base object and they process the form. We have 2 req

  • How do I register ActiveX controls?

    As fas as I know I have two copies of the same version of MS6.0. When I bring code in from one copy to the other I get the message "The Active X Control cannot be instantiated." I hit OK and it says: "The Active X Control {bunch of hex values} is not