Another exception has been detected while we were handling last error

I run a heavily multithreaded Java comm server on
this configuration:
uname -a
Linux xxx.yyy.com 2.4.18 #1 SMP Wed Apr 3 06:10:13 EST 2002 i686 unknown
java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
From time to time I get on stderr (redirected to a
file) this:
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
and server crashes:( This seems to only happen if
Linux kernel is 2.4 because same server never did
this to me on 2.2.18 kernel...
Grep tells me that this message comes from
libjvm.so. Sources of JDK 1.3 though do not contain
such text at all. Maybe because sources do not
include Linux specific parts of VM.Does anybode have
a clue as to what this error message actually means?
Regards
Nikolay

Thnak you, Chris. I should have thought of this.
The log file does clarify somewhat the situation:
Unexpected Signal : 11 occurred at PC=0x401514fe
Function name=remove_current__20JvmdiWalkableThreads
Library=/usr/local/jdk1.3.1_03/jre/lib/i386/client/libjvm.so
Current Java thread:
at java.lang.Object.wait(Native Method)
- waiting on <4366c928> (a com.thestoremaker.java.io.BufferExchange)
at com.thestoremaker.java.io.BufferExchange.receiveMessage(BufferExchange.java:154)
- locked <4366c928> (a com.thestoremaker.java.io.BufferExchange)
at com.thestoremaker.java.io.BufferExchange.receiveMessage(BufferExchange.java:120)
at com.thestoremaker.java.io.Log.run(Log.java:240)
at java.lang.Thread.run(Thread.java:479)
Local Time = Thu Jul 11 11:56:27 2002
Elapsed Time = 46
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002BD
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 interpreted mode)
Apparently it is Sun's bug but it is also my problem ;)
and I will have to dig deeper than I would like to
in order to work out a solution :(( ....
Regards
Nikolay

Similar Messages

  • _jvm- DetachCurrentThread() causes Another exception has been detected whil

    I have a hardware driver which calls java based on hardware interupts. The c code attaches to the current thread, calls a static method, then detaches. If I dont detatch, it works perfectly (but probably leaves the thread in limbo), but if I detach it always gives the error below. Im using jbuilder X java on windows XP, and the java callback just prints the passed parameter string. Any ideas?
    Another exception has been detected while we were handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x00a483ba
    SIGNAL = -1073741819
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    LIBRARY NAME = (N/A)
    Please check ERROR REPORT FILE for further information, if there is any.
    Good bye.
    jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) {
      printf("cpp: Loading the VM\n");
      fflush(stdout);
      _jvm = vm;
      return(JNI_VERSION_1_4);
    JNIEnv *env;
                 int result = _jvm->GetEnv((void**) &env, JNI_VERSION_1_4);
                 if (result == JNI_EDETACHED) {
                    printf("Attaching the current thread\n");
                    _jvm->AttachCurrentThread((void **)&env, NULL);
                 printf("Attached\n");
         fflush(stdout);
          char error[30];
         char barcode[40];
         sprintf(error, "%lu", dwError);
         sprintf(barcode, "%s", dwType);
             jobjectArray ret;
         ret=(jobjectArray)env->NewObjectArray(2,
                  env->FindClass("java/lang/String"),
                  env->NewStringUTF(""));
                env->SetObjectArrayElement(ret,0,env->NewStringUTF(error));
                  env->SetObjectArrayElement(ret,1,env->NewStringUTF(barcode));
         printf("cpp: after setting array\n");
                   fflush(stdout);
                // now we need to get a handle on the hander class which implements the callbacks.
               // first get the class
               // then call the static method to get the handler instance.
         // then get the method from the handler instance.
         // now call the method.
         jclass clsCyberView = env->FindClass("com/sst/util/CyberView");
         if (clsCyberView == NULL) {
          printf("cpp: clsCyberView == null");
           return;
           jmethodID mtdBarcodeCallback = env->GetStaticMethodID(clsCyberView, "handleBarcode", "([Ljava/lang/String;)V");
         if (mtdBarcodeCallback == NULL) {
                                       printf("cpp: mtdBarcodeCallback == null\n");
                                       fflush(stdout);
                                       return;
           env->ExceptionClear();
           env->CallStaticVoidMethod(clsCyberView, mtdBarcodeCallback, ret);
           if(env->ExceptionOccurred()) {
               env->ExceptionDescribe();
               env->ExceptionClear();
                  printf("about to detach..\n");
                 fflush(stdout);
                  _jvm->DetachCurrentThread();

    I m having the same problem. Did you get around it ?

  • EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outs

    Here is my error :
    # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside the VM.
    # Program counter=0x502032cf
    Problem I have though is the app will run fine on 1 PC, but the same installation on another causes this. OS == NT ( i don't know too much about NT)
    Not really sure what to do about this one, really grateful for any advice.
    Thx

    It most windows JNI code an ACCESS_VIOLATION indicates a memory problem: buffer overwrite, underwrite, dereference a null pointer, etc.
    I would suggest going through the JNI code and put in more error checking: return values from methods, check for non-null input params, etc.

  • An unexpected exception has been detected in native code outside the VM.

    I thought that my problem had been solved yesterday when I managed to run my application with out getting "An unexpected exception has been detected in native code outside the VM."
    I was told to uninstall "j2sdk1.4.1_02" and install my old version of 1.3.1 and then completely remove that (as i do not think i removed it correctly in the first place), then reinstall my new version again (j2sdk1.4.1_02). This appeared to work, and my application ran. However, today i planned to do more work on it and it errored again. I am getting the following error:
    C:\Documents and Settings\Mike Costen\Desktop\Mar27d>java ImageViewerFrame
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D1C369C
    Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14BC
    Library=C:\j2sdk1.4.1_02\jre\bin\fontmanager.dll
    Current Java thread:
    at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
    - locked <06C15D48> (a java.lang.Class)
    at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736)
    at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:587)
    at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49)
    at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203)
    - locked <02F948A0> (a sun.awt.Win32GraphicsEnvironment)
    at sun.java2d.SunGraphicsEnvironment.mapFontName(SunGraphicsEnvironment.java:451)
    at java.awt.Font.initializeFont(Font.java:313)
    at java.awt.Font.<init>(Font.java:345)
    at sun.awt.windows.WDesktopProperties.setFontProperty(WDesktopProperties.java:148)
    - locked <02AE0000> (a sun.awt.windows.WDesktopProperties)
    at sun.awt.windows.WDesktopProperties.getWindowsParameters(Native Method)
    at sun.awt.windows.WDesktopProperties.<init>(WDesktopProperties.java:56)
    at sun.awt.windows.WToolkit.initializeDesktopProperties(WToolkit.java:865)
    at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1533)
    - locked <02F92380> (a sun.awt.windows.WToolkit)
    at sun.awt.shell.ShellFolder.<clinit>(ShellFolder.java:171)
    at javax.swing.filechooser.FileSystemView.getRoots(FileSystemView.java:324)
    at javax.swing.filechooser.WindowsFileSystemView.getHomeDirectory(FileSystemView.java:625)
    at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:213)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:130)
    at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:152)
    at javax.swing.JComponent.setUI(JComponent.java:449)
    at javax.swing.JFileChooser.updateUI(JFileChooser.java:1700)
    at javax.swing.JFileChooser.setup(JFileChooser.java:345)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:320)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:273)
    at ImageViewerFrame.<init>(ImageViewerFrame.java:30)
    at ImageViewerFrame.main(ImageViewerFrame.java:227)
    Dynamic libraries:
    0x00400000 - 0x00406000 C:\j2sdk1.4.1_02\bin\java.exe
    0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x7807F000 C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
    0x6D340000 - 0x6D46A000 C:\j2sdk1.4.1_02\jre\bin\client\jvm.dll
    0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll
    0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
    0x6D1E0000 - 0x6D1E7000 C:\j2sdk1.4.1_02\jre\bin\hpi.dll
    0x6D310000 - 0x6D31E000 C:\j2sdk1.4.1_02\jre\bin\verify.dll
    0x6D220000 - 0x6D239000 C:\j2sdk1.4.1_02\jre\bin\java.dll
    0x6D330000 - 0x6D33D000 C:\j2sdk1.4.1_02\jre\bin\zip.dll
    0x6D000000 - 0x6D105000 C:\j2sdk1.4.1_02\jre\bin\awt.dll
    0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
    0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll
    0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
    0x6D190000 - 0x6D1E0000 C:\j2sdk1.4.1_02\jre\bin\fontmanager.dll
    0x73760000 - 0x737A4000 C:\WINDOWS\System32\ddraw.dll
    0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
    0x73940000 - 0x73A07000 C:\WINDOWS\System32\D3DIM700.DLL
    0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
    0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
    0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
    0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
    Local Time = Mon Mar 31 08:59:02 2003
    Elapsed Time = 6
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode)
    # An error report file has been saved as hs_err_pid584.log.
    # Please refer to the file for further information.
    C:\Documents and Settings\Mike Costen\Desktop\Mar27d>
    I am now not sure at all why my computer is doing this, as it worked yesterday...
    Any light shed on this matter is much appreciated.
    Thanks, Mike

    Welcome to native code hell! The reason we all use Java is because
    native code sucks. It is to be isolated and quarantined to the smallest
    area possible.
    File a TAR/SR. Maybe you just need a newer vesion of the OCI client
    libraries on your machine. Maybe they are out of sync with the native
    portion of the type-2 driver.
    Say why you went from type-4 to type-2. In my opinion, unless you have
    a very good reason, you should go back to the reliable java driver. Java
    can't kill a JVM.
    Good luck,
    Joe Weinstein at BEA Systems

  • Unexpected exception has been detected in native code outside the VM

    I seriously hope I posted this in the right forum, there was so many, and it was confusing. Please forgive me if I didn't.
    Anyways, I was playing a online game, RuneScape, when my browser suddenly closed. Later on, I finally noticed that there was a notepad document on my desktop:
    hs_err_pid3884
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x6C8243F
    Function=Java_sun_awt_windows_WColor_getDefaultColor+0x2E1D
    Library=C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    Current Java thread:
         at sun.awt.windows.WToolkit.eventLoop(Native Method)
         at sun.awt.windows.WToolkit.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778CC000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x754D0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774E0000 - 0x7761D000      C:\WINDOWS\system32\ole32.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\uxtheme.dll
    0x75F80000 - 0x7607C000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77B40000 - 0x77B62000      C:\WINDOWS\system32\appHelp.dll
    0x76FD0000 - 0x7704F000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77FE0000 - 0x77FF1000      C:\WINDOWS\system32\Secur32.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77A20000 - 0x77A74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661D000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1000C000      C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    0x01840000 - 0x0187D000      C:\Program Files\GetRight\xx2gr.dll
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x01890000 - 0x018CC000      C:\Program Files\NewDotNet\newdotnet6_38.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x01920000 - 0x0193F000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x01940000 - 0x0194F000      C:\WINDOWS\system32\tfswapi.dll
    0x01950000 - 0x0198B000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x019D0000 - 0x019F6000      C:\WINDOWS\system32\lmf32v.dll
    0x75E90000 - 0x75F40000      C:\WINDOWS\system32\SXS.DLL
    0x01A30000 - 0x01AB8000      C:\WINDOWS\system32\shdoclc.dll
    0x01AC0000 - 0x01D85000      C:\WINDOWS\system32\xpsp2res.dll
    0x75CF0000 - 0x75D81000      C:\WINDOWS\system32\mlang.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\wsock32.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\system32\mswsock.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x76EE0000 - 0x76F1C000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76E90000 - 0x76EA2000      C:\WINDOWS\system32\rasman.dll
    0x76EB0000 - 0x76EDF000      C:\WINDOWS\system32\TAPI32.dll
    0x76E80000 - 0x76E8E000      C:\WINDOWS\system32\rtutils.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x5CD70000 - 0x5CD77000      C:\WINDOWS\system32\serwvdrv.dll
    0x5B0A0000 - 0x5B0A7000      C:\WINDOWS\system32\umdmxfrm.dll
    0x77C70000 - 0x77C93000      C:\WINDOWS\system32\msv1_0.dll
    0x76D60000 - 0x76D79000      C:\WINDOWS\system32\iphlpapi.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.dll
    0x745E0000 - 0x748A6000      C:\WINDOWS\system32\msi.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\system32\sensapi.dll
    0x7D4A0000 - 0x7D785000      C:\WINDOWS\system32\mshtml.dll
    0x027A0000 - 0x027C7000      C:\WINDOWS\system32\msls31.dll
    0x02CD0000 - 0x02CFA000      C:\WINDOWS\system32\msimtf.dll
    0x02D00000 - 0x02D4B000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763AD000      C:\WINDOWS\system32\IMM32.DLL
    0x75C50000 - 0x75CBE000      C:\WINDOWS\system32\jscript.dll
    0x66E50000 - 0x66E90000      C:\WINDOWS\system32\iepeers.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x74C80000 - 0x74CAC000      C:\WINDOWS\system32\OLEACC.DLL
    0x76080000 - 0x760E5000      C:\WINDOWS\system32\MSVCP60.dll
    0x75F60000 - 0x75F67000      C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1E000      C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE7000      C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CD0000      C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C87000      C:\WINDOWS\System32\NETRAP.dll
    0x71BF0000 - 0x71C03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75F70000 - 0x75F79000      C:\WINDOWS\System32\davclnt.dll
    0x75970000 - 0x75A67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435D000      C:\WINDOWS\system32\ODBC32.dll
    0x03820000 - 0x03837000      C:\WINDOWS\system32\odbcint.dll
    0x72D20000 - 0x72D29000      C:\WINDOWS\system32\wdmaud.drv
    0x72D10000 - 0x72D18000      C:\WINDOWS\system32\msacm32.drv
    0x77BE0000 - 0x77BF5000      C:\WINDOWS\system32\MSACM32.dll
    0x77BD0000 - 0x77BD7000      C:\WINDOWS\system32\midimap.dll
    0x6BDD0000 - 0x6BE05000      C:\WINDOWS\system32\dxtrans.dll
    0x6D430000 - 0x6D43A000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6BE10000 - 0x6BE6A000      C:\WINDOWS\system32\dxtmsft.dll
    0x5FF20000 - 0x5FF46000      C:\WINDOWS\system32\MSRATING.dll
    0x5FF50000 - 0x5FF61000      C:\WINDOWS\system32\msratelc.dll
    0x71D40000 - 0x71D5C000      C:\WINDOWS\system32\actxprxy.dll
    0x73300000 - 0x73367000      C:\WINDOWS\system32\vbscript.dll
    0x73DD0000 - 0x73ECE000      C:\WINDOWS\system32\MFC42.DLL
    0x07510000 - 0x07A5D000      C:\WINDOWS\system32\wmp.dll
    0x4EC50000 - 0x4EDF3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x75A70000 - 0x75A91000      C:\WINDOWS\system32\MSVFW32.dll
    0x08260000 - 0x08597000      C:\WINDOWS\system32\wmploc.dll
    0x086C0000 - 0x08904000      C:\WINDOWS\system32\wmvcore.dll
    0x070D0000 - 0x0710B000      C:\WINDOWS\system32\WMASF.DLL
    0x07CA0000 - 0x07E0D000      C:\WINDOWS\system32\quartz.dll
    0x75F40000 - 0x75F51000      C:\WINDOWS\system32\devenum.dll
    0x736B0000 - 0x736B7000      C:\WINDOWS\system32\msdmo.dll
    0x66880000 - 0x6688C000      C:\WINDOWS\system32\ImgUtil.dll
    0x76380000 - 0x76385000      C:\WINDOWS\system32\MSIMG32.dll
    0x063C0000 - 0x06567000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6D440000 - 0x6D450000      C:\Program Files\Java\j2re1.4.2_03\bin\npjpi142_03.dll
    0x5EDD0000 - 0x5EDE7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6D310000 - 0x6D327000      C:\Program Files\Java\j2re1.4.2_03\bin\jpiexp32.dll
    0x6D380000 - 0x6D398000      C:\Program Files\Java\j2re1.4.2_03\bin\jpishare.dll
    0x05900000 - 0x05A38000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x025E0000 - 0x025E7000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x02600000 - 0x0260E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x02620000 - 0x02639000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x02E80000 - 0x02E8D000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x06C10000 - 0x06D1F000      C:\Program Files\Java\j2re1.4.2_03\bin\awt.dll
    0x04EF0000 - 0x04F40000      C:\Program Files\Java\j2re1.4.2_03\bin\fontmanager.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6D2F0000 - 0x6D304000      C:\Program Files\Java\j2re1.4.2_03\bin\jpicom32.dll
    0x02ED0000 - 0x02EDF000      C:\Program Files\Java\j2re1.4.2_03\bin\net.dll
    0x03F00000 - 0x03F22000      C:\Program Files\Java\j2re1.4.2_03\bin\dcpr.dll
    0x00D00000 - 0x00D1E000      C:\Program Files\Java\j2re1.4.2_03\bin\jpeg.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 6848K, used 4271K [0x10010000, 0x10770000, 0x10770000)
    eden space 6144K, 69% used [0x10010000, 0x1043bca0, 0x10610000)
    from space 704K, 0% used [0x10610000, 0x10610000, 0x106c0000)
    to space 704K, 0% used [0x106c0000, 0x106c0000, 0x10770000)
    tenured generation total 90752K, used 90750K [0x10770000, 0x16010000, 0x16010000)
    the space 90752K, 99% used [0x10770000, 0x1600fb10, 0x1600fc00, 0x16010000)
    compacting perm gen total 6400K, used 6194K [0x16010000, 0x16650000, 0x1a010000)
    the space 6400K, 96% used [0x16010000, 0x1661cb58, 0x1661cc00, 0x16650000)
    Local Time = Thu Jun 09 00:40:14 2005
    Elapsed Time = 722
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
    I am running Windows XP Home Edition, and I have the latest Java.
    This has happened several times, but it's just with this one game. Can someone please help me? I'd really appreciate it.

    Have you tried a current version of Java. ie. 1.4.2_08 or 1.5.0_03 ?

  • An unexpected exception has been detected + Netscape ldap server V6

    Hi,
    An unexpected exception has been detected during running an application on Netscape ldap server V6. Actually some extended operation is done on ldap server but after some request server crashes and error reported is :
    (psdk) xdspa1 JPSDKAgent.cc 143 ERROR Child error: Received unknown command: 'nexpected Signal : 11 occurred at PC=0xC1F19F40
    Function=_shlInit
    Library=/opt/java1.4/jre/lib/PA_RISC/server/libjvm.sl
    Current Java thread:
    "main" prio=7 tid=4000eca8 nid=1 lwp_id=7064320 runnable [0x77ff2000..0x77ff1ec0]
         at com.tertio.tome.Tome.MwLogErr_Write0(Native Method)
         at com.tertio.tome.Tome.error(Tome.java:171)
         at com.tertio.provident.sdk.SdkBase.error(SdkBase.java:214)
         - locked <71802780> (a java.lang.Object)
         at com.h3g.provisioningagent.xds.agent.XDSProvisioningAgent.error(XDSProvisioningAgent.java:444)
         at com.tertio.provident.sdk.ProvisioningAgentLink.handleEptReceived(ProvisioningAgentLink.java:166)
         at com.tertio.provident.sdk.ProvisioningAgentLink.handleMessage(ProvisioningAgentLink.java:100)
         at com.tertio.provident.sdk.SdkBase.mainLoop(SdkBase.java:180)
         at com.tertio.provident.sdk.SdkBase.main(SdkBase.java:47)
    Dynamic libraries:
    /opt/java1.4/bin/PA_RISC/java
         text:0x00001000-0x00011b8c data:0x40001000-0x40002ee0
    /opt/java1.4/jre/lib/PA_RISC/server/libjvm.sl
         text:0xc1800000-0xc22d8000 data:0x77e12000-0x77fcd000
    /usr/lib/libpthread.1
         text:0xc0030000-0xc0047000 data:0x77dea000-0x77ded000
    /usr/lib/libm.2
         text:0xc0090000-0xc00b6000 data:0x77ded000-0x77df3000
    /usr/lib/librt.2
         text:0xc00b8000-0xc00bc000 data:0x77df3000-0x77df4000
    /usr/lib/libcl.2
         text:0xc03c0000-0xc04a8000 data:0x77df7000-0x77e05000
    /usr/lib/libisamstub.1
         text:0xc002f000-0xc0030000 data:0x77df4000-0x77df5000
    /usr/lib/libCsup.2
         text:0xc0310000-0xc032c000 data:0x77e05000-0x77e08000
    /usr/lib/libc.2
         text:0xc0100000-0xc024e000 data:0x77fd2000-0x77fe5000
    /usr/lib/libdld.2
         text:0xc0006000-0xc0009000 data:0x77fcd000-0x77fce000
    /opt/graphics/OpenGL/lib/libogltls.sl
         text:0xc0004000-0xc0006000 data:0x77fe9000-0x77fea000
    /opt/java1.4/jre/lib/PA_RISC/native_threads/libhpi.sl
         text:0xc0500000-0xc0513000 data:0x77de7000-0x77de8000
    /opt/java1.4/jre/lib/PA_RISC/libverify.sl
         text:0xc0520000-0xc0530000 data:0x77d65000-0x77d66000
    /opt/java1.4/jre/lib/PA_RISC/libjava.sl
         text:0xc0530000-0xc055b000 data:0x77d63000-0x77d65000
    /opt/java1.4/jre/lib/PA_RISC/libzip.sl
         text:0xc0560000-0xc0574000 data:0x77d5f000-0x77d61000
    /home/sandeepk/h3guk/live/prov/lib/libjtome.sl
         text:0xc06a5000-0xc06a8000 data:0x77c66000-0x77c67000
    /home/sandeepk/h3guk/live/prov/lib/libtome.sl
         text:0xc0890000-0xc08c0000 data:0x77c4f000-0x77c65000
    /home/sandeepk/h3guk/live/prov/lib/libtome_ev.sl
         text:0xc066e000-0xc0670000 data:0x77c65000-0x77c66000
    /opt/java1.4/jre/lib/PA_RISC/libnet.sl
         text:0xc08c0000-0xc08d1000 data:0x77c4e000-0x77c4f000
    /usr/lib/libnm.sl
         text:0xc28f4000-0xc28fb000 data:0x77c4d000-0x77c4e000
    /usr/lib/libnss_dns.1
         text:0xc00bc000-0x'
    Please help in this regard ASAP. Awaiting your suggestions/ further information.
    Regards,
    Sandeep

    I'm not sure we can do anything to help you. It looks like some problem wit Oracle?
    We're dedicated to Messaging Server in this forum. I doubt anybody knows much about Java or Oracle, here. You might try the right forum.

  • Exception has been thrown while reading SSA via PowerShell

    Hi,
    SharePoint Server standard SP1 updated to June 2012 CU, 2 (WFE + App) servers + 1 DB server. I created Search Service Application (SSA) using Central Admin. Once created the SSA behaves pretty alright. It crawls and the searchadmin page is also normal.
    But when I try to read the SSA via PowerShell:
    $mySSA = Get-SPEnterpriseSearchServiceApplication -Identity "My Search Service App Name"
    I get:
    format-default : Exception has been thrown by the target of an invocation.
    + CategoryInfo     :  NotSpecified:  (:) [format-default], TargetInvocationException
    + FullyQualifiedErrorId : System.Reflection.TargetInovcationException,Microsoft.PowerShell.Commands.FormatDefaultCommand
    No relevant clue from the App error event log. I can run other PowerShell commandlets just fine. For example Get-SPWebApplication.
    Thanks, Soumya | MCITP, SharePoint 2010

    Do you have multiple Search Service Applications? If there is only one in the farm, you can run Get-SPEnterpriseSearchServiceApplication with no parameters to return it. 
    Actually, even if you have more than one, what happens when you simply run:
    Get-SPEnterpriseSearchServiceApplication
    Jason Warren
    Infrastructure Specialist
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • JVM crashes on Tomcat Start up :  An unexpected error has been detected by

    My application is running fine on tomcat server from last 2 months, but when I did a restart JVM crashed.
    It happened twice, after that its restarted normally.
    ERROR Log
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (53484152454432554E54494D450E43505001A3), pid=31446, tid=234257328
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode)
    # An error report file with more information is saved as hs_err_pid31446.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    contents of hs_err_pid31446.log
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (53484152454432554E54494D450E43505001A3), pid=31446, tid=234257328
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode)
    --------------- T H R E A D ---------------
    Current thread (0x0817bf48): JavaThread "main" [_thread_in_Java, id=31465]
    Stack: [0x0dee7000,0x0df68000), sp=0x0df62c8c, free space=495k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x500c93]
    V [libjvm.so+0x1c600c]
    V [libjvm.so+0x48f97f]
    V [libjvm.so+0x429a16]
    V [libjvm.so+0x426c24]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x077fcdc8 JavaThread "Connection Consumer for dest Subscription[subId=-  0x08b2df28 JavaThread "IdleRemover" daemon [_thread_blocked, id=31525]
    0x08b61070 JavaThread "TimeoutFactory" daemon [_thread_blocked, id=31524]
    0x078b0608 JavaThread "JCA PoolFiller" [_thread_blocked, id=31523]
    0x08b2d998 JavaThread "Timer-2" daemon [_thread_blocked, id=31522]
    0x0964f4f8 JavaThread "HSQLDB Timer @1f9b804" daemon [_thread_blocked, id=31521]
    0x062fcbe0 JavaThread "WorkManager(3)-1" daemon [_thread_blocked, id=31519]
    0x06eb7948 JavaThread "JBossMQ Cache Reference Softner" daemon [_thread_blocked, id=31515]
    0x081547b0 JavaThread "CompilerThread1" daemon [_thread_in_native, id=31462]
    0x08153708 JavaThread "CompilerThread0" daemon [_thread_in_native, id=31461]
    0x08152590 JavaThread "AdapterThread" daemon [_thread_blocked, id=31460]
    0x08151778 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=31459]
    0x08147500 JavaThread "Finalizer" daemon [_thread_blocked, id=31458]
    0x08146fb8 JavaThread "Reference Handler" daemon [_thread_blocked, id=31457]
    Other Threads:
    0x08144ae0 VMThread [id=31456]
    0x08157168 WatcherThread [id=31464]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    VM Arguments:
    jvm_args: -Xms1024m -Xmx3100m -XX:MaxPermSize=512m -verbose:gc -XX:+DisableExplicitGC -DAppDir= -Djboss.server.name=RatesServices-live-server4 -Dprogram.name
    =run.sh -Djava.endorsed.dirs=/ecomm/Jboss/RatesServices-live/lib/endorsed
    java_command: org.jboss.Main -c rbs
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=/usr/bin:/bin
    LD_LIBRARY_PATH=/opt/app/ecomm/java/jdk1.5.0_07/jre/lib/i386/server:/opt/app/ecomm/java/jdk1.5.0_07/jre/lib/i386:/opt/app/ecomm/java/jdk1.5.0_07/jre/../lib/i
    386:/opt/tibco/rv/lib:/ecomm/caf/DSlibs:/ecomm/caf/gcc/3.4.1/p4/lib:/ecomm/caf/boost/lib:/ecomm/caf/xerces/lib:/ecomm/caf/python/lib:/ecomm/caf/caf_4.8.0.17/
    build/linux_gcc_release/bin:/ecomm/caf/caf_4.8.0.17/build/linux_gcc_release/bin/lib/python2.2/config:/ecomm/caf/caf_4.8.0.17/build/linux_gcc_release/bin/lib:
    SHELL=/bin/sh
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x5016a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x5016a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x426c00], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGILL: [libjvm.so+0x426c00], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x429050], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x428a80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x428a80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x428a80], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    --------------- S Y S T E M ---------------
    OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    uname:Linux 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 x86_64
    libc:glibc 2.3.4 NPTL 2.3.4
    rlimit: STACK 10240k, CORE 0k, NPROC 131071, NOFILE 1024, AS infinity
    load average:2.20 1.03 0.62
    CPU:total 8 family 47, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 3968k(432k free), swap 2047k(2047k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_07-b03) for linux-x86, built on May 3 2006 00:32:58 by java_re with gcc 3.2.1-7a (J2SE release)

    keep only the earlier versionKeep only the later version
    your problem will be resolvedYou don't know that. It's likely but not certain.

  • ErrorRepor: A fatal error has been detected by the Java Runtime Environment

    JDeveloper IDE frequently generate crash report :
    A fatal error has been detected by the JRE
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00007f8a6bdca6b9, pid=3013, tid=140232416401152
    # JRE version: 6.0_31-b04
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # V [libjvm.so+0x3296b9][thread 140232412190464 also had an error]
    [thread 140232411137792 also had an error]
    CardTableExtension::scavenge_contents_parallel(ObjectStartArray*, MutableSpace*, HeapWord*, PSPromotionManager*, unsigned)+0x699
    # An error report file with more information is saved as:
    # $home/.jdeveloper/system11.1.2.1.38.60.81/DefaultDomain/hs_err_pid3013.log
    How to send this report to Oracle?

    Good question.
    I would start with the home page for JDeveloper. Look around a bit. After a very brief look all I saw was a forum (not this forum.)

  • Exception has been thrown by the target of an invocation error while updating picture in user Profile

    Hi,
    I am working on updating picture of user profile in sharepoint 2013.
    I am getting error "exception has been thrown by the target of an invocation" while creating Thumbnail at the below line.
    "file = (SPFile)mi_CreateThumbnail.Invoke(null, new object[] { original, idealWidth, idealHeight, folder, fileName, null });"
    I have added SPUtility.ValidateFormDigest() before calling this method. but no luck.
    Please help me on this.
    Thanks
    Hareesh

    Hi,
    According to your post, my understanding is that you want to update picture in user Profile.
    If we are giving an option to change the Profile picture in our custom component, we need to create 3 different files and update the reference in User Profile property.
    To create Thumbnail, we can use the code as below:
    /// Get sealed function to generate new thumbernails
    public SPFile CreateThumbnail(Bitmap original, int idealWidth, int idealHeight, SPFolder folder, string fileName)
      SPFile file = null;
      Assembly userProfilesAssembly = typeof(UserProfile).Assembly;
    Type userProfilePhotosType = userProfilesAssembly.GetType("Microsoft.Office.Server.UserProfiles.UserProfilePhotos");
      MethodInfo [] mi_methods = userProfilePhotosType.GetMethods(BindingFlags.NonPublic | BindingFlags.Static);
      MethodInfo mi_CreateThumbnail = mi_methods[0];
      if (mi_CreateThumbnail != null)
        file = (SPFile)mi_CreateThumbnail.Invoke(null, new object[] { original, idealWidth, idealHeight, folder, fileName, null });
      return file;
    Then we can invoke the method as below:
    using (MemoryStream stream = new MemoryStream(buffer))
    using (Bitmap bitmap = new Bitmap(stream, true))
    CreateThumbnail(bitmap, largeThumbnailSize, largeThumbnailSize, subfolderForPictures, accountName + "_LThumb.jpg");
    CreateThumbnail(bitmap, mediumThumbnailSize, mediumThumbnailSize, subfolderForPictures, accountName + "_MThumb.jpg");
    CreateThumbnail(bitmap, smallThumbnailSize, smallThumbnailSize, subfolderForPictures, accountName + "_SThumb.jpg");
    More information:
    Update User Profile picture programmatically in SharePoint
    Upload User Profile Picture programmatically in SharePoint 2013
    Upload User Profile Pictures Programmatically – SharePoint 2013
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • An unexpected error has been detected by HotSpot Virtual Machine: SIGBUS

    We had a java server process shutdown with the following output:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=0xffffffff7e533324, pid=1038, tid=15
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_12-b04 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x533324]
    --------------- T H R E A D ---------------
    Current thread (0x00000001001bc630): GCTaskThread [id=15]
    Since then we've experienced a problem where the process has become unresponsive causing us to force a manual shutdown.
    There was not an issue with available memory at the time the process became unresponsive. System.out stopped printing GC output at this time.
    Hardware is a T5120.
    Please let us know if there is a known issue or some way to resolve this.

    john.odendahl wrote:
    Hey look, the VM crashed so i posted on a forum related to the VM.
    If the hardware crashed I probably would have posted it on a forum related to the hardware.
    If MS Word were to crash i probably would not start start blaming it on the hardware before I tried to find out if there is a problem with MS Word.
    What I was hoping to find out was if there was some known issue with the particular version of the jdk or if there was some obvious cause....or possibly if there is something additional I could do to troubleshoot the problem. Specifically I said "Please let us know if there is a known issue or some way to resolve this."
    Expanding on my previous replies.
    There are any number of sources for the cause of the problem that the VM reported.
    While it is possible that the VM itself caused it is also likely, probably quite a bit more so, that there is some other cause.
    The causes of that can be hardware, OS, other applications and the software that the VM is running.
    Resolution requires the following.
    1. Identifying the cause
    2. If and only if the cause is due to the VM then submitting a bug report.
    3. Exclusive of a specific service/sales contract with Sun a bug fix is unlikely to be forthcoming in any reasonable amount of time.
    So far all i've got out if this is that it's a hard problem to troubleshoot and there is a bunch more information necessary to determine the cause. Correct. If the VM created the dump file (whatever it is called) you can create a bug report and attach that. But 3 above still applies but sometimes Sun jumps right on something.
    If that is the case then fine, i completely understand, but no one has said what additional information would be helpful. Your entire computer and a way to replicate it on that computer is the only way that any one besides you can determine that. And inclination and time.
    I doubt that is acceptable to you nor is anyone likely to undertake that (exclusive of a specific commercial tie between you and Sun.)
    The alternative is that you, or someone at your company, tracks the problem down. There are two many possible variations for how one might need to to that for a forum post and perhaps even for an entire book. But replicating it is the first step.
    ...unless you can provide some help or at least some useful information.You might want to google for SIGBUS and SIGSEGV error reports against the VM just to see how often this occurs.

  • [CS2 Win] "A buffer overrun has been detected..." on startup of InDesign CS2 Debug

    Installed InDesign CS2 Debug on a completely new machine but it failed to launch.
    The message occurs while "Executing startup services..."
    I get a "Microsoft Visual C++ Debug Library" window with the message "A buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue and must now be terminated".
    My only other installations performed before this were Visual Studio NET 2003 and Adobe InDesign SDK.
    I've seen two threads in the forum about this problem and wondered if anyone got the solution.
    Especially since someone appears to have opened a support case about this issue.
    The archived threads are:
    Buffer Overrun Error In InDesign Debug Version
    "A buffer overrun has been detected..." CS2 debug
    Hopefully someone can help me with this.
    I've now uninstalled and re-installed Indesign, InCopy & the InDesign SDK several times trying to get around this.
    Any help much appreciated.
    Thanks in advance.
    - Jackeen.

    Jackeen,
    You probably have corrupted preferences on the "troublesome" user. Each user has his/her own ones - including "lost" files, etc. and they can become corrupted.
    A couple days ago I was "fighting" a similarly strange problem - a crash on closing a document - only to have it disappear after the preferences were reset automatically at some point (as seen because palettes, etc. returned to their "default" place.
    Regards,
    Eugenio Andres
    Expertos Informaticos SL

  • My nano has been detected, but not identified. What do I do?

    Help. I plugged in my iPod, and a little warning showed up that said, "An iPod has been detected, but could not be identified properly. Please disconnect and reconnect the iPod, then try again." Guess what? I did that maybe thirty times. Didn't work. Advice?

    First I assume youre using ipod nano 5g and you have downloaded newest itunes 9?
    (thats a must).
    Something that often gets usb devices to run again: (i dont run vista but you can google how to find the info here is one link as to how to find device manager in vista;http://pcsupport.about.com/od/windowsvista/f/opendmvista.htm)
    Once you find device manager the basic info below applies:
    Plug the nano in. Now in your Start menu, right-click "Computer" and select "Manage". Click "Device Manager".
    "Expand "USB devices". Can you see an entry in there for the Apple iPod driver? If so, right click on that and select "Uninstall" Or if it offers to repair it can try that first. Click OK. (The uninstall choice may take a while, leave it to its own devices for a while. this only uninstalls drivers not itunes to my knowledge).
    After the driver uninstalls, unplug the nano. Wait until it has finished saying OK to disconnect on the nano screen
    Now plug the nano back in. This should reinstall the driver"
    I found this info in the other forum for connecting nano to windows but Ive used it in past.
    another link with info: http://discussions.apple.com/thread.jspa?threadID=2293079&tstart=0
    And from apple info: http://support.apple.com/kb/TS1369
    Message was edited by: slothofms7

  • An unexpected error has been detected by HotSpot Virtual Machine:

    Hi
    When I upload the xml file with dubug window.
    When I have debug then this message will come..
    So give me a solution..
    Here at below I have pasted files. in which I want to by pass the ldap..
    So give me suggestion what to do with that files.
    What's wrong with that file ?
    Jiten
    18 Oct 2007 17:02:09 0 INFO [main] security.SecurityUtil - SecurityUtil.login: Called with [email protected]; password=[C@1797795; sourceIpAddress=192.168.5.14; weblogin=false; realm=null
    18 Oct 2007 17:02:09 16    INFO  [main] security.SecurityUtil - login: start login: username: [email protected]
    18 Oct 2007 17:02:09 125 INFO [main] BOOT - -- boot log messages -->
    [BOOT] INFO: Loading OJB's properties: file:/C:/LMS/gsnx/deploy/webapp/gsnx.ear/webapp.war/WEB-INF/classes/OJB.properties
    [BOOT] WARN: Can't read logging properties file using path 'OJB-logging.properties', message is:
    C:\LMS\gsnx\OJB-logging.properties (The system cannot find the file specified)
    Will try to load logging properties from OJB.properties file
    [BOOT] INFO: Logging: Found 'log4j.properties' file, use class org.apache.ojb.broker.util.logging.Log4jLoggerImpl
    [BOOT] INFO: Log4J is already configured, will not search for log4j properties file
    18 Oct 2007 17:02:12 3282 INFO [main] security.SecurityUtil - SecurityUtil.login: Calling authentication with [email protected]; password=[C@1797795; realm=null
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d85c14f, pid=4032, tid=3260
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
    # Problematic frame:
    # V  [jvm.dll+0x11c14f]
    # An error report file with more information is saved as hs_err_pid4032.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Here :This is my login.config file..
    * Copyright (c) 2003-2005 E2open Inc. All rights reserved.
    * gnsx security configuration file
    * Note:
    * 1. At installation time, java.security file in your jre's lib/security/ directory should
    * be edited add the following line (ganx.home} is the home directory of gsnx install
    * login.config.url.1=file:{gsnx.home}/conf/login.config
    * 2. Edit this file to replace ldap-url with the correct url for your
    * LoginModule configuration.
    * @version $Id: login.config,v 1.8 2006/02/04 18:38:11 vgeorge Exp $
    gsnx.security.Login
    * LdapLoginModule Options:
    * ldap-url - LDAP connection URL, such as ldap://localhost:389
    * e.g. ldap-url="ldap://192.168.31.63:389"
    * dn-mask - The DN mask for user. The number 0 refers to the parameter
    * number for username. If this is specified then user search is ingored.
    * **This option is DEPRECATED**.
    * e.g. dn-mask="cn={0},ou=People,dc=gsnx,dc=com"
    * initialContextFactory - Class name of the initial context factory
    * e.g. initialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
    * connection-username - The DN used by the login module itself for authentication to
    * the directory server.
    * e.g. connection-username="uid=admin,ou=system"
    * connection-password - Password that is used by the login module to authenticate
    * itself to the directory server
    * e.g. connection-password="password"
    * connectionProtocol - The security protocol to use. This value is determined by the
    * service provider. An example would be SSL.
    * e.g. connectionProtocol="ldap"
    * authentication - The security level to use. Its value is one of the following
    * strings: "none", "simple", "strong".
    * e.g. authentication="simple"
    * user-search-base - the base DN for the user search
    * e.g. user-search-base="ou=users,ou=system"
    * user-search-pattern - filter specification how to search for the user object.
    * RFC 2254 filters are allowed. For example: (uid=user1). To parameterize the value
    * of the CN attribute type, specify (uid = {0}). The number 0 refers to the parameter
    * number for username. This query must return exactly one object.
    * e.g. user-search-pattern="uid={0}"
    * user-search-scope-subtree - Directory search scope for the user (ture | false)
    * ture - directory search scope is SUBTREE
    * false - directory search scope is ONE-LEVEL
    * e.g. user-search-scope-subtree="true"
    * user-password-changepw-gsnx-handler - hander to change password
    * If this handler is not specified, the change password feature will not be available
    * if "com.gsnx.core.server.security.LdapLoginModule", is used the the
    * option - user-password-attribute is required.
    * e.g. user-password-changepw-gsnx-handler="com.gsnx.core.server.security.LdapLoginModule"
    * user-password-attribute - attribute in LDAP that stores the user password
    * If this is not specified, the change password feature will not be work
    * when "com.gsnx.core.server.security.LdapLoginModule", is used as
    * user-password-changepw-gsnx-handler
    * e.g. user-password-attribute="userPassword"
    * role-search-base - The base DN for the group membership search
    * e.g. role-search-base="ou=groups,ou=system"
    * role-name-attribute - LDAP attribute type that identifies group name attribute in the object
    * returned from the group membership query. The group membership query is defined
    * by the role-search-pattern parameter. Typically the group name parameter is "cn".
    * e.g. role-name="cn"
    * role-search-pattern - The filter specification how to search for the role object.
    * RFC 2254 filters are allowed. For example: (uniqueMember = {0}). The number 0
    * refers refers to the DN of the authenticated user. Note that if role membership
    * for the user is defined in the member-of-like attribute (see user-role-name
    * parameter) you may not need to search for group membership with the query.
    * e.g. role-search-pattern="(uniqueMember={0})"
    * role-search-scope-subtree - Directory search scope for the role (ture | false).
    * ture - directory search scope is SUBTREE
    * false - directory search scope is ONE-LEVEL
    * e.g. role-search-scope-subtree="false"
    * user-role-attribute - LDAP attribute type for the user group membership. Different LDAP
    * schemas represent user group membership in different ways such as memberOf,
    * isMemberOf, member, etc. Values of these attributes are identifiers of groups that
    * a user is a member of. For example, if you have: memberOf: cn=admin,ou=groups,dc=gsnx,
    * specify "memberOf" as the value for the user-role-name attribute. Be aware of the
    * relationship between this parameter and group membership query. Typically
    * they will return the same data.
    * e.g. user-role-name="memberOf"
    * ldap://ldap-qa.dev.e2open.com:389
    * ldap://192.168.31.63:389
    com.gsnx.core.server.security.PassthruLoginModule required
    *com.gsnx.core.server.security.LdapLoginModule required
    initial-context-factory="com.sun.jndi.ldap.LdapCtxFactory"
    ldap-url="ldap://ldap-qa.dev.e2open.com:389"
    connection-username="cn=Manager,dc=gsnx,dc=com"
    connection-password="slapface"
    connection-protocol="ldap"
    authentication="simple"
    user-search-base="dc=gsnx,dc=com"
    user-search-pattern="cn={0}"
    user-search-scope-subtree="true"
    user-password-changepw-gsnx-handler="com.gsnx.core.server.security.PassthruLoginModule"
    user-password-attribute="userPassword"
    role-search-base=""
    role-name-attribute=""
    role-search-pattern=""
    role-search-scope-subtree=""
    user-role-attribute="";
    This is LoginConfig.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- The XML based JAAS login configuration read by the
    org.jboss.security.auth.login.XMLLoginConfig mbean. Add
    an application-policy element for each security domain.
    The outline of the application-policy is:
    <application-policy name="security-domain-name">
    <authentication>
    <login-module code="login.module1.class.name" flag="control_flag">
    <module-option name = "option1-name">option1-value</module-option>
    <module-option name = "option2-name">option2-value</module-option>
    </login-module>
    <login-module code="login.module2.class.name" flag="control_flag">
    </login-module>
    </authentication>
    </application-policy>
    $Revision: 1.12.2.2 $
    --><!DOCTYPE policy PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "http://www.jboss.org/j2ee/dtd/security_config.dtd">
    <policy>
    <!-- Used by clients within the application server VM such as
    mbeans and servlets that access EJBs.
    -->
    <application-policy name="gsnx.security.Login">
    <authentication>
    <!-- <login-module code="com.gsnx.core.server.security.LdapLoginModule" flag="required">-->
    <login-module code="com.gsnx.core.server.security.PassthruLoginModule" flag="required">
    <module-option name="initial-context-factory">com.sun.jndi.ldap.LdapCtxFactory
    </module-option>
    <!--<module-option name="user-password-changepw-gsnx-handler">com.gsnx.core.server.security.LdapLoginModule-->
    <module-option name="user-password-changepw-gsnx-handler">com.gsnx.core.server.security.PassthruLoginModule
    </module-option>
    <!-- <module-option name="ldap-url">ldap://192.168.31.63:389</module-option> -->
    <!-- <module-option name="ldap-url">ldap://10.120.17.253:389</module-option> -->
    <module-option name="ldap-url">ldap://ldap-qa.dev.e2open.com:389</module-option>
    <module-option name="connection-username">cn=Manager,dc=gsnx,dc=com</module-option>
    <module-option name="connection-password">slapface</module-option>
    <module-option name="connection-protocol">ldap</module-option>
    <module-option name="authentication">simple</module-option>
    <module-option name="user-search-base">dc=gsnx,dc=com</module-option>
    <module-option name="user-search-pattern">cn={0}</module-option>
    <module-option name="user-search-scope-subtree">true</module-option>
    <module-option name="user-password-attribute"/>
    <module-option name="role-search-base"/>
    <module-option name="role-name-attribute"/>
    <module-option name="role-search-pattern"/>
    <module-option name="role-search-scope-subtree"/>
    <module-option name="user-role-attribute"/>
    </login-module>
    </authentication>
    </application-policy>
    <application-policy name="client-login">
    <authentication>
    <login-module code="org.jboss.security.ClientLoginModule" flag="required">
    </login-module>
    </authentication>
    </application-policy>
    <!-- Security domain for JBossMQ -->
    <application-policy name="jbossmq">
    <authentication>
    <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
    <module-option name="unauthenticatedIdentity">guest</module-option>
    <module-option name="dsJndiName">java:/DefaultDS</module-option>
    <module-option name="principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
    <module-option name="rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
    </login-module>
    </authentication>
    </application-policy>
    <!-- Security domain for JBossMQ when using file-state-service.xml
    <application-policy name = "jbossmq">
    <authentication>
    <login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
    flag = "required">
    <module-option name = "unauthenticatedIdentity">guest</module-option>
    <module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
    </login-module>
    </authentication>
    </application-policy>
    -->
    <!-- Security domains for testing new jca framework -->
    <application-policy name="HsqlDbRealm">
    <authentication>
    <login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule" flag="required">
    <module-option name="principal">sa</module-option>
    <module-option name="userName">sa</module-option>
    <module-option name="password"/>
    <module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
    </login-module>
    </authentication>
    </application-policy>
    <application-policy name="JmsXARealm">
    <authentication>
    <login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule" flag="required">
    <module-option name="principal">guest</module-option>
    <module-option name="userName">guest</module-option>
    <module-option name="password">guest</module-option>
    <module-option name="managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
    </login-module>
    </authentication>
    </application-policy>
    <!-- A template configuration for the jmx-console web application. This
    defaults to the UsersRolesLoginModule the same as other and should be
    changed to a stronger authentication mechanism as required.
    -->
    <application-policy name="jmx-console">
    <authentication>
    <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
    <module-option name="usersProperties">props/jmx-console-users.properties</module-option>
    <module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
    </login-module>
    </authentication>
    </application-policy>
    <!-- A template configuration for the web-console web application. This
    defaults to the UsersRolesLoginModule the same as other and should be
    changed to a stronger authentication mechanism as required.
    -->
    <application-policy name="web-console">
    <authentication>
    <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
    <module-option name="usersProperties">web-console-users.properties</module-option>
    <module-option name="rolesProperties">web-console-roles.properties</module-option>
    </login-module>
    </authentication>
    </application-policy>
    <!-- A template configuration for the JBossWS web application (and transport layer!).
    This defaults to the UsersRolesLoginModule the same as other and should be
    changed to a stronger authentication mechanism as required.
    -->
    <application-policy name="JBossWS">
    <authentication>
    <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
    <module-option name="unauthenticatedIdentity">anonymous</module-option>
    </login-module>
    </authentication>
    </application-policy>
    <!-- The default login configuration used by any security domain that
    does not have a application-policy entry with a matching name
    -->
    <application-policy name="other">
    <!-- A simple server login module, which can be used when the number
    of users is relatively small. It uses two properties files:
    users.properties, which holds users (key) and their password (value).
    roles.properties, which holds users (key) and a comma-separated list of
    their roles (value).
    The unauthenticatedIdentity property defines the name of the principal
    that will be used when a null username and password are presented as is
    the case for an unuathenticated web client or MDB. If you want to
    allow such users to be authenticated add the property, e.g.,
    unauthenticatedIdentity="nobody"
    -->
    <authentication>
    <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"/>
    </authentication>
    </application-policy>
    </policy>
    This is : java.security
    # This is the "master security properties file".
    # In this file, various security properties are set for use by
    # java.security classes. This is where users can statically register
    # Cryptography Package Providers ("providers" for short). The term
    # "provider" refers to a package or set of packages that supply a
    # concrete implementation of a subset of the cryptography aspects of
    # the Java Security API. A provider may, for example, implement one or
    # more digital signature algorithms or message digest algorithms.
    # Each provider must implement a subclass of the Provider class.
    # To register a provider in this master security properties file,
    # specify the Provider subclass name and priority in the format
    # security.provider.<n>=<className>
    # This declares a provider, and specifies its preference
    # order n. The preference order is the order in which providers are
    # searched for requested algorithms (when no specific provider is
    # requested). The order is 1-based; 1 is the most preferred, followed
    # by 2, and so on.
    # <className> must specify the subclass of the Provider class whose
    # constructor sets the values of various properties that are required
    # for the Java Security API to look up the algorithms or other
    # facilities implemented by the provider.
    # There must be at least one provider specification in java.security.
    # There is a default provider that comes standard with the JDK. It
    # is called the "SUN" provider, and its Provider subclass
    # named Sun appears in the sun.security.provider package. Thus, the
    # "SUN" provider is registered via the following:
    # security.provider.1=sun.security.provider.Sun
    # (The number 1 is used for the default provider.)
    # Note: Statically registered Provider subclasses are instantiated
    # when the system is initialized. Providers can be dynamically
    # registered instead by calls to either the addProvider or
    # insertProviderAt method in the Security class.
    # List of providers and their preference orders (see above):
    security.provider.1=sun.security.provider.Sun
    security.provider.2=sun.security.rsa.SunRsaSign
    security.provider.3=com.sun.net.ssl.internal.ssl.Provider
    security.provider.4=com.sun.crypto.provider.SunJCE
    security.provider.5=sun.security.jgss.SunProvider
    security.provider.6=com.sun.security.sasl.Provider
    # Select the source of seed data for SecureRandom. By default an
    # attempt is made to use the entropy gathering device specified by
    # the securerandom.source property. If an exception occurs when
    # accessing the URL then the traditional system/thread activity
    # algorithm is used.
    # On Solaris and Linux systems, if file:/dev/urandom is specified and it
    # exists, a special SecureRandom implementation is activated by default.
    # This "NativePRNG" reads random bytes directly from /dev/urandom.
    # On Windows systems, the URLs file:/dev/random and file:/dev/urandom
    # enables use of the Microsoft CryptoAPI seed functionality.
    securerandom.source=file:/dev/urandom
    # The entropy gathering device is described as a URL and can also
    # be specified with the system property "java.security.egd". For example,
    # -Djava.security.egd=file:/dev/urandom
    # Specifying this system property will override the securerandom.source
    # setting.
    # Class to instantiate as the javax.security.auth.login.Configuration
    # provider.
    login.configuration.provider=com.sun.security.auth.login.ConfigFile
    # Default login configuration file
    login.config.url.1=C:\LMS\gsnx\core\src\conf\login.config
    # Class to instantiate as the system Policy. This is the name of the class
    # that will be used as the Policy object.
    policy.provider=sun.security.provider.PolicyFile
    # The default is to have a single system-wide policy file,
    # and a policy file in the user's home directory.
    policy.url.1=file:${java.home}/lib/security/java.policy
    policy.url.2=file:${user.home}/.java.policy
    # whether or not we expand properties in the policy file
    # if this is set to false, properties (${...}) will not be expanded in policy
    # files.
    policy.expandProperties=true
    # whether or not we allow an extra policy to be passed on the command line
    # with -Djava.security.policy=somefile. Comment out this line to disable
    # this feature.
    policy.allowSystemProperty=true
    # whether or not we look into the IdentityScope for trusted Identities
    # when encountering a 1.1 signed JAR file. If the identity is found
    # and is trusted, we grant it AllPermission.
    policy.ignoreIdentityScope=false
    # Default keystore type.
    keystore.type=jks
    # Class to instantiate as the system scope:
    system.scope=sun.security.provider.IdentityDatabase
    # List of comma-separated packages that start with or equal this string
    # will cause a security exception to be thrown when
    # passed to checkPackageAccess unless the
    # corresponding RuntimePermission ("accessClassInPackage."+package) has
    # been granted.
    package.access=sun.
    # List of comma-separated packages that start with or equal this string
    # will cause a security exception to be thrown when
    # passed to checkPackageDefinition unless the
    # corresponding RuntimePermission ("defineClassInPackage."+package) has
    # been granted.
    # by default, no packages are restricted for definition, and none of
    # the class loaders supplied with the JDK call checkPackageDefinition.
    #package.definition=
    # Determines whether this properties file can be appended to
    # or overridden on the command line via -Djava.security.properties
    security.overridePropertiesFile=true
    # Determines the default key and trust manager factory algorithms for
    # the javax.net.ssl package.
    ssl.KeyManagerFactory.algorithm=SunX509
    ssl.TrustManagerFactory.algorithm=PKIX
    # Determines the default SSLSocketFactory and SSLServerSocketFactory
    # provider implementations for the javax.net.ssl package. If, due to
    # export and/or import regulations, the providers are not allowed to be
    # replaced, changing these values will produce non-functional
    # SocketFactory or ServerSocketFactory implementations.
    #ssl.SocketFactory.provider=
    #ssl.ServerSocketFactory.provider=
    # The Java-level namelookup cache policy for successful lookups:
    # any negative value: caching forever
    # any positive value: the number of seconds to cache an address for
    # zero: do not cache
    # default value is forever (FOREVER). For security reasons, this
    # caching is made forever when a security manager is set.
    # NOTE: setting this to anything other than the default value can have
    # serious security implications. Do not set it unless
    # you are sure you are not exposed to DNS spoofing attack.
    #networkaddress.cache.ttl=-1
    # The Java-level namelookup cache policy for failed lookups:
    # any negative value: cache forever
    # any positive value: the number of seconds to cache negative lookup results
    # zero: do not cache
    # In some Microsoft Windows networking environments that employ
    # the WINS name service in addition to DNS, name service lookups
    # that fail may take a noticeably long time to return (approx. 5 seconds).
    # For this reason the default caching policy is to maintain these
    # results for 10 seconds.
    networkaddress.cache.negative.ttl=10
    # Properties to configure OCSP for certificate revocation checking
    # Enable OCSP
    # By default, OCSP is not used for certificate revocation checking.
    # This property enables the use of OCSP when set to the value "true".
    # NOTE: SocketPermission is required to connect to an OCSP responder.
    # Example,
    # ocsp.enable=true
    # Location of the OCSP responder
    # By default, the location of the OCSP responder is determined implicitly
    # from the certificate being validated. This property explicitly specifies
    # the location of the OCSP responder. The property is used when the
    # Authority Information Access extension (defined in RFC 3280) is absent
    # from the certificate or when it requires overriding.
    # Example,
    # ocsp.responderURL=http://ocsp.example.net:80
    # Subject name of the OCSP responder's certificate
    # By default, the certificate of the OCSP responder is that of the issuer
    # of the certificate being validated. This property identifies the certificate
    # of the OCSP responder when the default does not apply. Its value is a string
    # distinguished name (defined in RFC 2253) which identifies a certificate in
    # the set of certificates supplied during cert path validation. In cases where
    # the subject name alone is not sufficient to uniquely identify the certificate
    # then both the "ocsp.responderCertIssuerName" and
    # "ocsp.responderCertSerialNumber" properties must be used instead. When this
    # property is set then those two properties are ignored.
    # Example,
    # ocsp.responderCertSubjectName="CN=OCSP Responder, O=XYZ Corp"
    # Issuer name of the OCSP responder's certificate
    # By default, the certificate of the OCSP responder is that of the issuer
    # of the certificate being validated. This property identifies the certificate
    # of the OCSP responder when the default does not apply. Its value is a string
    # distinguished name (defined in RFC 2253) which identifies a certificate in
    # the set of certificates supplied during cert path validation. When this
    # property is set then the "ocsp.responderCertSerialNumber" property must also
    # be set. When the "ocsp.responderCertSubjectName" property is set then this
    # property is ignored.
    # Example,
    # ocsp.responderCertIssuerName="CN=Enterprise CA, O=XYZ Corp"
    # Serial number of the OCSP responder's certificate
    # By default, the certificate of the OCSP responder is that of the issuer
    # of the certificate being validated. This property identifies the certificate
    # of the OCSP responder when the default does not apply. Its value is a string
    # of hexadecimal digits (colon or space separators may be present) which
    # identifies a certificate in the set of certificates supplied during cert path
    # validation. When this property is set then the "ocsp.responderCertIssuerName"
    # property must also be set. When the "ocsp.responderCertSubjectName" property
    # is set then this property is ignored.
    # Example,
    # ocsp.responderCertSerialNumber=2A:FF:00

    user564785 wrote:
    I am trying to installl Oracle 11gR2 on VM machine with Redhat Linux 6-64bit. That is a Oracle database problem. Even though the Oracle product uses java it still represents a problem with that product (Oracle) rather than java. So you need to start with an Oracle database forum.

  • A COM exception has been encountered: At invoke of: ADD The server threw an

    Hi,
    we are using the Java Connector, and I can add or update Business Partners.
    But adding or updating an JournalVouchers allways throws the following COM Exception
    on a SBO 6.5. Our programm-code works on a SBO 6.2, but not on a SBO 6.5 ?
    What is wrong ? Can anybody tell us that ?
    Regards
    Jan Nielsen
    AMC-CONSULT A/S
    ====== error mesage ======
    com.sap.smb.sbo.wrapper.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Add
    Description: The server threw an exception.
    ====== Programcode ==============
    Created on 25-09-2003
    To change the template for this generated file go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    package amc.sap.util;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.Date;
    import amc.language.Language;
    import amc.xkernel.exception.SetThrowException;
    import amc.xkernel.global.BoxPane;
    import amc.xkernel.global.Convert;
    import amc.xkernel.global.DateX;
    import amc.xkernel.global.SysLog;
    import amc.sap.table.SalarySetupTable;
    import amc.sap.table.SalarySetupTrans;
    import com.sap.smb.sbo.api.IJournalEntries;
    import com.sap.smb.sbo.api.IJournalEntries_Lines;
    import com.sap.smb.sbo.api.IChartOfAccounts;
    import com.sap.smb.sbo.api.SBOCOMUtil;
    import com.sap.smb.sbo.api.SBOErrorMessage;
    import com.sap.smb.sbo.util.ConvertUtil;
    @author Administrator
    To change the template for this generated type comment go to
    Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class MultidataImport extends SAPLogonUtil
         private int lineNo = 0;
         public static void FileCopy(String srcFileName, String destFileName)
              try
                   File srcFile = new File(srcFileName);
                   if (srcFile.exists())
                        File destFile = new File(destFileName);
                        FileInputStream in = new FileInputStream(srcFile);
                        FileOutputStream out = new FileOutputStream(destFile);
                        int ret;
                        for (;(ret = in.read()) != -1;)
                             out.write(ret);
                        in.close();
                        out.close();
              catch (Throwable e)
                   SysLog.setError(e.getMessage(),"");
         private SBOErrorMessage errMsg = null;
         private IJournalEntries iJournalEntries = null;
         private IChartOfAccounts iChartOfAccounts = null;     
         private IJournalEntries_Lines iJournalEntries_Lines = null;
         private boolean iJournalEntriesOK = false;
         private int recCounter = 0;
         private SalarySetupTable salarySetupTable = null;
         private boolean errorsFound = false;     
         File fileName = null;
         public MultidataImport()
              super();
         public void insertRecord(String record) throws Exception
              try
                   SalarySetupTrans salarySetupTrans = new SalarySetupTrans();
                   String strDate = null;
                   Date entryDate = null;
                   String salaryCode = null;
                   String debetCredit = null;
                   String entryAccount = null;
                   String entryText = null;
                   String intAmount = null;
                   Double amount = Convert.string2Double("0.00");
                   Double emptyDouble = Convert.string2Double("0.00");
                   if (record.substring(0, 2).toString().equalsIgnoreCase("ML"))
                        /** Entrydate*/
                        strDate =
                             Convert.subString(record, 21, 4)
                                  + "-"
                                  + Convert.subString(record, 25, 2)
                                  + "-"
                                  + Convert.subString(record, 27, 2);
                        entryDate = ConvertUtil.DateString2Date(strDate);
                        /** Salarycode */
                        salaryCode = Convert.subString(record, 38, 4);
                        /** Identyfier for Debet or Credit amount */
                        debetCredit = Convert.subString(record, 42, 1);
                        /** Amount */
                        intAmount =
                             Convert.subString(record, 43, 10)
                                  + "."
                                  + Convert.subString(record, 53, 2);
                        amount = Convert.string2Double(intAmount);
    Fillout the IJournalEntries
                                                                salarySetupTrans.setWhereFirstOnly(SalarySetupTrans.SalaryId"='"salaryCode+"'");
                        if (iJournalEntriesOK == false)
                             iJournalEntries.setMemo(Language.get("@ImportML"));
                             iJournalEntries.setReferenceDate(entryDate);
                             iJournalEntries.setStornoDate(entryDate);
                             iJournalEntries.setTaxDate(entryDate);
                             iJournalEntries_Lines = iJournalEntries.getLines();     
                             iJournalEntriesOK = true;
                        if (iJournalEntriesOK == true)
    Fillout the IJournalEntries_Lines
                             /** Fetch account from from DB */
                             entryAccount = salarySetupTrans.accountId;
                             /** Fetch Entrytext from DB */
                             entryText = salarySetupTrans.entryText;
                             /** Make debet Line. */
                             if(lineNo >= 1)
                                  lineNo = lineNo + 1;                         
                                  Integer integer_ = new Integer(lineNo);
                                  iJournalEntries_Lines.setCurrentLine(integer_);
                             iJournalEntries_Lines.setAccountCode(entryAccount);     
                             if (debetCredit.equalsIgnoreCase("+"))
                                  iJournalEntries_Lines.setDebit(amount);
                                  iJournalEntries_Lines.setCredit(emptyDouble);                              
                             else
                                  iJournalEntries_Lines.setCredit(amount);
                                  iJournalEntries_Lines.setDebit(emptyDouble);
                             iJournalEntries_Lines.setDueDate(entryDate);
                             iJournalEntries_Lines.setLineMemo(entryText);
                             iJournalEntries_Lines.setReferenceDate1(entryDate);
                             iJournalEntries_Lines.setShortName(entryAccount);
                             iJournalEntries_Lines.setTaxDate(entryDate);
                             iJournalEntries_Lines.add();
                             errMsg = iCompany.getLastError();
                             if (errMsg.getErrorCode() != 0)
                                  iJournalEntriesOK = false;
                                  throw new Exception("Could not create Journalentry "
                                                                  + "\nReason code: "
                                                                + errMsg.getErrorCode()
                                                                + "\nLongtext: "
                                                                + errMsg.getErrorMessage());
                             lineNo = lineNo + 1;                         
                             Integer integer1_ = new Integer(lineNo);
                             iJournalEntries_Lines.setCurrentLine(integer1_);
                             /**  Make credit Line */
                             /** Fetch setoffaccount from from DB */
                             entryAccount = salarySetupTrans.setOffAccountId;                         
                             iJournalEntries_Lines.setAccountCode(entryAccount);                         
                             if (debetCredit.equalsIgnoreCase("+"))
                                  iJournalEntries_Lines.setDebit(emptyDouble);
                                  iJournalEntries_Lines.setCredit(amount);                              
                             else
                                  iJournalEntries_Lines.setCredit(emptyDouble);
                                  iJournalEntries_Lines.setDebit(amount);
                             iJournalEntries_Lines.setDueDate(entryDate);
                             iJournalEntries_Lines.setReferenceDate1(entryDate);
                             iJournalEntries_Lines.setShortName(entryAccount);
                             iJournalEntries_Lines.setTaxDate(entryDate);
                             iJournalEntries_Lines.setLineMemo(entryText);                         
                             iJournalEntries_Lines.add();
                             recCounter = recCounter + 1;
                             errMsg = iCompany.getLastError();
                             if (errMsg.getErrorCode() != 0)
                                  iJournalEntriesOK = false;
                                  throw new Exception("Could not create Journalentry "
                                                                + "\nReason code: "
                                                                + errMsg.getErrorCode()
                                                                + "\nLongtext: "
                                                                + errMsg.getErrorMessage());
              catch (SetThrowException s)
                   SysLog.setError(s.getMessage(),"");
              catch (Exception e1)
                   SysLog.setError(Language.get("@AddFail"),e1.toString());
         public void validateRecord(String record) 
              try
                   SalarySetupTrans salarySetupTrans = new SalarySetupTrans();
                   String salaryCode = null;
                   if (record.substring(0, 2).toString().equalsIgnoreCase("ML"))
                        /** Entrydate*/
                        //** Salarycode */
                        salaryCode = Convert.subString(record, 38, 4);
                        /** Identyfier for Debet or Credit amount */
    Check salarycodes and SAP Ledgeraccounts
                        salarySetupTrans.setWhereFirstOnly(SalarySetupTrans.SalaryId"='"salaryCode+"'");
                        if(!salarySetupTrans.found())
                                            SysLog.setError(Language.get("@SalarycodeNotFound",salaryCode),Language.get("@SalarycodeNotFoundHELP"));
                             errorsFound = true;                         
                        else
                             if(salarySetupTrans.accountId == "")
                                  SysLog.setError(Language.get("@AccountIdNotFound",salaryCode),Language.get("@AccountIdNotFoundHELP"));
                                  errorsFound = true;                         
                             else
                                  if(!iChartOfAccounts.getByKey(salarySetupTrans.accountId))
                                       SysLog.setError(Language.get("@AccountIdNotExist",salarySetupTrans.accountId),Language.get("@AccountIdNotExistHELP"));
                                       errorsFound = true;                         
                             if(salarySetupTrans.setOffAccountId == "")
                                  SysLog.setError(Language.get("@SetOffAccountIdNotFound",salaryCode),Language.get("@SetOffAccountIdNotFoundHELP"));
                                  errorsFound = true;                         
                             else                                             
                                  if(!iChartOfAccounts.getByKey(salarySetupTrans.setOffAccountId))
                                       SysLog.setError(Language.get("@SetOffAccountIdNotExist",salarySetupTrans.setOffAccountId),Language.get("@SetOffAccountIdNotExistHELP"));
                                       errorsFound = true;                         
                   else
                        SysLog.setInfo(Language.get("@WrongFileType",fileName.getAbsolutePath()),Language.get("@WrongFileTypeHELP"));
                        errorsFound = true;
                        return;                              
              catch (SetThrowException i)
                   SysLog.setError(i.getMessage(),"");
         public void run(boolean showBoxes)
              int je;
              String fileNameStr = null;
              File                     backupFile                = null;
              File                     backupDir                = null;
              FileReader fileReader = null;
              BufferedReader read = null;
              String readLine = null;
              String content = null;
              iJournalEntriesOK = false;
              if (iCompany == null)
                   MultidataImport.tryLogon(false);
              if (iCompany == null)
                   return;
              try
                   salarySetupTable = new SalarySetupTable();
                   salarySetupTable.setWhereFirstOnly();
                   fileNameStr = salarySetupTable.salaryImportFile;
                   if (fileNameStr == null || fileNameStr.equalsIgnoreCase(""))
                        SysLog.setError(Language.get("@NoImportfile"),Language.get("@NoImportfileHELP"));
                        return;
                   backupFile = new File(salarySetupTable.salaryMoveTo"
    "DateX.getSystemDateString()Convert.stringRemove( DateX.getSystemTime(),":")".bak");
                   backupDir  = new File(salarySetupTable.salaryMoveTo);
                   fileName   = new File(fileNameStr);
                   if (!fileName.exists())
                        SysLog.setError(Language.get("@FileNoExist",fileName.getAbsolutePath()),Language.get("@FileNoExistHELP"));               
                        return;
                   if ( !backupDir.exists() )
                        SysLog.setError(Language.get("@BackupDirNoExist",backupDir.getAbsolutePath()),Language.get("@BackupDirNoExistHELP"));                    
                        return;
                   if(showBoxes)
                        if (BoxPane.okCancel(Language.get("@OKtoImport")" "Language.get("@Multidata"),"Multidata-import") != 0)
                        return;
                   iJournalEntries  = SBOCOMUtil.newJournalEntries(iCompany);
                   iChartOfAccounts = SBOCOMUtil.newChartOfAccounts(iCompany);               
                   fileReader = new FileReader(fileName);
                   read = new BufferedReader(fileReader);
                   while (((readLine = read.readLine()) != null))
                        content = readLine;
                        if (!content.equalsIgnoreCase(""))
                             this.validateRecord(content);
                   if(errorsFound == true)
                        SysLog.setError(Language.get("@ErrorsFound"),Language.get("@ErrorsFoundHELP"));
                        fileReader.close();
                        read.close();
                        return;
                   fileReader.close();
                   read.close();
                   fileReader = new FileReader(fileName);
                   read = new BufferedReader(fileReader);
                   while (((readLine = read.readLine()) != null))
                        content = readLine;
                        if (!content.equalsIgnoreCase(""))
                             this.insertRecord(content);
                   if (iJournalEntriesOK == true)
                        je = iJournalEntries.add();
                        if (je != 0L)
                             iJournalEntriesOK = false;
                             errMsg = iCompany.getLastError();
                             SysLog.setError(Language.get("@NotCreatedJEntry")
                                                                + "\n"+Language.get("@ReasonCode")
                                                                + errMsg.getErrorCode()
                                                                + "\n"+Language.get("@ErrorMessage")
                                                                + errMsg.getErrorMessage()
                                                                ,Language.get("@ConnectErrorHELP"));
                        else
                             SysLog.setInfo(Language.get("@CreatedJEntry",String.valueOf(recCounter)),"");
                   if(iJournalEntriesOK == true)
                        FileCopy(fileName.getAbsolutePath(),backupFile.getAbsolutePath());
                   fileReader.close();
                   read.close();
                   if (backupFile.exists())
                        fileName.delete();
              catch (SetThrowException t)
                   SysLog.setError(t.getMessage(),"");
              catch (IOException i)
                   SysLog.setError(i.getMessage(),"");
              catch (Exception s)
                   SysLog.setError(s.getMessage(),"");

    After a long search I have found the answer to this proproblem myself on service.sap.com/smb note-no 706379. I have tryed it out and it WORKS. Please read the following text that explains the problem and the solution :
    Symptom
    Following exception or similar text found in the failed response message
    COM exception has been encountered: At Invoke of: Add
    Description: The server threw an exception.
    Other terms
    SBO ITK, Java Connector, SBO SDK, DI-API, SAP J2EE 6.20
    Reason and Prerequisites
    Note 642676 explains this problem in a detail.
    In a brief, the main stack size is not large enough causes this
    exception.
    Solution
    First of all, please find from which exe file the J2EE server started. For starting in the console with go.bat, the exe may be java.exe under %JAVA_HOME%\bin (Please check the path setting for which java.exe
    to be used. Normally, it may be C:\WINDOWS\SYSTEM32\java.exe,
    %JAVA_HOME%\bin\java.exe, %JAVA_HOME%\jre\bin\java.exe,
    or C:\Program Files\JavaSoft\JRE\1.3.1_08\bin\java.exe)
    For starting as the windows service, you can find the exe as following:
    1. Open the service from Start -> Setting -> Control Panel ->
       Adiministrative Tools -> Services
    2. Find the service to start SAP J2EE 6.20 of ITK, for example,
        "SAP J2EE Engine Alone"
    3. Open the properites window of this service, you can find the exe    in "Path to excutable", for example,    d:\SAP_J2EEngine6.20\configtool\alone.exe
    Second, prepare the tools to do the patch. If you have installed
    Microsoft Visual Studio 6.0, you have the right tools. We need
    a. editbin.exe, to patch the exe.
    b. dumpbin.exe, to check the stacksize.
    c. link.exe and MSPDB60.DLL to run above two tools.
    Third, patch the exe:
    1. BACKUP THE ORIGINAL EXE, JAVA.EXE OR ALONE.EXE
    2. Use dumpbin.exe to check the original stack size
       dumpbin.exe /headers alone.exe
       find line: 40000 size of stack reserve
       It means the current stack size is 256k
    3. Use editbin.exe to patch the exe, for example with 2m stack size
       2m = 2 * 1024 *1024 bytes = 2097152 bytes
       editbin.exe /stack:2097152 alone.exe
    4. Use dumpbin.exe to verify the patch.
       dumpbin.exe /headers alone.exe
       find line: 200000 size of stack reserve
       It means the current stack size is 2m
    Last step, start the J2EE server again and see whether everything
    is OK.
    For service, we also recommend you patch    d:\SAP_J2EEngine6.20\configtool\service.exe All installed service exe file, for example alone.exe will be copied from this file. Patch this file will avoid patch each duplicated exe file then.
    Regards
    Jan Nielsen
    AMC-CONSULT A/S

Maybe you are looking for

  • Rollovers with Pop up Menu

    The last time I tried to do rollovers with a pop up menu in Dreamweaver 8. It wouldn't work. So I'm searching for another way to do it. I created navigation using Fireworks - follow link below to example. But when I mouse over the rollover that has a

  • Taking user input in a PL/SQL block

    Can someone tell me if it is possible to to take user input from within a PL/SQL loop? I mean I want that for each iteration in the loop, the program first take user input, and then based on that input, it perform specific operations. Then it repeats

  • Problem - new MacBook Air cannot see external HD

    Hi, I'm hoping someone can help, as I have seen similar questions in the forums, but not with an answer that helps me solve my problem. Ok, I have a new MacBook Air running Lion (bought last year), a MacBook Pro running Leopard which is approx 4 year

  • Viewing accounts on Experian

    I have MyFICO, Credit Karma, CapOne Credit Tracker and LifeLock CMS but I'm looking for a way view my current Experian collection accounts (not score). MyFICO does not show you current accounts or specific accounts that have dropped (not that I can f

  • I forgot my question security apps store help

    i forgot my question security apps store help <Edited By Host>