Couldn't Load DLL and Call JNI in Portal Servlet !!!

Hello,
I'm trying to write a small test servlet in portal which will call functions in a DLL using JNI. Here is my source code. I put my DLL in \Window\system32, usr/sap/J2E/JC01/j2ee/os_libs, even included into my portal project \PORTAL-INF\lib. But everytime when I try to preview my page, I got the following error and I couldn't find the log file specified in the error message. Please help me out. Thanks a lot!
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
MyTestDLL.
Exception id: 12:25_23/12/06_0029_11241950
See the details for the exception ID in the log file
Source Code:
import com.sapportals.portal.prt.component.*;
public class CIViewTest extends AbstractPortalComponent
     public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
          response.write("Hello From Java Servlet!!!\n");
     static {
          try {
               Runtime.getRuntime().loadLibrary("MyTestDLL");
// I've also tried System.LoadLibrary("MyTestDLL");
          } catch (UnsatisfiedLinkError ule) {
               throw ule;

Nobody used JNI in Portal Servlet??? Please advice. Thanks!

Similar Messages

  • Creating dll and calling it in labview crashing the program

    Hi All,
    I am using labview from quite a long time.But this time i am stuck with dll.Not able to solve this issue.
    I have to communicate with FTDI chip.
    I have a VC++ Project to communicate with SPI of FTDI.That Code is working perfectly fine.
    Now I Have to automate that through LabVIEW. VISA Drivers i cant use in this. So Last option left is either to create dll or to make EXE out of it.
    I have tried by creating DLL and then calling it in LabVIEW by using Call Library Function Node.But its not helping me out every time LabVIEW is getting Crashed.
    Is there error in creation of dll or something i am not doing properly while calling?
    Thanks In Advance 
    Shweta
    Attachments:
    old_dolphin_sub_spi_func_ftdi.c ‏21 KB
    ftdi_write_read.vi ‏15 KB

    Which function call crashes LabVIEW?
    Have you tried switching the calling convention from stdcall to C for all of the DLL calls?
    Why are you converting a string to a number, instead of using a numeric constant directly? If you want a number in hex, you can right-click a numeric constant, make the radix visible, and switch it to hex display.

  • IS IT POSSIBLE TO CONVERT DATA SERVER EXAMPLE INTO DLL AND CALLING IT FROM VC++

    Hi;
    I have a real time implementation that runs in my PXI machine. Then I have a front panel running on a different computer (host) that reads the outputs of the real-time machine and plots them. The output of the real-time machine is a 2d array. What I am trying to do is take this data and send it to my C++ application. To do that I am considering sending the data to a specific port on my host machine using the data server example (2d version of it). To this end, I am considering converting this server into a Labview dll and read its output in my C++ code.
    I am wondering if this can be done?  
    If yes Could you please provide me a little code as to how to read the outputs of this Labview dll in c++?    
    Is there any tutorial as to how to create a Labview dll for Labview 2009? 
    Thank you so much!
    Serdar 

    Hello,
    You may want to take a look at this tutorial:
    http://zone.ni.com/devzone/cda/tut/p/id/3517
    Let me know if it helps!
    -Zach
    Certified LabVIEW Developer

  • Unable to Invoke CustomSearchTrimmer after Loading DLL and Registering on SharePoint 2013

    I am using SharePoint 2013 and am trying to get a bare bone implementation of a Custom Search Trimmer (implementing
    ISecurityTrimmerPost) to be invoked when I do a Search in the test box after logging into the SharePoint Site. 
    Here are the steps I have followed:- 
    1. Created the DLL implementing the ISecurityTrimmerPost interface with log statements, so that I know that the Trimmer is being invoked. The logs attements from other modules are being printed normally, so its safe to assume that the logs will be printed
    from the class implmenting the ISecurityTrimmerPost interface
    2. Deployed the DLL (OES.Sharepoint.DLL) using the GAC Utility. I made sure that there were no tasks running that had loaded another version of this DLL
    3. Registered the Trimmer successfully with the following commands from the PowerShell:
    New-SPEnterpriseSearchSecurityTrimmer -SearchApplication "Search Service Application" -TypeName "OES.Sharepoint.SearchControl, OES.Sharepoint, Version=1.0.0.0, Culture=neutral, PublicKeyToken=68b08a2fa869dfdc" -RulePath "xmldoc://*"
    -id  210
    SearchApp     : SearchServiceApplication Name=Search Service Application
    Id            : 200
    TypeName      : OES.Sharepoint.SearchControls.SearchControl, OES.Sharepoint,
                    Version=1.0.0.0, Culture=neutral,
                    PublicKeyToken=68b08a2fa869dfdc
    Properties    :
    IsPrePhase    : False
    CrawlRulePath : {1}{xmldoc://*}
    4. Restarted the SPSearchHostController
    5. Started a Full Crawl.
    6. Logged into the Sharepoint Site and fired a Search from the upper right Search text box.  The Log file does NOT show any log related to the CustomSearchTrimmer Module.
    I have run out of ideas. Can anyone help?
    PatrickDellM

    I actually downloaded a fresh copy of SP1 before I installed it a few weeks ago. From what I read in the description of the July CU, it does not fix anything related to this issue, or am I missing something.

  • Can not find size_t during import a dll and calling a function crash labview

    Hello, experts
    I need to use FingerLakeInstrument  DLL ( see the attached) inside Labview to talk to a CCD camera. it is built from microsoft visual studio C++
    I unzip FLI dll in my D:\proj\...\linfli-32 and import dll from there. created a c:\FLIDBG.txt as FLI dll needs to write debug message to it if FLISetDebugLevel() or others are called.
    During importing the dll, first thing I got is <sys/types.h>  ( ie size_t ) cannot be found. I have installed free version of microsoft visual studio C++
    but can not find "typedef unsigned int size_t"
    at the end, I just added
     typedef unsigned int size_t;
    in the libfli.h. Having done that, I am able to import all functions into Labview and have a user library called libfli.
    However, as soon as I start calling a simple function in a test.vi, such as FLIGetLibVersion(char* ver, size_t len), which involves nothing other than the library, the labview will crash.
    I created a simple C test.exe which calls many functions without any problem
    any suggstion?
    regards
    xiaofeng
    Solved!
    Go to Solution.
    Attachments:
    libfli-32.zip ‏93 KB

    Hi, Smercurio_fc
    thanks for your reply. Yes, you are pointing to the right place.  I have solved the crash problem.
    when importing DLL into Labview using Tools\import\Shared Library (.dll), Labview automatically set the calling convention as C not as stdcall (WINAPI).  it is this that later the labview crashes when a function is called.  as soon as I manually re-selecte calling convention as stdcall, my test.vi works OK (see attached).
    I tried Call Library Function too to call libfli.dll, as long as I select stdcall as call convetion. the test.vi works.
    How do I know which Call convention I need to choose if  there is no infomation from DLL provider?
    as for the size_t,
    I add   #include <crtdefs.h> in libfli.h and 
     add additional include path as
    C:\Program Files\Microsoft Visual Studio 10.0\VC\include.  this  solved the "not found" issue.
    for this case I know that the DLL is built from VC++,  is this right way? 
    again, thanks for your time.
    xiaofeng
    Attachments:
    test.vi ‏13 KB

  • Data Socket fails if built in DLL and called by Labview

    I've placed a Data Socket Connection Open in a SubVi and tested this by running the VI. -> No Problems.
    Then i've compiled a DLL from this Vi and started it from Visual C. -> No problems
    Now, i've included this DLL in another VI and started this.  Now i receive an Error.
    All Information is hardcoded in the DLL so there are no possiblities with parametrization.
    Does anyone have an Idea regarding this?
    Best regards
    Hacky

    Hello Carsten_S.....
    my collegue, who found this behaviour made a little package to
    show the environment. Since he uses a camera system there is no
    possibility to get it running. But it should be easy to create a LV based
    server.
    Our Environment is:
    LV 7.1
    Windows XPSR2
    Regards, Hacky
    Attachments:
    DLL.zip ‏76 KB

  • Calling JNI from my servlet

    Hai,
    I am using a servlet and I am calling the JNI method, but it is throwing an error like
    "java.lang.UnsatisfiedLinkError: check_file". (check_file is my JNI method.)
    I have checked the included header file name and function name, they are proper and correct. Can any one tell me some solution forthis problem. Thanks in advance.
    Bala

    Hai ,
    I found the solution for this query from jguru forum. I thought it will be helpful for persons like me, so i am posting it here. Consider the flg. example.
    All programs are under package "com.myprogram"
    MyServlet.java (My servlet program)
    GetInfo.java (My Java link program)
    GetInfofromCLib.c(My JNI interface program)
    MyServlet.java ---> Servlet that calls the get_info() native method of GetInfo.java
    ******GetInfo.java*****
    public class GetInfo
    public native void get_info();
    static{
    System.load("/usr/home/com/myprogram/mylib.so");
    so now if u create "javah -jni GetInfo"
    it will create the function name like
    Java_get_1info(JNIEnv*, jobject);
    but we need to rewrite this function name, so that it is representing the total path as
    Java_com_myprogram_get_1nfo(....);
    And also in the GetInfofromCLib.c we need to refer this way. Hope this will help others......
    Thanks,
    Bala....

  • Problem Calling JNI from a servlet

    Hi guys,
    How can I trace a C program called from a servlet using JNI ? The problem is a cant see the standard output of the C program because I call it from an applet, not from the console. I would preffer not to generate an error output from the C program, only see the text output this program outputs to the console.
    Thanks.

    Have you tried adding a pipe to the calling command?
    For example:
    Process p = Runtime.getRuntime().exec("myutil.exe > output.txt");
    p.waitFor();
    Once the program has finished, the output from the myutil.exe can be found in the file output.txt.
    HTH

  • Can a VI compiled in dll be called in LV?

    Hello,
    I have some dll´s, which use some common VIs. This means, each time when I compile a dll, the VI will be compiled within the dll. What habbens, if I compile the same VI in another dll, and call the dlls in the same time. Will be there a collision, that the VI is already loaded , by calling the second dll?
    regards
    Mitulatbati

    Maybe I did not understand the question correctly...
    If you have a vi that is compiled into a dll and then from another vi (main) you call both the original VI and the dll, it should not collide as you would be calling different objects.
    Have you tried it and having problems?

  • Calling primary dll which calls secondary dll

    Hi all
    I have a visual C++ file which calls a dll named mpusbapi.dll . The visual C++ file has some additional
    functions also. I want to make this visual C++ file itself a dll and then call this dll from call library function
    in labview. Please guide me in making this visual C++ file dll. 
    To make functions visible in call library function what do i use.
    _declspec (dllexport)  or  Extern C
    I have also read the tutorial of making Writing a DLL with Microsoft Visual C++
    Are there any steps required in doing this? Please tell
    Regards

    I want to add one more thing that in the tutorial of Writing Win32 Dynamic Link Libraries (DLLs) and Calling Them from LabVIEW
    What is this for
    BOOL WINAPI  DllMain (
                HANDLE    hModule,
                DWORD     dwFunction,
                LPVOID    lpNot)
        return TRUE;
    Is it necessary to write this in order to create our own dll?

  • Call a number of servlets with the same session

    Hi,
    for a purpose of performance testing I need to write a servlet that will call a number of servlets in a existing web application.
    It will measure a average execution time of each servlet. The sequence of servlet names and arguments is stored in a xml file, which is accessed by the testing servlet.
    For example:
    <servlet>
            <name>ListExtras</name>
            <params>?dateLocale=en&dateFormat=dd/MM/yyyy&contentId=&staticDateFormat=dd MMMM yyyy&interfaceid=1243941814581</params>
    </servlet>
    <servlet>
            <name>ListFilters</name>
            <params>?dateLocale=en&dateFormat=dd/MM/yyyy&contentId=&staticDateFormat=dd MMMM yyyy&interfaceid=1243941814581</params>
    </servlet>Moreover such testing scenario will be executed simultaneously for several user - I will create a thread for each user and call the sequence of servlets from the xml file. Results of measurements will be stored in a file.
    In our web application a gatway between client and server in a Dispatcher class which forwards client requests to a specific servlet according to provided command parameter.
    So having a servlet name and parameter I do as follows:
    stopWatch.start();
    URL servlerURL= new URL(dispatcherURL  +servletParams+  "&command="  +servletName);+
    +BufferedReader in = new BufferedReader(new InputStreamReader(servlerURL.openStream()));+
    +stopWatch.stop();+
    +String inputLine;+
    +while ((inputLine = in.readLine()) != null) {+
    +     result.append(inputLine);+
    +}+
    +in.close();+
    ++
    This way I can measure time of servlet execution and moreover I can store the result of execution in StringBuffer.
    The problem is that each time I call the Dispatcher this way I get a different sessionId - so that objects stored in the session object by previous servlet cannot be accessed by the following one.
    I tried calling the Dispatcher using an other RequestDispatcher, like this:
    +RequestDispatcher rd = getServletContext().getRequestDispatcher("/xml/Dispatcher"+  servletParams  +"&command="+  servletName);But this throws java.lang.IllegalStateException: Cannot forward after response has been committed.
    So the question is: How can I call various servlets, provide request parameters and keep the same sessionId for each call? And BTW sorry for such a long post, but I wanted to explain the problem is details, because it might be that you will provide a completely different solution.
    Thank you in advance for answering!

    Or investigate the [catus framework|http://jakarta.apache.org/cactus/].
    If you understand very well how j2ee web applications work and then understand the cactus f/w, you can easily tweak it to meet your requirements.
    ram.

  • "Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'"

    Hi!
    As you can see from here :
    http://www.fabiocavallo.it/sap/maxdb.jpg
    MaxDB seems to work fine, but after starting application server i have got an error :
    SAPGUI Logon Error Message:
    http://www.fabiocavallo.it/sap/sapguilog.jpg
    ...here comes dev_w0 :
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL 1
    ACTIVE TRACE COMPONENTS all, MJ
    B
    B Thu May 22 19:58:50 2008
    B create_con (con_name=R/3)
    B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
    M Error 126 = "Impossibile trovare il modulo specificato."
    B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    http://dbcon.c 4726
    M sysno 00
    M sid NSP
    M systemid 560 (PC with Windows NT)
    M relno 7000
    M patchlevel 0
    M patchno 95
    M intno 20050900
    M make: multithreaded, ASCII, optimized
    M pid 3376
    M
    M kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
    M length of sys_adm_ext is 360 bytes
    M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) http://dpxxdisp.c 1301
    I MtxInit: 30000 0 0
    M DpSysAdmExtCreate: ABAP is active
    M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M
    M Thu May 22 19:58:51 2008
    M DpShMCreate: sizeof(wp_adm) 6328 (904)
    M DpShMCreate: sizeof(tm_adm) 3605136 (17936)
    M DpShMCreate: sizeof(wp_ca_adm) 1200 (60)
    M DpShMCreate: sizeof(appc_ca_adm) 1200 (60)
    M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M DpShMCreate: sizeof(comm_adm) 528048 (1048)
    M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M DpShMCreate: sizeof(slock_adm) 0 (96)
    M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M DpShMCreate: sizeof(file_adm) 0 (72)
    M DpShMCreate: sizeof(vmc_adm) 0 (1280)
    M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
    M DpShMCreate: sizeof(gw_adm) 48
    M DpShMCreate: SHM_DP_ADM_KEY (addr: 06420040, size: 4205552)
    M DpShMCreate: allocated sys_adm at 06420040
    M DpShMCreate: allocated wp_adm at 06421A28
    M DpShMCreate: allocated tm_adm_list at 064232E0
    M DpShMCreate: allocated tm_adm at 06423310
    M DpShMCreate: allocated wp_ca_adm at 067935A0
    M DpShMCreate: allocated appc_ca_adm at 06793A50
    M DpShMCreate: allocated comm_adm at 06793F00
    M DpShMCreate: system runs without slock table
    M DpShMCreate: system runs without file table
    M DpShMCreate: allocated vmc_adm_list at 06814DB0
    M DpShMCreate: allocated gw_adm at 06814DF0
    M DpShMCreate: system runs without vmc_adm
    M DpShMCreate: allocated ca_info at 06814E20
    M DpShMCreate: allocated wall_adm at 06814E28
    X EmInit: MmSetImplementation( 2 ).
    X MM global diagnostic options set: 0
    X <ES> client 0 initializing ....
    X Using implementation view
    M <EsNT> Memory Reset disabled as NT default
    X ES initialized.
    M ThInit: running on host PCFABIO
    M
    M Thu May 22 19:58:52 2008
    M calling db_connect ...
    B create_con (con_name=R/3)
    B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
    M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
    M Error 126 = "Impossibile trovare il modulo specificato."
    B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
    http://dbcon.c 4726
    M ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) http://thxxhead.c 1426
    M in_ThErrHandle: 1
    M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) http://thxxhead.c 10240
    M
    M Info for wp 0
    M
    M stat = WP_RUN
    M waiting_for = NO_WAITING
    M reqtype = DP_RQ_DIAWP
    M act_reqtype = NO_REQTYPE
    M rq_info = 0
    M tid = -1
    M mode = 255
    M len = -1
    M rq_id = 65535
    M rq_source =
    M last_tid = 0
    M last_mode = 0
    M semaphore = 0
    M act_cs_count = 0
    M csTrack = 0
    M csTrackRwExcl = 0
    M csTrackRwShrd = 0
    M control_flag = 0
    M int_checked_resource(RFC) = 0
    M ext_checked_resource(RFC) = 0
    M int_checked_resource(HTTP) = 0
    M ext_checked_resource(HTTP) = 0
    M report = > <
    M action = 0
    M tab_name = > <
    M vm = no VM
    M
    M *****************************************************************************
    M *
    M * LOCATION SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
    M * ERROR ThInit: db_connect
    M *
    M * TIME Thu May 22 19:58:52 2008
    M * RELEASE 700
    M * COMPONENT Taskhandler
    M * VERSION 1
    M * RC 13
    M * MODULE thxxhead.c
    M * LINE 10439
    M * COUNTER 1
    M *
    M *****************************************************************************
    M
    M PfStatDisconnect: disconnect statistics
    M Entering TH_CALLHOOKS
    M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm http://thxxrun1.c 720
    M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed http://thxxtool3.c 260
    M Entering ThSetStatError
    M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M Entering ThReadDetachMode
    M call ThrShutDown (1)...
    M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) http://dpnttool.c 327
    File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\), maybe i have to set environment variable in windows for SAP.
    Could you help me, please ?
    I don't know how to set these variables.......
    Many thanks.
    Regards.
    Fabio

    Hello Fabio,
    -> You wrote:
    "File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\)"
    => Please check the version of this file.
    < Go to file properties ->Version && update with 'file version', Platform,
       Product Name, Product Version information >
    -> What version of the SAP system did you install?
         "I suppose that i can download this patch from Sap MaketPlace, but i can't register there, because i have no
          Customer or   Installation Number! (i can't Logon in SAP....) "
         From were did you get the SAP software installation or CD?
    -> Could you upgrade the database client software on the application server to the version 7.7.04.08 or higher.
        You pointed "As you can see from here : http://www.fabiocavallo.it/sap/maxdb.jpg u2026 "
       => If the database and application were running on the same server, you installed the database
    Software version 7.6.02.17. Please run 'sdbregview -l' to review the list of all installed packages
    on the server.
    -> "MaxDB seems to work fine, but after starting application server i have got an error"
         Was the system working fine before? What was changed?
         Or you was not able to start the application server after installation. ?
    Thank you and best regards, Natalia Khlopina

  • Problem in Packet.dll file calling with JNI

    I called wpcap.dll and packet.dll using JNI & while using native method of packet.dll, I am getting the error:
    The Procedure entry point PacketGetReadEvent could not be loaded in the dynamic link library packet.dll.
    Please help.
    Thanks in advance.

    what are you using for that ?
    JCOB or ezjcom ?I am developing Packet Capture Program in Java, for
    network monitoring. For that, I am using these
    dynamic link library.Thanks for information but how I would know ?

  • Calling Functions of Loading DLL using java

    I have a dll file
    I know the functions which are ther in the dll
    But how to call those functions using JAVA ?
    can anyone tell me how to do the same...
    Thanx in advance
    regards,
    Ritesh

    I assume that you have a regular DLL and that the functions in that DLL are exported and that you know the signatures of each function.
    With that in mind, you will need to use the Java Native Interface (JNI), to call those functions from Java. In a nutshell, you will need to create at least one class which declares some native methods, code a class static code block to load the JNI-DLL you are about to create, compile the class(es), run the javah tool supplied with the JDK which will emit a C compatible header file, implement the functions from the generated header file and compile that source file to into a DLL. It would be in this DLL that you would use the functions in the DLL that you ultimately want to access. So, what you wind up doing is creating a wrapper DLL.
    Take a look at the JNI tutorial trail from Sun at http://java.sun.com/docs/books/tutorial/native1.1/index.html.

  • Calling multiple DLL from Java and calling same native method

    i have two dll files named DLL_1.dll and DLL_2.dll .
    Both of them contain a native method which has a signature
    JNIEXPORT void JNICALL Java_Database_Notify
    (JNIEnv *, jclass);
    This method is common to both the DLL
    Now i load both of the DLL's using,
    System.loadLibrary("DLL_1");
    System.loadLibrary("DLL_2");
    Both of the DLL are loaded form same Java Application
    But the problem is that , whenever i try to call the Notify Method , it calls the Notify method of DLL_1 only.
    How do i call the Notify Methos of second DLL(i.e DLL_2).
    Is there any reference that i can get to all the DLL files when i load then , so that i can use that reference to invoke the Notify method of that particular DLL.

    i have two dll files named DLL_1.dll and DLL_2.dll .
    Both of them contain a native method which has a
    signature
    JNIEXPORT void JNICALL Java_Database_Notify
    (JNIEnv *, jclass);
    This method is common to both the DLL
    Now i load both of the DLL's using,
    System.loadLibrary("DLL_1");
    System.loadLibrary("DLL_2");
    Both of the DLL are loaded form same Java
    Application
    But the problem is that , whenever i try to call the
    Notify Method , it calls the Notify method of DLL_1
    only.
    How do i call the Notify Methos of second DLL(i.e
    DLL_2).
    Is there any reference that i can get to all the DLL
    files when i load then , so that i can use that
    reference to invoke the Notify method of that
    particular DLL.You need to explain exactly what you are trying to achieve.
    As per the description above it is impossible in java.
    And I didn't say JNI, I said java.
    Your above statement suggests that you think that you can have exactly the same java signature do two different things.
    Note again that I said java not JNI.
    A JNI method is just a tag that represents a java signature. Your description suggests that you are attempting to do it twice.
    There are three possibilities.
    1. Your explanation is incomplete.
    2. You are trying to do something that is impossible in java.
    3. You are trying to solve a problem and your description of your solution is not sufficient to determine what that is (and of course the solution is wrong.)

Maybe you are looking for

  • Audio from Final Cut Pro very very low

    Hi guys I have not have a problem for awhile. A friend of mine recently move from DPS Velocity system to Final Cut Pro Studio 2 using a Intel Pro 3.2GHZ with all the bell and whistle, so I am giving him some training and tutorial. They have some foot

  • "Update was terminated" during VF01 after the invoice is save

    I am experiencing an error of "Update was terminated" during VF01 after the invoice is save. The Update terminations are displayed in transaction SM13. When I check the error is in the 'RV_MESSAGE_UPDATE' with the error text 'BF00 075: No entry found

  • My media has been deleted

    My media card fell out of my phone and when i put it back in all my music, videos, songs, pictures etc had been deleted and a message came up on the screen saying 'A Media Card has been inserted that is not formatted. Do you wish to format the Media

  • Can't activate windows after hard drive failure.

    I'm attempting to revive a less than year old laptop for a friend after a harddrive failure.... toshiba drive was dead dead. Has a windows 8 sticker on bottom so can only assume that's what it came with, but windows claims the product key stored in b

  • OSA script help in ARD...mouse click

    Hello, Lets say I want to use ARD (3.6.1) from my macbook air to click on a specific part of the screen on a 10.7.5 mac air.  I have found this osascript but it does not work. Lets say I want it to click at {330,220} in Pages. osascript -e 'tell appl