Preventing the Java stack crashing due to memory issues

Hi all,
We have a SAP PI 7.0 installation and we have encountered issues with Java mappings utilizing all available memory on the Java stack and causing the server to slow and eventually crash. The original issue was caused by a poorly coded map, but as this is a large installation we want to protect ourselves against any other poor coding that may be on the system or introduced later.
Are there any configuration options within the WEB AS whereby we can either limit the amount of memory available to the execution of any one mapping, or that will enable the server to stop processing once a set limit is reached?
Any help will be much appreciated.
Many thanks
Ian

HI,
Pls find the below links about javastack
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
pls find the below links for java stack trouble shooting.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/(Kernel)OOM
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/commonissues__vmsettings
Reward points if needful.
Thanks,
RamuV

Similar Messages

  • Jboss Server crashing due to memory  issues.

    The Jboss Server is crashing with some core dumps. We could see the following error messages :
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=HEX, pid= [PID] , tid= [TID]
    # Java™ VM: Java HotSpot(TM) Server VM (1.5.0_XX mixed mode)
    # Problematic frame:
    # C [libc_psr.so.1+HEX] memset+0x88
    Since I guess this is to do with the memory size related to JVM , does increasing the –Xss param to 128K help us to resolve this issue ?? Any other ideas/solutions ??

    HI,
    Pls find the below links about javastack
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    pls find the below links for java stack trouble shooting.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/(Kernel)OOM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/commonissues__vmsettings
    Reward points if needful.
    Thanks,
    RamuV

  • Agent issue:Oracle keeps proposing enlarging the memory of the java stack

    Hi,
    Our PROD agent suddenly started not responding . The package showing execution in monitor without showing what code it is executing. This continuously exeecuting package then we had to set to error and then we went with execution with Local(no agent) which got executed successfuly in prod but still having issues with PROD agent.
    Oracle proposed the sol- "Oracle keeps proposing enlarging the memory of the java stack " The sol worked for few days and again facing the same issue. One of the
    query raised by oracle is
    "Ask the developers if they are using standard transaction processing knowledge modules and if they have considered using BULK loading type knowledge modules ? Please
    ask them for the precise name of the Knowledge Modules used and if they have been customized or not"
    How to identify this in detail? Any clue . We are using the standard KM and havent customized any KM
    With Thanks,
    Shilpa Dhote

    The question is what Knowledge modules are you using? Some use Bulk type processing, others transaction based. You can list knowledge modules by interface using a SQL query like this one :
    http://odiexperts.com/kms-in-each-interface

  • Trying to determine if we need the Java stack for ERP 6.0 upgrade

    An issue we have regarding our research of a potential ERP upgrade to 6.0 has to do with the potential requirement to add the Java stack to the WAS engine that support our ERP.  This appears significant due to the impact on infrastructure requirements and operational support.  Based on the master guide for ERP 6.0, it appears that the following components would require the Java stack or usage type AS-Java:
    - Biller Direct 6.0
    - Learning Solution LSO (CP) 600
    - ESS/MSS -- XSS 6.0
    - Extended E-selling Components, XECO 5.0
    - Enterprise Portal Content for Business Packages
    - XI Content, Elster 2.0
    Is this the complete list?  Will other components of ERP or ehp's  require the Java stack in the future?  How likely is it that the Java stack will become a requirement for us to support ERP?
    Thanks,
    Thomas

    Yes, this is correct if Java Stack is already install but I understand from the question that they do not have Java installed already so if they plan to go to ECC 6.0 ABAP Stack they won´t need to install Java stack before or after upgrade.
    They only need to do it´s upgrade to Abap stack to ECC 6.0 and in fact if actual 4.7 is non unicode they won´t need to make it unicode before or after either, just when installing ECC 6.0 SR3 then Unicode is the only way to intall it.

  • Couldnt upgrade the  java stack  after upgrading the abap to ehp1

    Hi
    I have upgarded the  system to ehp1 but i couldnt continue to upgarde the java stack  to 18th patch.The reason is it coudlnt find the  file JSPM02P-2-20002796.SCA. I couldnt find this file .   i couldnt find only this file   JSPM02P_4-20002796.SCA . I tried to put this file in inbox and tried to run the jspm but it is not recognizing this as a valid file and its expecting   JSPM02P-2-20002796.SCA. I couldnt find this file can anyone suggest me where i could find this file.
    Thanks and Regards
    MA.Sreenivasan

    When you download the files, be sure to select "Save As File", which next to the "Add to Download Basket" button. Copy that SPStab.xml file to your EPS/in directory. Without that, it won't recognize the files even if they are there.

  • How is the interface between the Java Stack and ABAP stack is achieved?

    How is the interface between the Java Stack and ABAP stack is achieved?..Please send me the answer to [email protected]

    Hi,
    By interface, I assume you mean the connection between the ABAP and the Java stacks in a double stack system.
    The connection from Java to ABAP is through JCo connections defined in the WebDynpro section of the J2EE start page. So Java to ABAP requests are processed through JCo.
    The connection from ABAP to Java is through RFC connections defined in TA SM59. The ABAP to Java requests are processed through RFC.
    Refer https://dsd.esco-salt.com/StartPage/documents/integration/3.html for detailed explanation.
    The UME can be maintained in either ABAP or in JAVA depending on the persistence.
    Refer: http://help.sap.com/saphelp_nw70/helpdata/en/5b/5d2706ebc04e4d98036f2e1dcfd47d/frameset.htm
    Check UME data source configuration.
    Some quick FAQs can be found at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad47eb90-0201-0010-7cb2-ddfa5ed879ec
    Hope this helps.
    Best Regards,
    Srividya.R

  • Communication between UME on the Java Stack and ABAP Stack

    Please look for the thread
    Unable to log on to IR, ID, SLD....
    before going any further. This thread follows.
    The prob in brief is that,
    On XI homepage, I am not able to get into anything after I entered the user name and pw.
    I have some roles SAP_XI_ADMINISTRATOR for my user. I have checked in SU01 on ABAP Stack.
    I thought that the error could be that the UME on the Java Stack is not able to communicate with the ABAP stack.
    Any direction on this would really help me.
    Regards,
    -Naveen.

    Can any one help me in this.
    -Naveen.

  • ADS in the Java stack of a Dialog instance on Windows + CI on iSeries

    Hi,
    I read the document "Using Adobe Document Services with SAP on IBM DB2 for i5/OS".
    Summary of the document -
    There are two possible technical scenarios:
    1. ADS in the Java stack of a Dialog instance on Windows
    1.1. ABAP+Java dialog instance on Windows
    1.2. Java dialog instance on Windows
    2. ADS in a SAP system on a supported platform
    2.1. ABAP+Java central instance on Windows/Unix
    2.2. Java central instance on Windows/Unix
    The document recomammeds technical scenario 1, that is, install a Windows Dialog instance.
    Choosing an ABAP+Java or Java system depends on the usage scenario for Interactive Forms:
    - Interactive PDF use: Java mandatory, ABAP+Java possible
    - Interactive use in SAP Maanger Self_Services/batching of forms:
    ABAP+Java mandatory but Note 993612 describes the status for NW04s SP12 onwards.
    End of summary -
    Our prefered rechnical scenario is: "1.2. Java dialog instance on Windows" to minimice resources.
    Our usage scenario for Interactive Forms includes "SAP Manager Self- Services".
    Our interpretation of note 993612 is that we do not need double stack installation. Could you confirnm this ?.
    If yes, we are going to install a Java Dialog instance on Windows connected to our Java Central instance on iSeries (our SAP Portal system) to use ADS.
    Best regards.

    Hello Torrell,
    your statements sound reasonable, also including SAP Note 993612.
    To decide, though, whether a single stack would be enough (especially based on the aforementioned note), you will need the advise of an ADS application expert (or someone else who has implemented your scenario, independent of the platform).
    I thus assume that you will not get an answer in this forum. Your question is ADS application specific.
    When you know for sure that a single stack will be enough, your approach to use a Windows dialog instance will be fine.
    Best regards, Barbara

  • How to access the java stack table "xi_af_msg" from the ABAP engine.

    Hello Guys,
    How to access the java stack table "xi_af_msg" from the ABAP engine.
    I need to access this table.

    These 3 are the tables that are for XI Adapter in ABAP Stack.
    SWFRXICNT
    SWFRXIHDR
    SWFRXIPRC
    You can also try the following tables.
    SXMSAEADPMOD                   XI: Adapter and Module Information
    SXMSAEADPMODCHN                XI: Adapter Module Chains
    SXMSAEAGG                      XI: Adapter Runtime Data (Aggregated)
    SXMSAERAW                      XI: Adapter Runtime Data (Raw Data)
    Cheers,
    Sarath.
    Award if helpful.

  • Problem to start the java stack . its not kernel. its java stack CAF

    Hello SAP,
    We have a problem to start the java stack. We saw in the SAP
    Managementconsole that the instances are running,
    The problem began after the deployment of the sap.com/CAF increaseing
    from patch 6 to 12. After that we make the update from 12 to 12.1
    The current kernel is number 95, the latest one.
    This plattform is Netweaver 04‘S.
    The B2C applications are stopped
    We hope you help us as soon as possible , because we are getting late
    with the project.
    My email:
    [email protected],
    ***send me and email and I can send you the files:
    *error in java stack.doc  (detail of the error)
    *the directory work
    *and the log file of the SDM is attached in the file information_log_SDM.txt
    The log file of de E:\usr\sap\CRD\DVEBMGS01\SDM\program\log
    is also attached in the file sdmcl20070716142953.log
    thanks for your fast answer
    Best Regards,
    Luis Moreno

    aply the note: 1010640 and later restart the system
    Luis Moreno

  • Application is not working due to memory issue

    Hi Friesnds,
    Kindly help me regarding settings in java. Scenario is like that. I have one server having two jboss versions (jboss-4.2.3 GA and jboss- 3.2.6). Each having java memory (JVM settings) 1 GB. The total memory of that server is 3 GB.
    Problem is that every two days my application is not working due to memory issue. Once i freed the memory (through run the commands - (1). sync
    (2). echo 3 > /proc/sys/vm/drop_caches
    Application works fine.
    I heared that the above command (echo 3 > /proc/sys/vm/drop_caches) can't run frequently because of server crash.
    Kindly help me regarding this issue and provide the resolution.
    Let me know if you need more information from my side.
    Thanks
    Ashish Shukla

    All of the above.  I tested on 4 different networks and had no luck, I also had friends test my network and the other networks with their iPhones and all had no issues using FaceTime.
    Also after I wiped my phone (erased all content and settings) I was able to successfully initiate a FaceTime call with no changes to my network and was also able to initiate another call when connected to another previously tested network that didn't work before.  Once I restored from backup though, FaceTime stopped working again.
    I did find this discussion: https://discussions.apple.com/thread/5163024?start=0&tstart=0
    and tried the suggestions found there too.  That discussion describes my issue I am having as well.

  • Java application crashes due to some problem in native  code

    Hi All
    I have a Java application that calls APIs in a 3rd party DLL(I don't have access to its source code or logs) through my VC++ DLL(Win32) that acts as the wrapper DLL.
    The Application has many functionalities and is based on multithreading (both on Java layer as well as C++ layer). Most of the functionalities are working , but when I try to close the application, it crashes.
    Moreover the crashing occurs inconstently, sometimes it does not crash. Instead of showing any debug information , it simply creates a error file with disassembly code that I am not able to understand.
    Though the error seems like an java error, but actually it seems to be due to native code. I have try catch blocks in my code and also implemented settranslator functionality to get hold of structured/C exceptions. But still I am not able to catch any exceptions.
    I am pasting the the contents of the file here:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c9111de, pid=488, tid=1848
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
    # Problematic frame:
    # C [ntdll.dll+0x111de]
    --------------- T H R E A D ---------------
    Current thread (0x009d1790): JavaThread "CompilerThread0" daemon [_thread_in_native, id=1848]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000001
    Registers:
    EAX=0x00000001, EBX=0x00030000, ECX=0x02d17a18, EDX=0x00030278
    ESP=0x02c2f8e8, EBP=0x02c2fb08, ESI=0x02d17a10, EDI=0x00000001
    EIP=0x7c9111de, EFLAGS=0x00010202
    Top of Stack: (sp=0x02c2f8e8)
    0x02c2f8e8: 009fa9a0 000000c0 00000008 0811d3d8
    0x02c2f8f8: 0000000c 00a2c0e0 00000003 00000004
    0x02c2f908: 08018216 00000001 02c2fcc4 08018385
    0x02c2f918: 00000002 00000001 02c2f93c 02d06d0c
    0x02c2f928: 0802a50a 00000000 00000001 02c2f93c
    0x02c2f938: 04a3cb4c 02d01008 02c2f964 0802a850
    0x02c2f948: 02c2f96e 00000000 00000007 00000000
    0x02c2f958: 04a3cb38 00000004 08018216 00000001
    Instructions: (pc=0x7c9111de)
    0x7c9111ce: 39 89 bd 0c ff ff ff 8b 46 0c 89 85 68 ff ff ff
    0x7c9111de: 8b 10 3b 57 04 0f 85 8c 31 02 00 3b d1 0f 85 84
    Stack: [0x02bf0000,0x02c30000), sp=0x02c2f8e8, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [ntdll.dll+0x111de]
    C [MSVCRT.dll+0x1c3c9]
    C [MSVCRT.dll+0x1c3e7]
    C [MSVCRT.dll+0x1c42e]
    V [jvm.dll+0xacda9]
    V [jvm.dll+0x17102]
    V [jvm.dll+0x16c8d]
    V [jvm.dll+0x16dca]
    V [jvm.dll+0x170a7]
    V [jvm.dll+0x172e8]
    V [jvm.dll+0x4dc65]
    V [jvm.dll+0x4d894]
    V [jvm.dll+0xd3a36]
    V [jvm.dll+0xd3a04]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb683]
    Current CompileTask:
    HotSpot Client Compiler:423 b sun.awt.AWTAutoShutdown.isReadyToShutdown()Z (33 bytes)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x049d6328 JavaThread "Thread-19" [_thread_blocked, id=1440]
    0x049d24d0 JavaThread "Thread-18" [_thread_blocked, id=3620]
    0x049d40c8 JavaThread "Thread-17" [_thread_blocked, id=2476]
    0x02df0538 JavaThread "TimerQueue" daemon [_thread_blocked, id=3876]
    0x00036a78 JavaThread "DestroyJavaVM" [_thread_blocked, id=2448]
    0x02e43768 JavaThread "Thread-6" [_thread_blocked, id=3664]
    0x02e23130 JavaThread "Thread-4" [_thread_blocked, id=2816]
    0x02e21d08 JavaThread "Thread-2" [_thread_blocked, id=3344]
    0x02da3f78 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2528]
    0x02da3268 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4008]
    0x02d91f90 JavaThread "AWT-Windows" daemon [_thread_blocked, id=648]
    0x02d3a478 JavaThread "AWT-Shutdown" [_thread_blocked, id=2988]
    =>0x009d1790 JavaThread "CompilerThread0" daemon [_thread_in_native, id=1848]
    0x009d0a90 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3568]
    0x009ce128 JavaThread "Finalizer" daemon [_thread_blocked, id=1824]
    0x009ccda0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3280]
    Other Threads:
    0x00a0b6e8 VMThread [id=608]
    0x00a0d620 WatcherThread [id=3012]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 640K, used 583K [0x10010000, 0x100c0000, 0x104f0000)
    eden space 576K, 90% used [0x10010000, 0x10091e40, 0x100a0000)
    from space 64K, 99% used [0x100b0000, 0x100bfff8, 0x100c0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 7772K, used 5451K [0x104f0000, 0x10c87000, 0x14010000)
    the space 7772K, 70% used [0x104f0000, 0x10a42d80, 0x10a42e00, 0x10c87000)
    compacting perm gen total 8192K, used 8137K [0x14010000, 0x14810000, 0x18010000)
    the space 8192K, 99% used [0x14010000, 0x148024e8, 0x14802600, 0x14810000)
    Dynamic libraries:
    0x00400000 - 0x0040b000 c:\dcsthick\jre\bin\java.exe
    0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000 C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08143000 c:\dcsthick\jre\bin\client\jvm.dll
    0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
    0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
    0x10000000 - 0x10007000 c:\dcsthick\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
    0x00390000 - 0x0039e000 c:\dcsthick\jre\bin\verify.dll
    0x003b0000 - 0x003c9000 c:\dcsthick\jre\bin\java.dll
    0x003d0000 - 0x003de000 c:\dcsthick\jre\bin\zip.dll
    0x02e70000 - 0x02f84000 C:\dcsthick\jre\bin\awt.dll
    0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
    0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000 C:\WINDOWS\SYSTEM32\uxtheme.dll
    0x02fe0000 - 0x03031000 C:\dcsthick\jre\bin\fontmanager.dll
    0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
    0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
    0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
    0x03320000 - 0x0333c000 C:\dcsthick\lib\CrewsDmApiJniNt.dll
    0x031b0000 - 0x031bb000 c:\dcsthick\lib\CRWNT_DM.dll
    0x03240000 - 0x03249000 c:\dcsthick\lib\BAT_API.dll
    0x03340000 - 0x03352000 c:\dcsthick\lib\DC_DSM32.dll
    0x03360000 - 0x03369000 c:\dcsthick\lib\CRWTOOLS.dll
    0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
    0x03370000 - 0x0337a000 c:\dcsthick\lib\PMAPI.dll
    0x5d090000 - 0x5d12a000 C:\WINDOWS\system32\COMCTL32.dll
    0x03790000 - 0x037b2000 c:\dcsthick\ResaDLL\DC_DSMNB.dll
    0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
    0x038d0000 - 0x038f2000 c:\dcsthick\ResaDLL\DC_DSMIP.dll
    0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll
    0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
    0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
    0x66580000 - 0x6658f000 C:\WINDOWS\system32\pnrpnsp.dll
    0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
    0x032e0000 - 0x0330a000 C:\dcsthick\lib\ResaHostConnection.dll
    0x03250000 - 0x03257000 c:\dcsthick\lib\CRWNT_GWALC.dll
    0x03310000 - 0x03319000 c:\dcsthick\lib\ALCAPI.dll
    0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
    0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
    0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    VM Arguments:
    jvm_args: -Dcfdynaproppath=c:\dcsthick/config/ -Dcfdynapropxml=RESA_KCOdynamicproperties.xml -DConfigPath=c:\dcsthick/config/RESA_KCOConfig.xml -DResolution=High -DWorkstationID=GWGTE -DMode=GateBoarding -DlogPath=c:\temp\kcologs -DlogInformation=0 -DGateway=ALCSQ1 -DNetBiosPort=A
    java_command: com.singaporeair.dcs.standalone.application.model.ApplicationModel SQ/IGATEADXX
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=c:\dcsthick\jre\bin
    PATH=c:\dcsthick\jre\bin;c:\dcsthick/lib;c:\dcsthick/ResaDLL
    USERNAME=USER
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1039600k(565656k free), swap 2501208k(2091128k free)
    vm_info: Java HotSpot(TM) Client VM (1.4.2_14-b05) for windows-x86, built on Mar 14 2007 16:46:11 by "java_re" with MS VC++ 6.0
    The JAVA Application during initialisation establishes a connection with the host server for various devices. For each of the device it establishes a separate connection and keeps listening on these connections using multithreading.
    During App close, we need to close each of these connections one by one for each device.
    The opening /closing of connection is done by 3rd party DLL and call to there APIs is done through a C++ Wrapper DLL that I have built between the Java layer and their DLL.
    When we close the Application, I am always able to close the connections on the first 2 devices. Then all of a sudden it crashes either for the 3rd device conn. close or for the 4th one. The code is the same for all the devices . That too sometimes it just goes fine without crashing. If its a null pointer exception, why is it that it crashes on some occassions and not in other times. More importantly, why is it that it does not fail for the first 2 devices , but fails for the 3rd or 4th device connection close?
    Can please anyone help me. Please suggest me as to how I can determine the cause of the error.
    And is this error really coming in ntdll.dll or is it getting caused of my dll?

    The opening /closing of connection is done by 3rd party DLL and call to there APIs is done through a C++ Wrapper DLL that I have built between the Java layer and their DLL.The specific error indicates a pointer/memory problem.
    The first place that is likely is in your code.
    The second most likely place for the cause is because you are using the third party library incorrectly. For example before exiting you are supposed to clean up resources and you are not doing so.
    As a remote possibility, much less likely that either of the above, there is a bug in jnative or in the 3rd party library.

  • Access to the JAVA Stack of PI system

    Hi,
    User want access to JAVA Stack in PI System.
    Below is the message while user try to logon to Integration Builder in SAP NetWeaver for the PI Portal:
    "No authorization for this action".
    Kindly let us know how access to JAVA stack is possible?
    Thanks and Regards,
    Sachin.

    Hi,
           At present i would like to go for Alert configuration as Raja sekhar suggested. I reffered number of blogs contains how to get alert mail (through Alrtcatdef and scot ) but i need how to get Alert as SMS. where can i specify the mobile numbers and how to do it. Please do the needful.
    Regards,
    srihari.

  • At UNIX, where to find out when the Java stack was re-started?

    On the NT platform, we can check Java stack's restart time from SAPMMC.
    Could anybody tell on UNIX, where to check this?
    I looked into SMICM but no findings.
    Thanks!

    Hi,
    You can restart Java Stack from SMICM transaction. i.e SMICM-->Administration and you get many options
    and in the ICM trace file you get these options , I think.. For this SMICM and DisplaY all ...
    Regards,
    moorthy

  • What are the applications run on the Java Stack ?

    Hi all,
    Our SAP System is being upgraded to 6.o . Basis team is telling that they will not install a java stack as it need more time & extra resources. Just we want to know the list of applications OR Functionality  which need  java stack . And also in future  if we want to go for new technologies  which avaliable on SAP ,  Would this affect( missing java stack ) ?  Advanced thanks for all your suggestions.
    Thanks
    Suds

    Hi,
    For what purpose you want Java stack ?
    Thanks
    Sunny

Maybe you are looking for

  • I have 4 devices all varying ages and versions how do I get them all to one account?

    I have 2 old iPods with a shared itunes account but different email accounts synced to a computer we no longer have. I have an old iPad (4.xxx I don't know what version) that when first synced to the old computer crashed it and the reason we no longe

  • GeoRaptor for SQL Developer 1.1

    The GA release of GeoRaptor does not seem to work for the latest version of SQL Developer 1.1. GeoRaptor is an extension to SQL Developer to view spatial data. GeoRaptor adds a context menu option to tables containing Oracle Spatial data types and a

  • Page Properties Locked by Template

    I am getting this error when I click on the Page Properties button: "All of this page's properties are locked by a template, so you can't edit them." When I look at the template in Dreamweaver they don't appear to be locked and when I compare the tem

  • Previous page button working as next page button

    Even when I create or take a button from InDesign library with previous page function it works as next page. How to fix this?

  • 1TB flash storage on MacBook pro 2014

    Hello everyone, I'm interested in the latest MacBook pro 2014, and planning to get one. According to the spec on the website, it says MacBook pro 15" could be configured to 1TB flash storage. Does anybody know what is the brand of the flash storage?