Msvcrtd.dl​l

Hello,
I am trying to open one sub VI that it use a .dll and I have the next error: LabView resource file not found the file MSVCRTD.dll
I have installed Visual Studio 2005 but I continue with the problem alyo I try to copy the dll files of my subVI in the next path:C:\\Windows\System32
Could someone help me please???
Thanks
Gonzalo

Hi Gonzalo,
please check the following link. Maybe this already solves your problem:
http://forums.ni.com/ni/board/message?board.id=170​&message.id=133220&requireLogin=False
Daniel Riedelbauch
NIG

Similar Messages

  • Java.lang.Class- getFields() results in JVM crash when called through JNI

    From a C++ application, I use Invocation APIs to create a JVM and call some Java methods using JNI
    I get a crash in jvm.dll with EXCEPTION_ACCESS_VIOLATION
    when I try to call "getFields" method of java.lang.Class in order to get the Fields of the java class
    This method call, should return a java/lang/reflect/Fields[] on success
    I am able to get the method ID of this method by using pEnv->GetMethodID(..)
    However, when I call this method using CallObjectMethod(..), HotSpt JVM crashes with access violation with the dump given below.
    Any clues on how to debug and find the problem?
    Or has anyone tried getting the fields of a Java class from C++ by calling reflection APIs uing JNI?
    Thanks in advance!
    Sample code
    jclass testerClass = pEnv->FindClass("com/test/Tester");
    jmethodID cid = pEnv->GetMethodID(testerClass,"<init>","()V");
    if(NULL == cid)
    pEnv->ExceptionDescribe();
    jobject testerObject = pEnv->NewObjectV(testerClass, mid);
    jmethodID mid = pEnv->GetMethodID(testerClass, "getClass",
                             "()Ljava/lang/Class;");
    jobject clsObj = (jobject)pEnv->CallObjectMethod(testerObject, mid);
    pEnv->ExceptionDescribe();
    jclass      jCls = pEnv->GetObjectClass(clsObj);
    jmethodID midGetFields = pEnv->GetMethodID(jCls, "getFields",
                                            "()[Ljava/lang/reflect/Field;");
    jobjectArray jobjArray = (jobjectArray)pEnv->CallObjectMethod(testerObject, midGetFields);
    pEnv->ExceptionDescribe();
    Crash dump
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x809E69F
    Function=JVM_FindSignal+0x11505
    Library=D:\Java\j2re1.4.2_03\bin\client\jvm.dll
    Current Java thread:
         at java.lang.Class.privateGetDeclaredFields(Unknown Source)
         at java.lang.Class.privateGetPublicFields(Unknown Source)
         at java.lang.Class.getFields(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      E:\SC\SC12.1\SCApplications\SNMP\Bin\JNITester.exe
    0x77F50000 - 0x77FF7000      C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000      C:\WINDOWS\system32\kernel32.dll
    0x10000000 - 0x10023000      E:\SC\SC12.1\SCApplications\SNMP\Bin\JniUtils.dll
    0x00320000 - 0x00332000      E:\SnmpIpmNativeTestDriver\MTFStubHelper.dll
    0x00340000 - 0x0035B000      E:\SnmpIpmNativeTestDriver\MTFXMLFileAPI.dll
    0x12000000 - 0x122B1000      e:\sc\sc12.1\bin\xerces-c_2_2_0D.dll
    0x77DD0000 - 0x77E5D000      C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x78086000      C:\WINDOWS\system32\RPCRT4.dll
    0x10200000 - 0x1026C000      e:\sc\sc12.1\bin\MSVCRTD.dll
    0x102A0000 - 0x102B7000      e:\sc\sc12.1\bin\MSVCIRTD.dll
    0x5F800000 - 0x5F8E9000      e:\sc\sc12.1\bin\MFC42uD.DLL
    0x77C70000 - 0x77CB0000      C:\WINDOWS\system32\GDI32.dll
    0x77D40000 - 0x77DCC000      C:\WINDOWS\system32\USER32.dll
    0x5F700000 - 0x5F746000      e:\sc\sc12.1\bin\MFCD42uD.DLL
    0x5F500000 - 0x5F5C6000      e:\sc\sc12.1\bin\MFCO42uD.DLL
    0x10480000 - 0x104FE000      e:\sc\sc12.1\bin\MSVCP60D.dll
    0x15020000 - 0x15042000      e:\sc\sc12.1\bin\SCTraceLib.dll
    0x6D510000 - 0x6D58D000      C:\WINDOWS\System32\dbghelp.dll
    0x77C10000 - 0x77C63000      C:\WINDOWS\system32\msvcrt.dll
    0x77C00000 - 0x77C07000      C:\WINDOWS\system32\VERSION.dll
    0x00360000 - 0x0037D000      e:\sc\sc12.1\bin\SCFileManager.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\System32\PSAPI.DLL
    0x00420000 - 0x00580000      e:\sc\sc12.1\bin\BctCoreCL.dll
    0x5D920000 - 0x5D929000      C:\WINDOWS\System32\RPCNS4.dll
    0x71B20000 - 0x71B31000      C:\WINDOWS\system32\MPR.dll
    0x71C20000 - 0x71C6E000      C:\WINDOWS\System32\NETAPI32.dll
    0x71AB0000 - 0x71AC5000      C:\WINDOWS\System32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\System32\WS2HELP.dll
    0x15000000 - 0x15012000      e:\sc\sc12.1\bin\CTEventLog.dll
    0x773D0000 - 0x77BC2000      C:\WINDOWS\system32\SHELL32.dll
    0x70A70000 - 0x70AD4000      C:\WINDOWS\system32\SHLWAPI.dll
    0x771B0000 - 0x772D1000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771AB000      C:\WINDOWS\system32\OLEAUT32.dll
    0x1F7A0000 - 0x1F7D6000      C:\WINDOWS\System32\ODBC32.dll
    0x77340000 - 0x773CB000      C:\WINDOWS\system32\COMCTL32.dll
    0x763B0000 - 0x763F5000      C:\WINDOWS\system32\comdlg32.dll
    0x08000000 - 0x08138000      D:\Java\j2re1.4.2_03\bin\client\jvm.dll
    0x76B40000 - 0x76B6C000      C:\WINDOWS\System32\WINMM.dll
    0x5FD00000 - 0x5FD0D000      C:\WINDOWS\System32\MFC42LOC.DLL
    0x71950000 - 0x71A34000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
    0x1F840000 - 0x1F857000      C:\WINDOWS\System32\odbcint.dll
    0x5DAC0000 - 0x5DAC7000      C:\WINDOWS\System32\rdpsnd.dll
    0x00FE0000 - 0x00FE7000      D:\Java\j2re1.4.2_03\bin\hpi.dll
    0x01000000 - 0x0100E000      D:\Java\j2re1.4.2_03\bin\verify.dll
    0x01010000 - 0x01029000      D:\Java\j2re1.4.2_03\bin\java.dll
    0x01030000 - 0x0103D000      D:\Java\j2re1.4.2_03\bin\zip.dll
    0x76C90000 - 0x76CB2000      C:\WINDOWS\system32\imagehlp.dll
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 132K [0x15050000, 0x150f0000, 0x15530000)
    eden space 512K, 25% used [0x15050000, 0x15071250, 0x150d0000)
    from space 64K, 0% used [0x150d0000, 0x150d0000, 0x150e0000)
    to space 64K, 0% used [0x150e0000, 0x150e0000, 0x150f0000)
    tenured generation total 1408K, used 0K [0x15530000, 0x15690000, 0x19050000)
    the space 1408K, 0% used [0x15530000, 0x15530000, 0x15530200, 0x15690000)
    compacting perm gen total 4096K, used 964K [0x19050000, 0x19450000, 0x1d050000)
    the space 4096K, 23% used [0x19050000, 0x191410e0, 0x19141200, 0x19450000)
    Local Time = Wed Aug 25 21:06:44 2004
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)

    You are right, I tried getting the java.lang.Class reference for the com.test.Tester by calling getClass() on com.test.Tester
    And using this jclass reference for java.lang.Class, I tried getting the method ID of getFields and eventually the Field[]
    Thanks for the help
    I have some more questions.
    Assumption - Using JNI, I got the fields array of com.test.Tester and I am iterating through the fields
    1.Assuming that the Tester class had an Integer field say m_nIntVal, then once I get the jobject equivalent of this Field in C++.
    Now I need to get the type of the field (I call the method java.lang.reflect.getType() from JNI)
    This gives me a jclass reference to it's type i.e java.lang.Integer
    2.I need to get the name of this type i.e I want to get the name of the type in a string as "java.lang.Integer"
    For this, on the jclass reference of java.lang.Integer got in Step 1, I call getClass() from JNI (to get the java.lang.Class) and then getName()
    Now, for calling getClass(), I need a temporary object reference corresponding to the jclass of java.lang.Integer, The problem is that Integer does not have a default constructor, so my call to create the jobject fails.
    But, since I do not know that I am constructing an Integer (remember that is what I am trying to find out - getType), I cant pass any values to constructor
    Now, how do I go about creating a jobject of Integer, without knowing that I am constructing that, as this does not have a default constructor without parameters
    Also, I tried using AllocObject to get the jobject and then tried to get the method ID of getClass(). Even this failed
    3. If the com.test.Tester class had a primitive "int" field, say m_nPrimitiveInt
    for which java provides a Class representation, I am able to get the jclass reference to the type of m_nPrimitiveInt
    Now, how do I get the name of the type as "int" in a string?
    Forllowing a similar procedure like in Step 2 fails when I try to pass the jclass reference to the type of m_nPrimitiveInt to the GetMethodID
    with the error FATAL ERROR in native method: JNI received a class argument that is not a class
    Can you tell me what is the way out?
    Thanks in advance,
    Also, can I mail you with some doubts that I have? If its ok, please contact me at [email protected]

  • GetString with Visual C++ MFC

    Hi everyone,
    I have tried to use the demo codes released by Oracle. It works correctly under the DOS mode when I fetch the string data from the ResultSet.
    However, when I use the codes with a MFC GUI interface, I can not get the string result from the same ResultSet. I get the error message ---assert failure.
    Does the occi just work under DOS mode, not with the MFC GUI interface.
    Is there anyone who has solved the similar problem before, and please give me a help.
    Thanks a lot
    Maivis

    If you are using the Debug build configuration under MSVC, then you need to link with the OCCI dll linked with MSVCRTD.DLL. This is oraocci9d.lib/oraocci10d.lib and is available under %ORACLE_HOME%\oci\lib\msvc\vc6 (or vc7).
    Regards.

  • How to make a driver using DLL in LabVIEW?

    I had followed the "Using Exteranal Code in LabVIEW" manual having finished the making dll file, and the lsb file(I attempted that two ways). But when I load the code in LabVIEW, it can't work. I don't know what had happened, I only got a error message like this:"'0x100014f1'commond call memory'0x00000000',this memory can't be written" or other similar error message, if I push the "enter" button, the vi application which I having lunched will crash. If I push the "cancel" button, the debug model will start,and the next message is "Unhandle exception in LabVIEW.exe(MSVCRTD.DLL/LVS95.TMP/COUNTER.DLL(the last one is creat by myself)):0xC0000005:Access Violation", but I wonder what had cause this? My DLL had been made successf
    ully under the VC++6.0, why LabVIEW can't call it fluently? How to make a driver for my own device using LabVIEW? How to correct my error to finished my hole work? Thank you very much. Jacky Wei
    Attachments:
    counter1.rar ‏33 KB

    1. Can you call this DLL from within VC?
    2. What operation system do you use? There may be a problem with calling of win95 dll under NT or win2000 for example.
    3. If you use NT you may not have permissions to work with some ports and memory areas.
    4. Under NT or win200 try to compile the library as a 32-bit dll, and under win95 - as 16-bit one.
    Good luck.
    Oleg Chutko

  • CS3 link error

    3>LIBCMT.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@QAE@ABV01@@Z) already defined in Public.lib(Public.dll)
    3>LIBCMT.lib(stdexcpt.obj) : error LNK2005: "public: virtual char const * __thiscall std::exception::what(void)const " (?what@exception@std@@UBEPBDXZ) already defined in Public.lib(Public.dll)
    3>msvcrtd.lib(MSVCR80D.dll) : error LNK2005: _wcslen already defined in LIBCMT.lib(wcslen.obj)
    In Release model build ok,no error,but in debug model link error! Why?

    i had resolve this problem. set "code generation"-"mDd",just ok.

  • Error building dll

    I am getting the following error when I try to build the dll in VC++.
    "Linking...
       Creating library Debug/winport.lib and object Debug/winport.exp
    LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs;
    use /NODEFAULTLIB:library
    MSVCRTD.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main
    Debug/winport.exe : fatal error LNK1120: 1 unresolved externals
    Error executing link.exe."
    Can anyone help me to get rid of this problem?
    Thanx & Regards,
    Srini.

    srini,
    Are you trying to use the dll in LabVIEW and getting the error from LabVIEW?  If you are using Measurement Studio there is a seperate discussion forum for those issues.  The MSVCRT is a Microsoft Visual C Run Time library.  This thread explains it a little better: MSVCRT.dll
    If you are trying to create C++ dlls to be used in LabVIEW you may need to create wrappers if you are using certain classes.  Here is some more information on calling dlls in LabVIEW An Overview of Accessing DLLs or Shared Libraries from LabVIEW
    Sam R.
    Applications Engineer
    National Instruments
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • C++ samples from the SMP

    Hi all,
    I have downloaded the c++ examples from the SMP.  I have compiled it successfully but when I go to run in debug I get the following output.
    Loaded 'C:\WINNT\system32\ntdll.dll', no matching symbolic information found.
    Loaded symbols for 'C:\WINNT\system32\MFC42D.DLL'
    Loaded symbols for 'C:\WINNT\system32\MSVCRTD.DLL'
    Loaded 'C:\WINNT\system32\KERNEL32.DLL', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\GDI32.DLL', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\USER32.DLL', no matching symbolic information found.
    Loaded symbols for 'C:\WINNT\system32\MFCO42D.DLL'
    Loaded 'C:\WINNT\system32\OLE32.DLL', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\rpcrt4.dll', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\ADVAPI32.DLL', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\OLEAUT32.DLL', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\comctl32.dll', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\MSCTF.DLL', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\clbcatq.dll', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\msvcrt.dll', no matching symbolic information found.
    Loaded 'C:\WINNT\system32\msi.dll', no matching symbolic information found.
    First-chance exception in BE_UI_Calculator.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.
    First-chance exception in BE_UI_Calculator.exe: 0xC0000005: Access Violation.
    First-chance exception in BE_UI_Calculator.exe: 0xC0000005: Access Violation.
    The thread 0x658 has exited with code 128 (0x80).
    The thread 0x740 has exited with code 128 (0x80).
    The thread 0x410 has exited with code 128 (0x80).
    The thread 0xA34 has exited with code 128 (0x80).
    The program 'C:\downloadsource\SMP\samples\C++ 6.0 Sample Programs 6-2 1-1\C++6.0\BE_UI_Calculator\Debug\BE_UI_Calculator.exe' has exited with code 128 (0x80).
    When I try an execute it I get abnormal program termination.
    Can anyone help!
    Cormac

    What enviromet are you useing(visual studio .net?)
    What verson of sbo are you using it against? (6.5 or 2004)
    I got something similar and the problem was that the path to the sbo gui api was wrong and then I had to do a “buld clean” after that everything worked. But I think you problem is a little more difficult.

  • Unresolved symbols while linking

    Hello all,
    I'm toying around with oo4o and I'm having a linking problem. I'm working in VS.NET 2003.
    I added the directories for headers, excutables, libraries, etc. At first I had 9 unresolved symbol errors, but I got it down to 2 by remembering to link with oraclm32.lib (debug copy). Not sure why those 2 errors are still there. My test function is basically the first sample in the Help docs, something like this:
         OStartup();
         ODatabase odb("ora9", "username", "passwd");
         ODynaset odyn(odb, "select * from emp");
         double salary;
         while (!odyn.IsEOF())
         odyn.GetFieldValue("sal", &salary);
    odyn.MoveNext();
         OShutdown();
    The relevant parts of the buildlog. Once I added the additional command line option to link with oraclm32, everything resolved except references to OStartup and OShutdown. Seems odd. Any ideas?
    Buildlog:
    Searching libraries
    Searching C:\oracle\ora92\oo4o\CPP\LIB\oraclm32.lib:
    Found "__declspec(dllimport) public: virtual __thiscall ODatabase::~ODatabase(void)" (__imp_??1ODatabase@@UAE@XZ)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    Found "__declspec(dllimport) public: virtual __thiscall ODynaset::~ODynaset(void)" (__imp_??1ODynaset@@UAE@XZ)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    Found "__declspec(dllimport) public: int __thiscall ODynaset::MoveNext(int)" (__imp_?MoveNext@ODynaset@@QAEHH@Z)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    Found "__declspec(dllimport) public: int __thiscall ODynaset::GetFieldValue(char const *,double *)const " (__imp_?GetFieldValue@ODynaset@@QBEHPBDPAN@Z)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    Found "__declspec(dllimport) public: int __thiscall ODynaset::IsEOF(void)const " (__imp_?IsEOF@ODynaset@@QBEHXZ)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    Found "__declspec(dllimport) public: __thiscall ODynaset::ODynaset(class ODatabase const &,char const *,long,class OSnapshotID *)" (__imp_??0ODynaset@@QAE@ABVODatabase@@PBDJPAVOSnapshotID@@@Z)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    Found "__declspec(dllimport) public: __thiscall ODatabase::ODatabase(char const *,char const *,char const *,long)" (__imp_??0ODatabase@@QAE@PBD00J@Z)
    Referenced in Dataconnect.obj
    Loaded oraclm32.lib(ORACLM32.dll)
    SNIP
    Dataconnect.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __fastcall OShutdown(void)" (__imp_?OShutdown@@YIXXZ) referenced in function "long __fastcall PostData(char *)" (?PostData@@YIJPAD@Z)
    Dataconnect.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) int __fastcall OStartup(int)" (__imp_?OStartup@@YIHH@Z) referenced in function "long __fastcall PostData(char *)" (?PostData@@YIJPAD@Z)

    Hi Guys,
    I got this error too recently. Was troubling me a lot. I was using Windows 7 OS, Visual Studio 2010 compiler.
    The fix for this is pretty much straight forward and solution lies in the Project settings only.
    To my knowledge, with /MDd switch, it causes the compiler to place the library name MSVCRTD.lib into the .obj file.
    But with /MTd switch, This option just causes the compiler to place the library name LIBCMTD.lib into the .obj file so that the linker will use LIBCMTD.lib to resolve external symbols. For details, please refer to this MSDN article:
    https://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.71).aspx
    Its very useful.
    Also
    MDd stands for Multi-threaded Debug DLL
    MTd stands for Multi-threaded Debug
    Thanks,
    Kiran

  • MSVCRT.dll

    In trying to create the averaging example referencing an external dll in a VI, I receive an error that "This application has failed to start b/c MSVCRT.dll was not found" after i close the "configure" dialog after specifying the path to myshared.dll. I've searched my computer and cannot find MSVCRTD anywhere. Can someone tell me what this does and where i might find it?

    nbort;
    To the best of my knowledge, the "D" in "MSVCRTD" stand for "Debug". When you compile an application in Microsoft VC++, it first uses "debug" dll files that facilitates debugging your application. "Debug" dll are bigger than regular dlls. Once you finish your application and you know it work as expected, you need to re-compile it as a "release" application.
    As stated by tbob, that file is part of Microsoft's VC++. Probably you can just copy the dll from a computer with VC++, however if it depends on other "D" dlls, you may run into all sort of troubles. My suggestion will be to recompile the external dll as the release version (to do that in VC++, make sure you have the "Build" toolbar open. Change "Active configuration" from Win32 Debug" to Win3
    2 Release" and recompile.)
    Regards;
    Enrique Vargas
    www.visecurity.com
    www.vartortech.com

  • RFID Reader,optional with programmable logic controllers to streamline RFID

    RFID is used to automate the process of capturing batch production information for lot tracking. This eliminates the manual scanning typically required with a bar code solution through the use of container and location-based RFID tags interacting with readers on material-handling equipment.
    RFID Reader(interrogator) is a vital RFID system component. A transmitter/receiver that reads the contents of RFID tags in the vicinity. Also called an "RFID interrogator." The maximum distance between the reader's antenna and the tag vary, depending on application.
    In addition, readers can be fitted with an additional interface that converts the radio waves returned from the RFID tag into a form that can then be passed on to another system, like a computer or any programmable logic controller.
    Generally speaking, RFID readers can be divided into two kinds by data collection features. One what is called smart RFID reader with advanced data collection features u2014 such as filtering of redundant tag data, is capable of controlling peripheral devices based on data read from the tag. Another what is called simple RFID reader with a lower price, is need to attach to a separate local server or a programmable logic controller for local decision making.
    The DAILY RFID(company name) series includes RFID readers for almost any application. For a full catalog of DAILY RFID durable RFID Readers and tags, kindly visit http://www.rfid-in-china.com/products_687_1.html.
    Edited by: Jack Pan on Sep 26, 2008 3:16 PM

    Problem is I wasn't compiling libnfc with my code. I've been able to use Visual Studio to compile a C file that uses libnfc (and libusb), but when I adapt the code to work with JNI, changing the main to:
    JNIEXPORT jstring JNICALL Java_libnfc_Main_nativeTagID(JNIEnv *env, jobject obj) (for example)
    I'm getting an error related to the libNFCNative.h. This file is supposed to aid in the creation of the dll file that the Java then uses to call functions from C.
    The .h file has:
    /* DO NOT EDIT THIS FILE - it is machine generated */
    #include <jni.h>
    /* Header for class libnfc_Main */
    #ifndef _Included_libnfc_Main
    #define _Included_libnfc_Main
    #ifdef __cplusplus
    extern "C" {
    #endif
    * Class:     libnfc_Main
    * Method:    nativeTagID
    * Signature: ()Ljava/lang/String;
    JNIEXPORT jstring JNICALL Java_libnfc_Main_nativeTagID
     (JNIEnv *, jobject);
    #ifdef __cplusplus
    #endif
    #endifThe error is as follows:
    ------ Build started: Project: nfc-list, Configuration: Debug Win32 ------
    Linking...
      Creating library C:\Documents and Settings\Augusto\Desktop\libnfc-1.2.1-vs2005\vc-project\Debug\libNFCNative.lib and object C:\Documents and Settings\Augusto\Desktop\libnfc-1.2.1-vs2005\vc-project\Debug\libNFCNative.exp
    MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
    C:\Documents and Settings\Augusto\Desktop\libnfc-1.2.1-vs2005\vc-project\Debug\libNFCNative.dll : fatal error LNK1120: 1 unresolved externalsI've tried SWIG instead of JNI, but I'm having the exactly same error in Visual Studio. Anyone knows the reason for this error?

  • Berkeley DB

    Dear Ron,
    Hi,
    I have two databases that are created using Berkeley
    DB, I need to merge these two databases into one
    database. could you please tell me what is the fastest
    way to do so?
    currently, I am using the following method :
    open the first database, search each key in the first
    database in the second database, merge the data of
    both keys and rewrite the data on the second database
    but the speed is slow... I read about Cursor (Join
    Union , Intersection ..) but I am not sure if those
    operation are the best to get the best speed of
    merging???
    thank you for your help.
    Best Regards,
    Ahmad

    Hi Alex,
    Thank you for your quick response, I will adjust the database configuration (the pge size and the cache size) and I will inform you about the result as soon as possible.
    now I have another problem :
    I run the following code and I got the error shown after the end of this code:
    package dbmerging;
    import java.io.FileNotFoundException;
    import com.sleepycat.db.LockMode;
    import com.sleepycat.db.OperationStatus;
    import com.sleepycat.db.Database;
    import com.sleepycat.db.DatabaseConfig;
    import com.sleepycat.db.DatabaseType;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.Environment;
    import com.sleepycat.db.EnvironmentConfig;
    import com.sleepycat.db.DatabaseEntry;
    import com.sleepycat.db.Cursor;
    import com.sleepycat.db.CursorConfig;
    import com.sleepycat.db.DatabaseException;
    import com.sleepycat.db.MessageHandler;
    import java.io.File;
    import java.io.*;
    import java.net.*;
    import com.sleepycat.db.*;
    public class Merging2DB {
    public Merging2DB() {
    class StringEntry extends DatabaseEntry {
    StringEntry() {
    StringEntry(String value) {
    setString(value);
    void setString(String value) {
    byte[] data = value.getBytes();
    setData(data);
    setSize(data.length);
    String getString() {
    return new String(getData(), getOffset(), getSize());
    String moddata="";
    long sttime=0;
    long entime=0;
    long eltime =0 ;
    /// try {
    Cursor cursor =null;
    Environment myDbE = null;
    Environment myDbE1= null;
    Database dbin = null;
    Database dbout=null;
    File envHome= new File("/database2006/index1");
    File envHome1= new File("/database2006/index2");
    String dbFileName = new String ("mydb.db");
    try { // 1
    // Open the environment. Create it if it does not already exist.
    EnvironmentConfig envConfig = new EnvironmentConfig();
    envConfig.setAllowCreate(true);
    //envConfig.setCacheSize(131072);
    // envConfig.setCacheSize(1048576);
    envConfig.setCacheSize(2097152);
    envConfig.setInitializeCache(true);
    // Open the database. Create it if it does not already exist.
    DatabaseConfig dbConfig = new DatabaseConfig();
    dbConfig.setAllowCreate(true);
    // dbConfig.setPageSize(32768);
    dbConfig.setPageSize(8192);
    dbConfig.setType(DatabaseType.BTREE);
    myDbE = new Environment(envHome, envConfig);
    myDbE1= new Environment(envHome1, envConfig);
    // dbConfig.setSortedDuplicates(false);
    dbin = myDbE.openDatabase(null, dbFileName,null, dbConfig);
    dbout= myDbE1.openDatabase(null, dbFileName,null, dbConfig);
    }//end try
    catch(Exception e){System.out.println(e);}
    sttime = System.currentTimeMillis();
    StringEntry foundKey = new StringEntry();
    StringEntry foundData = new StringEntry();
    try {
    cursor = dbout.openCursor(null,null);
    while (cursor.getNext(foundKey, foundData, LockMode.DEFAULT) ==
    OperationStatus.SUCCESS) {
    String theKey = foundKey.getString();
    String theData = foundData.getString();
    try {
    StringEntry searchdata = new StringEntry();
    if (dbin.get(null, foundKey, searchdata,
    LockMode.DEFAULT) ==
    OperationStatus.SUCCESS) {
    String retData = searchdata.getString();
    // System.out.println("ret data= "+ retData);
    moddata = retData +theData;
    else moddata = theData;
    try{
    StringEntry updata = new StringEntry(moddata);
    dbin.put(null,foundKey,updata);
    }catch(DatabaseException dbe){System.out.println(dbe);}
    catch (Exception e1) {System.out.println(e1);}
    catch(DatabaseException dbe) {System.out.println(dbe);}
    entime = System.currentTimeMillis();
    eltime = entime - sttime;
    System.out.println("\n eltime = " + eltime);
    String etime = "";
    etime = String.valueOf(eltime);
    String wrp = "d://database2006//TimeMerging.txt";
    try{
    BufferedWriter br = new BufferedWriter(new FileWriter(wrp, true));
    br.write("time of Merging = " + etime);
    br.newLine();
    br.close();
    }catch(IOException e) { System.out.println(e);}
    try {
    if(cursor !=null) cursor.close();
    if(myDbE !=null) myDbE.close();
    if(myDbE1 !=null) myDbE1.close();
    if(dbin !=null) dbin.close();
    if(dbout !=null) dbout.close();
    }catch(DatabaseException dbex){}
    System.out.println("\n End of Merging.....");
    public static void main(String[] args) {
    Merging2DB merging2DB1 = new Merging2DB();
    The error is :
    java.lang.NullPointerException
         at java.lang.String.checkBounds(String.java:286)
         at java.lang.String.<init>(String.java:370)
         at dbmerging.Merging2DB$1$StringEntry.getString(Merging2DB.java:42)
         at dbmerging.Merging2DB.<init>(Merging2DB.java:90)
         at dbmerging.Merging2DB.main(Merging2DB.java:142)
    Also when I defined a cursor to iterate over the same database above (index1)
    the following error occurs :
    "Database handles still open at environment close
    Open database handle: mydb.db"
    "An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x2DCF723
    Function=_db_add_recovery+0x442F
    Library=D:\db-4.4.20.tar\db-4.4.20\build_win32\Debug\libdb44d.dll
    Current Java thread:
         at com.sleepycat.db.internal.db_javaJNI.Dbc_close0(Native Method)
         at com.sleepycat.db.internal.Dbc.close0(Dbc.java:43)
         at com.sleepycat.db.internal.Dbc.close(Dbc.java:37)
         - locked <0x10055720> (a com.sleepycat.db.internal.Dbc)
         at com.sleepycat.db.Cursor.close(Cursor.java:36)
         - locked <0x100532e0> (a com.sleepycat.db.Cursor)
         at dbmerging.CursorExample.<init>(CursorExample.java:83)
         at dbmerging.CursorExample.main(CursorExample.java:94)
    Dynamic libraries:
    0x00400000 - 0x00407000      C:\jbuilderx\jdk1.4\bin\javaw.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\MSVCRT.dll
    0x629C0000 - 0x629C9000      C:\WINDOWS\system32\LPK.DLL
    0x74D90000 - 0x74DFB000      C:\WINDOWS\system32\USP10.dll
    0x08000000 - 0x08136000      C:\jbuilderx\jdk1.4\jre\bin\client\jvm.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000      C:\jbuilderx\jdk1.4\jre\bin\hpi.dll
    0x00940000 - 0x0094E000      C:\jbuilderx\jdk1.4\jre\bin\verify.dll
    0x00950000 - 0x00968000      C:\jbuilderx\jdk1.4\jre\bin\java.dll
    0x00970000 - 0x0097D000      C:\jbuilderx\jdk1.4\jre\bin\zip.dll
    0x02D60000 - 0x02D7F000      D:\db-4.4.20.tar\db-4.4.20\build_win32\Debug\libdb_java44d.dll
    0x02D80000 - 0x02EA1000      D:\db-4.4.20.tar\db-4.4.20\build_win32\Debug\libdb44d.dll
    0x02EB0000 - 0x02F10000      C:\WINDOWS\system32\MSVCRTD.dll
    0x02F10000 - 0x02F8E000      C:\WINDOWS\system32\MSVCP60D.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\imagehlp.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 358K [0x10010000, 0x100b0000, 0x104f0000)
    eden space 512K, 57% used [0x10010000, 0x100598c0, 0x10090000)
    from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
    to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
    tenured generation total 1408K, used 42K [0x104f0000, 0x10650000, 0x14010000)
    the space 1408K, 3% used [0x104f0000, 0x104fa9a8, 0x104faa00, 0x10650000)
    compacting perm gen total 4096K, used 1278K [0x14010000, 0x14410000, 0x18010000)
    the space 4096K, 31% used [0x14010000, 0x1414f848, 0x1414fa00, 0x14410000)
    Local Time = Sat Aug 05 15:53:58 2006
    Elapsed Time = 0
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
    # An error report file has been saved as hs_err_pid3144.log.
    # Please refer to the file for further information.
    Exception in thread "main"
    I checked for the existance of a key stored in the database which is ="" or null, and I found one key="". I do not know if this cause the abovbe problem or not?
    Best regards,
    Ahmad.
    Message was edited by:
    user525205

  • HOTSPOT JVM crash with EXCEPTION_ACCESS_VIOLATION

    From a C++ application, I use Invocation APIs to create a JVM and call some Java methods using JNI
    I get a crash in jvm.dll with EXCEPTION_ACCESS_VIOLATION
    when I try to call "getFields" method of java.lang.Class in order to get the Fields of the java class
    This method call, should return a java/lang/reflect/Fields[] on success
    I am able to get the method ID of this method by using pEnv->GetMethodID(..)
    However, when I call this method using CallObjectMethod(..), HotSpt JVM crashes with access violation with the dump given below.
    Any clues on how to debug and find the problem?
    Thanks in advance!
    Sample code
    jclass testerClass = pEnv->FindClass("com/test/Tester");
    jmethodID cid = pEnv->GetMethodID(testerClass,"<init>","()V");
    if(NULL == cid)
    pEnv->ExceptionDescribe();
    jobject testerObject = pEnv->NewObjectV(testerClass, mid);
    jmethodID mid = pEnv->GetMethodID(testerClass, "getClass",
                             "()Ljava/lang/Class;");
    jobject clsObj = (jobject)pEnv->CallObjectMethod(testerObject, mid);
    pEnv->ExceptionDescribe();
    jclass      jCls = pEnv->GetObjectClass(clsObj);
    jmethodID midGetFields = pEnv->GetMethodID(jCls, "getFields",
                                            "()[Ljava/lang/reflect/Field;");
    jobjectArray jobjArray = (jobjectArray)pEnv->CallObjectMethod(testerObject, midGetFields);
    pEnv->ExceptionDescribe();
    Crash dump
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x809E69F
    Function=JVM_FindSignal+0x11505
    Library=D:\Java\j2re1.4.2_03\bin\client\jvm.dll
    Current Java thread:
         at java.lang.Class.privateGetDeclaredFields(Unknown Source)
         at java.lang.Class.privateGetPublicFields(Unknown Source)
         at java.lang.Class.getFields(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      E:\SC\SC12.1\SCApplications\SNMP\Bin\JNITester.exe
    0x77F50000 - 0x77FF7000      C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000      C:\WINDOWS\system32\kernel32.dll
    0x10000000 - 0x10023000      E:\SC\SC12.1\SCApplications\SNMP\Bin\JniUtils.dll
    0x00320000 - 0x00332000      E:\SnmpIpmNativeTestDriver\MTFStubHelper.dll
    0x00340000 - 0x0035B000      E:\SnmpIpmNativeTestDriver\MTFXMLFileAPI.dll
    0x12000000 - 0x122B1000      e:\sc\sc12.1\bin\xerces-c_2_2_0D.dll
    0x77DD0000 - 0x77E5D000      C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x78086000      C:\WINDOWS\system32\RPCRT4.dll
    0x10200000 - 0x1026C000      e:\sc\sc12.1\bin\MSVCRTD.dll
    0x102A0000 - 0x102B7000      e:\sc\sc12.1\bin\MSVCIRTD.dll
    0x5F800000 - 0x5F8E9000      e:\sc\sc12.1\bin\MFC42uD.DLL
    0x77C70000 - 0x77CB0000      C:\WINDOWS\system32\GDI32.dll
    0x77D40000 - 0x77DCC000      C:\WINDOWS\system32\USER32.dll
    0x5F700000 - 0x5F746000      e:\sc\sc12.1\bin\MFCD42uD.DLL
    0x5F500000 - 0x5F5C6000      e:\sc\sc12.1\bin\MFCO42uD.DLL
    0x10480000 - 0x104FE000      e:\sc\sc12.1\bin\MSVCP60D.dll
    0x15020000 - 0x15042000      e:\sc\sc12.1\bin\SCTraceLib.dll
    0x6D510000 - 0x6D58D000      C:\WINDOWS\System32\dbghelp.dll
    0x77C10000 - 0x77C63000      C:\WINDOWS\system32\msvcrt.dll
    0x77C00000 - 0x77C07000      C:\WINDOWS\system32\VERSION.dll
    0x00360000 - 0x0037D000      e:\sc\sc12.1\bin\SCFileManager.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\System32\PSAPI.DLL
    0x00420000 - 0x00580000      e:\sc\sc12.1\bin\BctCoreCL.dll
    0x5D920000 - 0x5D929000      C:\WINDOWS\System32\RPCNS4.dll
    0x71B20000 - 0x71B31000      C:\WINDOWS\system32\MPR.dll
    0x71C20000 - 0x71C6E000      C:\WINDOWS\System32\NETAPI32.dll
    0x71AB0000 - 0x71AC5000      C:\WINDOWS\System32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\System32\WS2HELP.dll
    0x15000000 - 0x15012000      e:\sc\sc12.1\bin\CTEventLog.dll
    0x773D0000 - 0x77BC2000      C:\WINDOWS\system32\SHELL32.dll
    0x70A70000 - 0x70AD4000      C:\WINDOWS\system32\SHLWAPI.dll
    0x771B0000 - 0x772D1000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771AB000      C:\WINDOWS\system32\OLEAUT32.dll
    0x1F7A0000 - 0x1F7D6000      C:\WINDOWS\System32\ODBC32.dll
    0x77340000 - 0x773CB000      C:\WINDOWS\system32\COMCTL32.dll
    0x763B0000 - 0x763F5000      C:\WINDOWS\system32\comdlg32.dll
    0x08000000 - 0x08138000      D:\Java\j2re1.4.2_03\bin\client\jvm.dll
    0x76B40000 - 0x76B6C000      C:\WINDOWS\System32\WINMM.dll
    0x5FD00000 - 0x5FD0D000      C:\WINDOWS\System32\MFC42LOC.DLL
    0x71950000 - 0x71A34000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
    0x1F840000 - 0x1F857000      C:\WINDOWS\System32\odbcint.dll
    0x5DAC0000 - 0x5DAC7000      C:\WINDOWS\System32\rdpsnd.dll
    0x00FE0000 - 0x00FE7000      D:\Java\j2re1.4.2_03\bin\hpi.dll
    0x01000000 - 0x0100E000      D:\Java\j2re1.4.2_03\bin\verify.dll
    0x01010000 - 0x01029000      D:\Java\j2re1.4.2_03\bin\java.dll
    0x01030000 - 0x0103D000      D:\Java\j2re1.4.2_03\bin\zip.dll
    0x76C90000 - 0x76CB2000      C:\WINDOWS\system32\imagehlp.dll
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 132K [0x15050000, 0x150f0000, 0x15530000)
    eden space 512K, 25% used [0x15050000, 0x15071250, 0x150d0000)
    from space 64K, 0% used [0x150d0000, 0x150d0000, 0x150e0000)
    to space 64K, 0% used [0x150e0000, 0x150e0000, 0x150f0000)
    tenured generation total 1408K, used 0K [0x15530000, 0x15690000, 0x19050000)
    the space 1408K, 0% used [0x15530000, 0x15530000, 0x15530200, 0x15690000)
    compacting perm gen total 4096K, used 964K [0x19050000, 0x19450000, 0x1d050000)
    the space 4096K, 23% used [0x19050000, 0x191410e0, 0x19141200, 0x19450000)
    Local Time = Wed Aug 25 21:06:44 2004
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)

    Hi
    How about running it with -Xcheck:jni and -verbose:jni

  • Linker error 2005 when using member variable of type CNiGraph in CW++

    Hi,
    when I try to use a member variable of type CNiGraph I receive linker errors LNK2005, e.g.:
    msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __CrtDbgReport already defined in libcmtd.lib(dbgrpt.obj)
    The project was created with the NI Measurement AppWizard.
    CW Version 3.0.1(549)
    OS: Windows 2000
    Thank you for your help.
    Uwe Gratzke

    This really isn't enough info about your project to give a definative answer, but one possibility is that you could have set up your project to be statically linking to the MFC libraries which we don't support. It could be a lot of other possibilities also. If you would like, you could have our support engineers help you with the project by sending it to us via http://www.ni.com/ask.
    Best Regards,
    Chris Matthews
    Measurment Studio Support Manager

  • Unresolved external symbols when linking C++ with ni.4882.obj

    Moving from 32-bit XP to Windows 7 using Microsoft Visual Studio 2008 C++.  When linking with NI-488.2 version 3.0.2 I (ni4882.obj) get the following warning and errors:
    1>Linking...
    1>ni4882.obj : warning LNK4217: locally defined symbol _time64 imported in function time
    1>ni4882.obj : error LNK2019: unresolved external symbol __imp_rand referenced in function LoadFunction
    1>ni4882.obj : error LNK2019: unresolved external symbol __imp_srand referenced in function LoadFunction
    1>ATP.exe : fatal error LNK1120: 2 unresolved externals
    1>Creating browse information file...
    1>Microsoft Browse Information Maintenance Utility Version 9.00.21022
    1>Copyright (C) Microsoft Corporation. All rights reserved.
    Any ideas.
    Solved!
    Go to Solution.

    Hi Guys,
    I got this error too recently. Was troubling me a lot. I was using Windows 7 OS, Visual Studio 2010 compiler.
    The fix for this is pretty much straight forward and solution lies in the Project settings only.
    To my knowledge, with /MDd switch, it causes the compiler to place the library name MSVCRTD.lib into the .obj file.
    But with /MTd switch, This option just causes the compiler to place the library name LIBCMTD.lib into the .obj file so that the linker will use LIBCMTD.lib to resolve external symbols. For details, please refer to this MSDN article:
    https://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.71).aspx
    Its very useful.
    Also
    MDd stands for Multi-threaded Debug DLL
    MTd stands for Multi-threaded Debug
    Thanks,
    Kiran

  • EP 6.0 J2EE Server Job Will Not Start

    Yesterday I was trying to install Adobe Document Services on EP 6.0 SP11 and during the process of restarting the J2EE server the job hung so I cancelled it and retried the process again only to have it hang again.  Now I cannot get the J2EE server jobs to start at all.  The jobs stop during the step of synchronizing binaries.  
    I wonder if anyone has had this issues and what steps were taken to corrent it.
    Here is a copy of the bootstrap text.
    Bootstrap MODE:
    <INSTANCE GLOBALS>
    determined by parameter [ID0040811].
    Missing RunningMode property - runningin NORMAL mode.
    Instance [ID40811] will run in [NORMAL] mode, performing action [NONE]
    Synchronizing file [.\.hotspot_compiler].
    ...Done!
    Synchronizing file [..\..\SDM\program\.hotspot_compiler].
    ...Done!
    Synchronizing native files...
    Synchronizing file [.\..\os_libs\msvcirtd.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\msvcp60d.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\FontManagerService_native.zip].
    Synchronizing file [.\..\os_libs\omniDynamic403_rt.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\msvcrt.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\omniORB403_rt.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\XMLFormService_native.zip].
    ...Done!
    Synchronizing file [.\..\os_libs\omnithread30_rtd.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\asn.er.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\PDFManipulation_native.zip].
    ...Done!
    Synchronizing file [.\..\os_libs\msvcp60.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\rscp4j.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\bsld.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\rscp4j.pdb].
    ...Done!
    Synchronizing file [.\..\os_libs\msvcrtd.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\msvcirt.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\omnithread30_rt.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\omniDynamic403_rtd.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\omniORB403_rtd.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\jmon.dll].
    ...Done!
    Synchronizing file [.\..\os_libs\bsl.dll].
    ...Done!
    Exception occured:
    com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native files for instance [ID40811]!
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:203)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:830)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
         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:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.getStream(PersistentDataInputStream.java:84)
         at com.sap.engine.core.configuration.impl.PersistentDataInputStream.read(PersistentDataInputStream.java:135)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:180)
         at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:165)
         at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.java:118)
         at com.sap.engine.bootstrap.Bootstrap.getOSDependentFiles(Bootstrap.java:614)
         at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.java:193)
         at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:830)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
         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:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    [Bootstrap module]> Problem occured while performing synchronization.
    Always,
    Doug Slupski
    The Plastek Group

    Here the output:
    [Feb 27, 2006 5:31:51 PM ] Synchronizing file [./../os_libs/libomniDynamic4.so.0
    [Feb 27, 2006 5:31:51 PM ] ...Synched ok!
    [Feb 27, 2006 5:31:51 PM ] Synchronizing file [./../os_libs/libomniORB4.so].
    [Feb 27, 2006 5:31:52 PM ] ...Synched ok!
    [Feb 27, 2006 5:31:52 PM ] Synchronizing file [./../os_libs/libomnithread.so].
    [Feb 27, 2006 5:31:52 PM ] ...Synched ok!
    [Feb 27, 2006 5:31:52 PM ] All CHMOD commands finished successfully...
    [Feb 27, 2006 5:31:52 PM ] Exception occurred:
    com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native
    files for instance [ID57212]!
            at com.sap.engine.bootstrap.Bootstrap.synchInstanceGlobals(Bootstrap.jav
    a:203)
            at com.sap.engine.bootstrap.Bootstrap.makeUpdate(Bootstrap.java:831)
            at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:815)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81
    ==[ Caused by: ]==----
    java.io.FileNotFoundException: ./../os_libs/libjmon.so (Cannot open or remove a
    file containing a running program.)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:92)
            at com.sap.engine.bootstrap.Synchronizer.getFile(Synchronizer.java:158)
            at com.sap.engine.bootstrap.Synchronizer.synchronizeFile(Synchronizer.ja
    va:112)

Maybe you are looking for

  • IPod cutting off songs/iTunes not recognizing iPod correctly

    Hi, I have a second generation nano using a PC with Vista operating system, and using the latest iTunes software (7.6.1.9). I have been noticing that more and more of my songs on the iPod have been cutting off, either a few seconds into the song, nea

  • IPhone will not power on after update

    Dear Apple, I currently have your iPhone 3GS which I received approximately 18 months ago. However, after updating the OS Software the device has decided to not power on. After speaking to your Apple Support Centre, they booked me an appointment at A

  • Call a RFC or BAPI in SAP R/3

    Hi, Please give your replies. I written a RFC function module in SAPR/3 , my requirement is that RFC to be called from SAPXI. This RFC will update some SAP transactions and return back the document number back Whether it is possible? aRs

  • HDD for Mac and Windows?

    I have to deliver about 300Gigs of photo and video to a client. I was thinking with the cost of HDD being so cheap these days I will just buy a drive and overnight it to them. What type of drive should I be looking at. I am thinking USB transfer is g

  • Album - Save as PDF

    Hi,       when i try to "save as pdf" an album i can't click to "Security Options..." button.  I think it is a Bug.        I can only navigate through  "Subject" and "Keywords" by tab key, but not with mouse !        Could you suggest me a keyboard s