XI 3.0 queues stop and deactivate

Hi,
We are getting everyday the same problems with XBTO* queues.
With a set of Idocs (about 200-500) entering in XI 3.0, usually LUW's are stoped in queues XBTO* (scheduled for outbound).
We have registered this type of queues and the properties are:
   - Type: R
   - Mode: D
   - Max Runtime: 60
   - Attemps: 30
   - Pause: 300
Are these properties ok?
How can I improve the performance of the queue processing?
Is there any option (job or something like this) to reactivate automatically the queues that are stoped?
In transaction Display Registered XI Queues, I can see that XBTO* has 4,5% time.
Thank you
Best regards
Luis

The following talk about resource allocation for RFC:
Note 74141
http://help.sap.com/saphelp_nw04/helpdata/en/62/73241e03337442b1bc1932c2ff8196/frameset.htm
Your total # of DIA WPs should be greater than the number of all other types of WPs according to the above docs.
That means that it should be greater than 10. There are also other tuning parameter in the note and the help section listed above that you may need to set. They control what % of the DIA WPs RFC processes can use compared with logged in users.

Similar Messages

  • Integration Server Queues Stopping

    Hi People,
    We are doing a FCC scenario (.CSV to XML), with the content conversion parameters as follows:
    Recordset Name: Recordset
    Recordset Structure: DataTable1,1
    Recordsets per message: 1
    As it is clear from the configuration, <b>when the source file will contain multiple line items, XI will create multiple XML files, each containing data for a single line item.</b> My problem is, <b>whenever the source file contains a large number of line items, I see them being picked up (In SXMB_MONI), but the Integration Server inbound queues stop and they show a green flag in MONI with tooltip "Message Scheduled On the Outbound Side". I have to go to SMQ2 and manually activate the queues to release the blocked messages.</b> How to alleviate this problem..because it is really irksome to go and everytime manually activate the queues. Is there any report that can be scheduled so that it caueses the queues to activate automatically when they are blocked?
    P.S: We can not change the design. Also, I have seen
    <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically">Naveen Pandarangi's Blog On XI Message re-Scheduling</a>..but the report stated there is not working out for me!
    Awaiting your expert views,
    Thanks in anticipation,
    Regards,
    Amitabha

    Hi Shabarish,
    I followed your instructions, but they did not work out for me...the problem still persists!
    Regards,
    Amitabha

  • Message splitting-- Queue stopped when no message created for one interface

    Hi all,
    I think you saw one post regarding this issue in SDN, but I can't find the post any more.
    So, I have message splitting (it's multiple mappings to map one outbound msg to multip inbound msgs, not one mapping to map 1 to n. This is because of our own reason, but should not affect the analysis of the issue) to split one message to multiple. It works fine if the outbound message contains data for every inbound interface. However if the outbound message does NOT contain data for any one inbound message, there is an error in MONI and all subsequently splitted messages will not be passed in IE. The error in MONI says Split mapping created no messages, and Queue status turns to be Queue Stopped, and thus all the subsequently splitted messages are stuck in the queue.
    Why this? and how to solve this problem?
    Thanks
    Jayson

    >
    Jayson wrote:
    > Hi all,
    >
    > I think you saw one post regarding this issue in SDN, but I can't find the post any more.
    >
    > So, I have message splitting (it's multiple mappings to map one outbound msg to multip inbound msgs, not one mapping to map 1 to n. This is because of our own reason, but should not affect the analysis of the issue) to split one message to multiple. It works fine if the outbound message contains data for every inbound interface. However if the outbound message does NOT contain data for any one inbound message, there is an error in MONI and all subsequently splitted messages will not be passed in IE. The error in MONI says Split mapping created no messages, and Queue status turns to be Queue Stopped, and thus all the subsequently splitted messages are stuck in the queue.
    >
    > Why this? and how to solve this problem?
    >
    > Thanks
    > Jayson
    Hi Jyson,
    what i analyse from this is you may be using different maapings and different inbound interfaces
    but your receiver is the same and hence you are using only one interface determination with all the   interface mappings specified there...
    if this is the case..i suggest you remove the "maintain order at runtime "
    tick in that interface detemination and it will surely work
    giving points is another way to say thanks
    Edited by: Tarang Shah on Mar 20, 2009 7:18 PM

  • Message Status as "Scheduled" and Queue Status "Queue Stopped".

    Hi friends,
    My scenario is from Peoplesoft -> XI -> BI
    Message has reached BI, but in SXMB_MONI, its showing Message Status as "Scheduled" and Queue Status "Queue Stopped".
    How to proceed further ? How can I start that queue ?
    Thanks ain advance,
    Neena John

    Hi Neena,
    Go to SXMB_ADM -> Manage Queues -> Register Queues
    More on queues
    XI :  How to Re-Process failed XI Messages Automatically
    Run the report RSXMB_REGISTER_QUEUES and register the queues
    Run the report RSXMB_RESTART_MESSAGES for restarting ur messages
    Refer this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    Regards,
    Vinod.

  • Can't print- 27" 2013 iMac-my epson stylus 3800 pro will not print-i updated driver n added printer in syst prefs-When i print the printer queue opens and shows the job as "stopped"-Supply level "information is not available"-maybe part of problem...thx

    I can't print from my  27" late 2013 iMac.  I am using an epson stylus 3800 pro.  I updated driver and added printer in system preferences. When i print the printer queue opens and shows the job as "stopped".  Supply level shows  "information is not available which maybe part of problem...thank you

    The first thing you could try is a reset of the printing system. Please note that this action will remove all printers and scanners from the Printers & Scanners preference pane.
    With the reset complete, unplug the Epson USB cable from the Mac for a minute and then reconnect it. This action should result in the printer being added again to the Mac automatically. If this does happen, then see if you can print again.
    If the printer is not added again automatically, open Printers & Scanners and click the plus button to add the Epson. Once this is done, then see if you can print again.

  • Dispatcher stopped and Workprocessors are Ended State

    Hi Experts
    Suddenly my dispatcher stopped and all work processors are in Ended state in the ECC6.0 with Oracle database in windows 2003.  I have checked the Memory parameters and resetted the values but still getting the same problem here i am pasting the dev_disp and dev_w0 files.  Please help me need full
    Regards
    Chandra
    dev_disp::
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        CHE
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    175
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        1536
    Sun Dec 07 13:05:43 2008
    kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 1536) [dpxxdisp.c   1261]
         shared lib "dw_xml.dll" version 175 successfully loaded
         shared lib "dw_xtc.dll" version 175 successfully loaded
         shared lib "dw_stl.dll" version 175 successfully loaded
         shared lib "dw_gui.dll" version 175 successfully loaded
         shared lib "dw_mdm.dll" version 175 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Sun Dec 07 13:05:54 2008
    WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0081.qqq.nxst) took 11 seconds
    Sun Dec 07 13:05:59 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5418]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >I3LSERVSAP1_CHE_00                      <
    DpShMCreate: sizeof(wp_adm)          23856     (1704)
    DpShMCreate: sizeof(tm_adm)          4415616     (21968)
    DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 06840040, size: 5081056)
    DpShMCreate: allocated sys_adm at 06840040
    DpShMCreate: allocated wp_adm at 06842118
    DpShMCreate: allocated tm_adm_list at 06847E48
    DpShMCreate: allocated tm_adm at 06847E78
    DpShMCreate: allocated wp_ca_adm at 06C7DEF8
    DpShMCreate: allocated appc_ca_adm at 06C83CF8
    DpShMCreate: allocated comm_adm at 06C85C38
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 06D06AF8
    DpShMCreate: allocated gw_adm at 06D06B38
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 06D06B68
    DpShMCreate: allocated wall_adm at 06D06B70
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    rdisp/queue_size_check_value :  -> off
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 4075 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1668]
    ***LOG Q0K=> DpMsAttach, mscon ( I3LSERVSAP1) [dpxxdisp.c   12364]
    DpStartStopMsg: send start message (myname is >I3LSERVSAP1_CHE_00                      <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 175
    Release check o.K.
    Sun Dec 07 13:06:39 2008
    my types changed after wp death/restart 0xbf --> 0xbe
    my types changed after wp death/restart 0xbe --> 0xbc
    my types changed after wp death/restart 0xbc --> 0xb8
    my types changed after wp death/restart 0xb8 --> 0xb0
    my types changed after wp death/restart 0xb0 --> 0xa0
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:49 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Sun Dec 07 07:36:49 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA     6120 Ended         no      1   0        0                                                                         
    1 DIA     2860 Ended         no      1   0        0                                                                         
    2 DIA     6020 Ended         no      1   0        0                                                                         
    3 DIA     5632 Ended         no      1   0        0                                                                         
    4 DIA      588 Ended         no      1   0        0                                                                         
    5 DIA     6016 Ended         no      1   0        0                                                                         
    6 UPD      484 Ended         no      1   0        0                                                                         
    7 ENQ     2268 Ended         no      1   0        0                                                                         
    8 BTC      584 Ended         no      1   0        0                                                                         
    9 BTC     6064 Ended         no      1   0        0                                                                         
    10 BTC     4228 Ended         no      1   0        0                                                                         
    11 BTC     5980 Ended         no      1   0        0                                                                         
    12 SPO     1984 Ended         no      1   0        0                                                                         
    13 UP2     5996 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Sun Dec 07 07:36:49 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    since last update     total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    Dump of tm_adm structure:               Sun Dec 07 07:36:49 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Sun Dec 07 07:36:49 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:54 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >I3LSERVSAP1_CHE_00                      < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (6084) (SOFT_KILL)
    Stop icman
    killing process (6128) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:6084  HANDLE:1484)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:55 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:6084  HANDLE:1484)
    wait for end of icman
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:56 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:57 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:58 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:59 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:00 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:01 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:02 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:03 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:04 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:05 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:06 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:6128  HANDLE:1488)
    DpStartStopMsg: send stop message (myname is >I3LSERVSAP1_CHE_00                      <)
    NiIMyHostName: hostname = 'I3LSERVSAP1'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 2 (r)
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Sun Dec 07 13:07:07 2008
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12710]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 1420 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 1420 (pos=2)
    SiSelNRemove: removed sock 1420
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/14
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1420
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 1536) [dpxxdisp.c   10908]
    Good Bye .....
    dev_w0::
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Sun Dec 07 13:05:59 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' ...
    B  Library 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' loaded
    B  Version of 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.167)
    B  New connection 0 created
    M sysno      00
    M sid        CHE
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    175
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        6120
    M
    M  kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 6120) [dpxxdisp.c   1323]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          23856     (1704)
    M  DpShMCreate: sizeof(tm_adm)          4415616     (21968)
    M  DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1544)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06840040, size: 5081056)
    M  DpShMCreate: allocated sys_adm at 06840040
    M  DpShMCreate: allocated wp_adm at 06842118
    M  DpShMCreate: allocated tm_adm_list at 06847E48
    M  DpShMCreate: allocated tm_adm at 06847E78
    M  DpShMCreate: allocated wp_ca_adm at 06C7DEF8
    M  DpShMCreate: allocated appc_ca_adm at 06C83CF8
    M  DpShMCreate: allocated comm_adm at 06C85C38
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06D06AF8
    M  DpShMCreate: allocated gw_adm at 06D06B38
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06D06B68
    M  DpShMCreate: allocated wall_adm at 06D06B70
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Sun Dec 07 13:06:00 2008
    M  ThInit: running on host I3LSERVSAP1

    M Sun Dec 07 13:06:01 2008
    M  calling db_connect ...
    C  Prepending F:\usr\sap\CHE\DVEBMGS00\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   0672A1A8   0672F744   0672EFCC
    C  Attaching to DB Server CHE (con_hdl=0,svchp=0672EF18,srvhp=06740B04)
    C  Starting user session (con_hdl=0,svchp=0672EF18,srvhp=06740B04,usrhp=06755878)
    C  Now '/@CHE' is connected: con_hdl=0, nls_hdl=0, session_id=85.
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=0672EF18,usrhp=06755878)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   0672A1A8   0672F744   0672EFCC
    C  Starting user session (con_hdl=0,svchp=0672EF18,srvhp=06740B04,usrhp=06755878)
    C  Now 'SAPSR3/<pwd>@CHE' is connected: con_hdl=0, nls_hdl=0, session_id=85.
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  DB instance CHE is running on I3LSERVSAP1 with ORACLE version 10.2.0.2.0 since DEC 07, 2008, 12:36:31
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20081207 130601 I3LSERVSAP1    
    C  build_stmt: reallocating stmt buffer: 256 -> 2000 characters
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0B3A0040, size: 4400000)
    I  *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=720000 KB)
                   [shmnt.c      2174]
    I  *** ERROR => [CreateOsShm] MapViewOfFile(Key=9,Handle=0x000004DC) failed with Err=0
                   [shmnt.c      2174]
    I  *** ERROR => ShmCreate: Create (9,737280000,3) failed [shmnt.c      506]
    Memory diagnostic                                 *
    Systeminformation
    Processor-Typ             : Intel Pentium Pro
    Processor-Count           : 8
    Operating System          : NT 5.2, Build 3790
    Service Pack              : Service Pack 2
    NT Pagefile Informations
    Config. minimum size      : 12570624 K
    Config. maximum size      : 12570624 K
    Avail.  maximum size      : 12570624 K
    Num
    Pagefile
    Min.Size
    Max.Size
    Avail.Max
    Curr.Size
    1
    c:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    2
    d:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    3
    f:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    NT Task Manager Informations
    Total Handles             :        0
    Total Threads             :        0
    Total Processes           :        0
    Commit Charge Total       :  6571584 K
    Commit Charge Limit       : 15822776 K
    Commit Charge Peak        :  7495116 K
    Phys.Memory Total         :       54 K
    Phys.Memory Available     : 93650276 K
    File Cache                : 17399116 K
    Kernel Memory Total       : 2084222616 K
    Kernel Memory Paged       :        0 K
    Kernel Memory Nonpaged    : 93650304 K
    Memory usage of current process
    Total virt.address space  :  2097024 K
    Avail.virt.address space  :   837328 K
    Private Pages             :        0 K
    Total heap size           :    14532 K
    Virtual memory regions    :        0 K
    Uncommitted heap memory   :     6440 K
    Allocated heap memory     :     6850 K
    Moveable heap memory      :        0 K
    DDE shared heap memory    :        0 K
    Memory usage of all processes
    PID
    Image
    Instance
    Work.Set
    WS Peak
    Priv.Pages
    PP Peak
    Pg Fault
    1940
    sapstartsrv.exe
    15956 K
    15956 K
    18656 K
    18700 K
    4
    5716
    msg_server.EXE
    [MS] CHE_00
    8508 K
    8508 K
    11000 K
    11000 K
    2
    1536
    disp+work.EXE
    [DP] CHE_00
    93256 K
    93256 K
    69540 K
    69540 K
    22
    5772
    igswd.EXE
    [**] CHE_00
    2796 K
    3048 K
    1436 K
    1724 K
    0
    1304
    igsmux.exe
    12012 K
    12012 K
    13032 K
    13032 K
    2
    5696
    igspw.exe
    2536 K
    2536 K
    2336 K
    2336 K
    0
    5688
    igspw.exe
    2536 K
    2536 K
    2336 K
    2336 K
    0
    6084
    gwrd.EXE
    [GW] CHE_00
    10164 K
    10164 K
    9996 K
    17924 K
    2
    6128
    icman.EXE
    [**] CHE_00
    86128 K
    86128 K
    88096 K
    88096 K
    21
    6120
    disp+work.EXE
    31808 K
    31904 K
    82200 K
    85356 K
    7
    2860
    disp+work.EXE
    [WP] CHE_00
    30604 K
    30604 K
    81656 K
    85356 K
    7
    6020
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    5632
    disp+work.EXE
    [WP] CHE_00
    16104 K
    16104 K
    67372 K
    67372 K
    3
    588
    disp+work.EXE
    [WP] CHE_00
    28804 K
    28804 K
    80672 K
    85356 K
    7
    6016
    disp+work.EXE
    [WP] CHE_00
    16084 K
    16084 K
    67372 K
    67372 K
    3
    484
    disp+work.EXE
    [WP] CHE_00
    16084 K
    16084 K
    67372 K
    67372 K
    3
    2268
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    584
    disp+work.EXE
    [WP] CHE_00
    19112 K
    19112 K
    85360 K
    85360 K
    4
    6064
    disp+work.EXE
    [WP] CHE_00
    30972 K
    30972 K
    81696 K
    85356 K
    7
    4228
    disp+work.EXE
    [WP] CHE_00
    30376 K
    30376 K
    81488 K
    85356 K
    7
    5980
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    1984
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    5996
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    Sum
    534240 K
    1248476 K
    M  *** ERROR => ThShMCreate: ShmCreate SHM_ROLL_AREA_KEY failed [thxxhead.c   2598]
    M  *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c   2095]
    M  ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c   1532]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c   10534]

    M  Info for wp 0

    M    pid = 6120
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server I3LSERVSAP1_CHE_00 on host I3LSERVSAP1 (wp 0)
    M  *  ERROR       ThInit: ThIPCInit
    M  *
    M  *  TIME        Sun Dec 07 13:06:01 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          17
    M  *  MODULE      thxxhead.c
    M  *  LINE        10754
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   723]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 6120) [dpnttool.c   333]

    Hi Chandra
    If you look at the DEV_w0 log you can see the work process are not comming you as they are not getting enough shared memory see this error message
    " Can't find free space for Shared Memory (Size=720000 KB) "
    Please review the parameter changes made by you in Instance profile before restart of instace. Check the values of these parameters and if you are not sure of the value changed by you  undo the parameter changes made before the instace restart
    Restart the instance again after these changes in instance profile. for now you can change the instace profile file from OS but don't forget to import this changed profile when instace is up
    if you did not changed any Profile parameters, check the physical memory available. chance could you some hardware memory issue. get your os team to check.
    Its a clear case of memory issue ..
    Rajeev

  • My program stops and i don't know why...

    I am not sure if i have a problem with my code or the VM but I'm assuming it's my code and hoping someone can help. I already searched through the forums and the bug database and I found some things I thought could maybe be my problem but after more testing the fixes and workarounds didn't work...
    It is a middleware between clients and database server all in java.
    The main thread invokes a thread that accepts socket connections and adds them to a connection queue (LinkedList). Various worker threads in a ThreadGroup wait and work with the connections as they come in. All this works correctly. Unfortunately my app is now displaying the unwanted characteristic of coming to an abrupt stop (not shutting down correctly) in an erratic manner. If no clients ever connect the app will sit and wait just fine (over 30 hours in 1 test until I stopped it) as soon as one connection is made however the app appears to be doomed. It will just stop anywhere between instantly and 10 minutes after the last connection is closed. Usually the span is between 2 and 3 minutes but it varies widely. It also will stay alive if another client connects, basically if the server is busy things are fine but when it is twiddling its thumbs waiting it just halts.
    Here is what the orginal code looks like...
    while(qOpen){
      Socket s = null;
      try{
        s = ss.accept();
      }catch(IOException clientConnectError){
        continue;     
      try{
        rq.addConnection(s);
      }catch(ConnectionQueueException closed){
        // if the queue is closed attempt to close the socket either way set our flag to closed so we exit the loop
        try{
          s.close();
        }catch(IOException clientCloseError){}     
        qOpen = false;          
    // the next line does not show up when the server stops
    System.out.println("Server Shutting down...");i thought maybe my code was doing something bad somewhere and I had an uncaught exception or error such as outofmemory. So I altered the code slightly to trap any errors or exceptions that were possibly coming down so I would know where to debug.
    Altered code
    while(qOpen){
      try{
      Socket s = null;
      try{
        s = ss.accept();
      }catch(IOException clientConnectError){
        continue;     
      try{
        rq.addConnection(s);
      }catch(ConnectionQueueException closed){
        // if the queue is closed attempt to close the socket either way set our flag to closed so we exit the loop
        try{
          s.close();
        }catch(IOException clientCloseError){}     
        qOpen = false;          
      }catch(Throwable thrown){thrown.printStackTrace();}
    // the next line does not show up when the server stops
    System.out.println("Server Shutting down...");The server stops and prints out nothing.
    Finally I thought maybe something bad is happening to the thread group. So I added another thread that loops and prints out some information about the ThreadGroup....
    Thread Group Information
    Active Count : 8
    Is Daemon : false
    This prints out like this exactly the same each time including the iteration just before everything comes to a halt.
    So I am stuck, (1)the app is not shutting down properly, (2)I cannot find (or trap) an error that is causing it to stop and (3) nothing wierd seems to be happening to my group of workers. What else can I do to find this error. Is this possibly a vm bug or is it more likely a code problem. I am not asking for anyone to solve my code if that is the problem but I have no more ideas about how to find out what the problem is. In case it helps here is the output from 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)

    case? If so, I suggest that -- if you haven't already
    done so -- that you build a prototype of your project
    consisting only of the socket code that you're having
    problems with. This will obviate the possibility that
    something else in some seemingly unrelated piece of
    code is causing the problem. If you get that to work,
    then add pieces to your prototype until it converges
    with what you have now. That will allow you to
    isolate the piece causing the problem.This is not my first work with sockets in java but I think I may have to do the speration you mention to isolate the problem.
    Secondly, I'm writing this because I have I had a
    similar problem with sockets in C when I was first
    playing with them, and I know that deep down in the
    OS, sockets are sockets, pretty much the same as they
    ever were, and so my advice might carry to JAVA.
    First of all, you need to find out if the connections
    you are creating are blocking or non-blocking,
    including the server socket. If they are blocking,
    which I believe used to be the default, that means
    that your code will stop there and appear to hang
    when what is really happening is that it is just
    waiting for the next piece of data (or next
    connection, for a queue socket). If you've already
    got all that worked out, I recall that C sockets
    would cause an error condition on the port which, if
    not caught and handled, would really gunk things up
    because the port would show up as readable (using the
    tools for handling non-blocking sockets) but there
    would never be any data on it, which originally
    caused my software to hang while trying to read the
    nonexistent data. Go check those things and come
    back.Yes there are blockng calls... s = ss.accept() is a blocking call. Here is the code with more comments as I understand what is happening.
    Socket s = null;
    try{
      // this next line is a blocking call. This thread (only the one) will be waiting until a connection attempt is made
      s = ss.accept();
    }catch(IOException clientConnectError){
      // the accept method may throw an IOException this is
    an error to trap in the client debugging stage and otherwise I don't care so ignore it and jump to the next iteration of the loop.
      continue;
    try{
      // here the whole socket is added to a queue of sockets. 
      rq.addConnection(s);here is my code for the ConnectionQueue of sockets...
    public class ConnectionQueue{
      private LinkedList lElements;
      private boolean bOpen;
      public ConnectionQueue(){
        lElements = new LinkedList();
        bOpen = true;
    /** Adds the socket to the end of the queue.
    @param s The socket to add to queue.
    @exception ConnectionQueueException If this queue has been closed.*/
      public synchronized void addConnection(Socket s)throws ConnectionQueueException{
        if(!bOpen){
          throw new ConnectionQueueException("Request Queue closed.");     
        lElements.addLast(s);
        notify();
    /**Returns the socket at the beginning of the queue.     
    @exception ConnectionQueueException If the queue is closed and empty.*/
      public synchronized final Socket getConnection()throws InterruptedException,ConnectionQueueException{
        if((!bOpen)&&(lElements.size()<=0)){
          throw new ConnectionQueueException("Request Queue Closed");
        while(lElements.size()<=0){
          wait();
          if((!bOpen)&&(lElements.size()<=0)){
            throw new ConnectionQueueException("Request Queue closed.");
        try{
          return (Socket) lElements.removeFirst(); 
        }catch(ClassCastException bad){
          throw new ConnectionQueueException(bad.getMessage());
    /** Closes the queue. A closed ConnnectionQueue will not accept any additional sockets through addConnecion(Socket s). Sockets will still be returned by getConnection() for a closed ConnectionQueue while there are still queued sockets.*/     
      public synchronized void close(){
        bOpen = false;
        notifyAll();
         Well all this code works as it is supposed to. Also the app only dies (and when I mean dies/stops it is dead no more process, no more vm, nothing) when nothing is happening as opposed to if it is really busy in which case it is fine.

  • Order to stop and start Replication

    Hi All,
    We have bi-directional replication using streams.We want to stop and restart it .
    Would you please help me in deciding the order of different queues(Capture/Apply/Propagation)
    Thanks in Advance!!!
    Kind Regards

    First stop propagation. - no more messages sent.
    Then stop capture. - if no messages were sent then there should be none to capture.
    Then stop apply. - and if nothing is captured then there is nothing to apply.
    When restarting reverse the order.

  • How to stop and start MDBs to listen for JMS messages

    Hello! This might be more of an architecture question rather than a technical questing, but I post it here, in the lack of a better place...
    For several years I have been using Webster and Webster MQ to send messages back and forth to clients. The architecture for the middleware platform has been designed around the functionality of ListenerPorts. Listenerports is a Webster functionality that let you "stop" and start to listen to JMS messages for a given MDB either by admin console, or by JMX.
    The arhitecture we used was something like this :
    1.Client sends a persistent message to a queue. (order)
    2. An MDB pics up the order message, calls a SessionBean that "fronts" the IIOP back end system.
    This is quite "out of the box" architecture, but we used the Listenerports to solve a stability problem for our back end system.
    The backEnd system was quite unstable, so the EJB threw an exception (typically because of timeout or connection refused) back to the MDB.
    The Listenerport was "defined" to handle 3 errors before stopping, so the MDB resent the message twice before the listenerport automatically stopped. The nice thing about this feature was that the client could continue to send orders, and was not bothered when the back end system was down.
    When the backEnd system was up and running, we could start the listenerport and it was all back to normal state. We even had a start script that checked the state of the listenerport every 30 minute, and started it automatically if it was stopped, making the admin task of starting the MDB unnecessary..
    Now.. Why am I telling this story..
    I would like to know how this could be done using "clean" J2EE technologies..That is..Not using any technology that is not portable..
    I`m playing with glassfish at home, and it struck me that there is nothing in the J2EE spec that defines the functionality described above ? Am i missing something ?
    I Do not want to stop My application because the back end system is down? That is the only way (i know of) that i can "stop" to listen for messages..
    I can put all the messages on an error queue when the backbend system is down, but that would lead to more code just to handle the error messages. Maybe the easiest way to solve this is to "move" (programmatically) all messages from the error queue over to the "standard" queue every XX minute, but somehow that sounds "wrong"
    Can anyone give me some advice to how this problem situation should be solved ? I`m interested in the solution both from an architectural perspective and from a more technical perspective..
    Best regards
    Hans-Jacob Melby

    Breakpoints, whether normal or conditional, are just meant for debugging of your code.  I had the sense from your question that the pausing you want to do is a part of normal operation of your code.  I would NOT recommend using a breakpoint for that situation.  It would bring up the block diagram showing the breakpoint when it occurs.  A user besides the programmer would not know what to do in that case.
     Yes, both the inner and outer loops would have shift registers.
    Putting a case structure with a small while loop inside the "Pausing Case" is doable.  It just depends on what you are doing or waiting for while the program operation is "paused".

  • SXMB_MONI - queue stopped

    Hi,
    I am experiencing a problem with queues. After reading  similar situation, i don't really know I to solve it.
    The problem is the next:
    Scenario: IDOC--> XI --> FTP
    When the Idoc is received in XI, there are about 15 Mappings to execute. When I have a look to the SXMB_moni I see all the mapping are stopped. The Q.Status is with the stop signal, and when I position the curson over the signal, the next text is displayed : "Queve Stopped".
    I've read several similar threads, but I can not  understand the solution.
    Could anyone explain me or give a good link in which I can hava a step by step guide of how to register the queue and/or how to solve this problem eventually.
    Thanks in advance.

    HI,
    Please see the below links
    Queue status = "stopped"
    Queues Stopping
    queue status is stopped
    Queue is stopped after restarting XI
    Q.Status is "Queue stopped"
    Queue Status is showing Stopped
    Queue Stopped
    Message waiting in queueu0085
    Regards
    Chilla..
    <i>Points rewarded if it is useful..</i>

  • SMQ2 queue stops

    Hi,
    I have an integration process that sends a synchronous message (soap adapter) to a receiver system.  After that  the receiver system needs about 5 to 10 minutes to respond to the request. Sometimes this is no problem and the queue of outgoing messages resides in status running.
    However most time the queue stops after some minutes and the only way to go on with processing is to manually unlock the queue in SMQ2.
    Why does this happens? Is there a possibility to restart the queue automatically? Is there a timeout period in queue processing that can be inceased?
    Thank you in advance,
    Daniel

    Dear Daniel,
    In synchronous scenarios running over PI, several communication components are involved where each may lead to a time-out. Such a time-out on one communication component causes the messaging scenario to fail as a whole.
    Various components which may contribut for your queue to fail are:
    Messaging System specific time out, SOAP sender channel time out, and your receiver Adapter time out property.
    There are some pre defined values for them already set in our PI system and these needs to be changed to accomodate the failure case also.
    To give you a lead, In NWA, Go to->Operation Management->Systems-> Start & Stop -> Java Services -> (Under Related Tasks) Java System Properties. Select your adapter type and under properties change the default time.
    For Sender SOAP channel, add u2018Parameter Nameu2019 as: XI.Timeout and in u2018Parameter Valueu2019, give any value in milliseconds.
    Warm Regards,
    Anshul

  • Queue stopped in sxmb_moni

    Hi,
    I am getting the problem in sxmb_moni when the XML message goes from one integration process to  SOAP adapter and a mapping is called.The queue status is Queue Stopped. When i click on that queue it shows status as SYSFAIL.When i double click on that queue again it shows Status Text
    as "XI Error CLIENT_SEND_FAIL . INTERNAL :Queue Stoppe ".
    And the trace for that message is
       <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
      <SAP:P1>35</SAP:P1>
      <SAP:P2>HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while sending by HTTP (error code: 35, error text: HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.)</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Please help me with this issue...

    Queue Stopped
    For your message processing in sxmb_moni...in the Qstatus column you will be seeing a red circle with stop written in it...
    ->double click it
    ->it will show you status of the Q....number of messages in the Q...
    -> double-click on the number of entries
    -> you will see a detailed report
    -> double click on the first entry
    -> you will see the message processing due to which the Q got blocked
    -> on the toolbar above (in the same page) you will find the option of Restart...click it....select the tracing level as retain....
    this will cause the message processing to restart and all the messages blocked in the Q will get processed....
    Regards,
    Abhishek.

  • AE CS5 (10.0.1.19) Ram Preview - Audio stops and continue playing randomly

    I already reported this issue to Adobe as a BUG but I want to ask here if somebody else have this problem or can confirm it.
    Audio breaks/stops and continue playing randomly when 'Ram Previewing'
    It happens mostly when the RAM is fully filled up with image cache files! When the Ram is not filled up totally with image cache files it happens rarely!
    Steps to reproduce BUG / issue:
    1. create a new composition with a length of for example 5 minutes.
    2. create a new solid with size of 50x50 pixel and animate the position of the solid for a very long time so when ram previewing the whole ram/memory gets filled up with different image cache data (this is very important!). Alternatively you could use a long video file to fill up the RAM completely.
    3. import a wave file .wav 16bit 48khz uncompressed which is very long for example 5 minutes.
    4. insert the wave file in the earlier created composition which contain the animated solid or video file.
    5. Set the work area bar (preview range) for the whole composition.
    'Ram Preview' the composition until the whole RAM/memory is filled up with image data.
    AE has to stop rendering because there is no more space available in RAM.
    make sure 'from current time' checkbox is off.
    6. listen to the audio which stops playing randomly for about 1-2 seconds and comes back and continues playing (***BUG***)
    7. Now set the right handle of the composition work area bar (preview range) to less then the maximum RAM size
    (less then the green cache indicator on the right side)
    8. "Purge image caches" or "Purge All"
    9. Ram preview the now smaller work area
    10. listen to the audio. The audio breaks are gone! (***Workaround***)
    Additional information:
    I have the latest After Effects CS5 update installed (10.0.1.19)
    This behavior is tested with different audio drivers inside After Effects CS5 (After Effects WDM Sound, Generic Low Latency ASIO Driver,  ASIO DirectX Full Duplex Driver)
    I also tried different Sample Sizes Buffers (alternatively to the default 2048 samples) but without success.
    Reducing the amount of RAM which After Effects can access didn't solve the problem!
    System:
    Win7 64bit all latest Updates, 8GB RAM, CPU: intel Core 2 Extreme QX9300, nVidia Quadro FX 2700M, IDT High Definition Audio Driver v6.10.0.6227
    There is no driver problem on my system because After Effects CS3 & CS4, Premiere & Soundbooth CS3 CS4 CS5 have no audio problems!
    I have lots of other professional audio software like Steinberg Cubase 5.... on the same system and they all work fine.
    I also turned off AVG Anitivirus and Windows firewall for testing without success.
    AdobeQT32Server.exe, dynamiclinkmanager.exe, PProHeadless.exe, afterfx.exe do not get blocked by firewall they have full permission.
    The CS5 Production Premium installation went fine and without errors and antivirus protection was turned off for the installation.
    Any help would be nice!
    Felix

    Yep, I agree with craulmedia....
    It's 1 month ago after my initial post and no valuable feedback from Adobe although I filled out the bug report in addition to this post and provide my email for further information.
    The only reason for upgrading from CS4 -> CS5 production suite was the use of all my 8GB RAM in AE and now AE can use it but when it's using it the audio have issues.
    CS5 is on the market for nearly a year and still have such essential issues... And my fear rises there will be no valuable update fixing these issues but instead Adobe forces me to upgrade later this year to CS6 in hope something change...
    I have had support request for different Adobe products in the past including telephone support, web support via Adobe ID... none with success the web support answered my request 3 weeks later with the message they will look into it... time went by and in the end the result was "Yes we know it's a known bug" the bug did not get fixed for that CS version. it even exists in the next major CS release! (talking about EncoreDVD here). Once the web support answered weeks later when I was in holidays and after some days I was not able to respond they closed my case. I reopened the case but never got an answer! Telephone support is nearly waste of time because in 95% of all cases it does not help to reinstall the whole operating system and talking to people who know less about computers in general or Adobe products then my mom - it's a waste of time.
    I don't want to blame here anybody for things happend in the past I just want to point out that this time I choose an other support channel (bug report and forum post) but it seems that this support channel is also a waste of time after 1 month with no valueable feedback!
    I bumped up this post 2 times and thanks to craulmedia for the third time.
    And now here is my fourth time *BUMP*
    All I got so far is: "I saw your bug report it's in the queue"
    Is it still in the queue? which queue nr. does it have? how long will it take to get any answer? is it reproducible? Is it confirmed as a known bug by Adobe? Is Adobe working on a fix? When will this fix be available? Is the fix provided in form of an update or in the next major release?
    OK, I know this is a user to user forum and Adobe people only stop by in their free time and there is no guarantee for any real support.
    But it started out so good in the first time...
    Last 2 things I want to add here:
    1. Why should I provide my email in the bug report? Sure so Adobe can get back to me for further information... but wouldn't it be nice if Adobe would be so kind to give some status report to that given email as a small present for the enthusiastic beta testers ?
    2. please Adobe take a look at www.uservoice.com already Autodesk started to move there with 3ds Max.

  • How to stop and remove an active job.

    How to stop and remove an active job.

    What sort of "job" are you referring to? A print job? If so, open the queue for the printer - it should be in your Dock, or you can access it through the Printers & Scanners system preference - and click the green Pause button to stop the entire queue, or the Pause button next to a specific print job to pause just that job. To clear a job, click the "X" button to the right of the job.
    If that's not the "job" you mean, please post back and clarify.
    Regards.

  • Start, restart, stop and status stored procedure - howto?

    First:
    - this and other otn forums are awesome!
    - apex is neat
    Second:
    - I have O'Reilly books: "Oracle pl/sql programming" and "Mastering Oracle SQL"
    - Also tried to search / google best practices around stopping 'hanging stored procedures' and creating logics for such happening
    Challenge:
    I would like to implement simple solution for starting, stopping, restarting and maybe even getting status of stored procedures. Sounds like unix runlevels but in "userspace" without the sys rights.
    Finally I would like to have this functionality in apex-application where predefines stored procedures could be started, restarted, stopped and maybe even status could be retrieved.
    start - this is simple, start - but maybe check if such stored procedure is already started ( so this start will fail)
    stop - send signal to certain procedure(s) that now it/they should exit immediately
    restart - actually stop+start
    status - maybe via status table indicating e.g. records_processed/records_to_be_processed
    Mostly I need this stop so what would be the best way to write "exit" for stored procedure? I would like to avoid the following approach:
    SELECT sid, serial# , username, schemaname, osuser FROM gv$session;
    ALTER SYSTEM KILL SESSION '<sid>,<serial#>' IMMEDIATE;
    /paavo
    Edited by: paavo on Jul 13, 2009 11:35 AM - added status to subject :)

    paavo wrote:
    Thank you, very good references, but still I think my challenge persist on stop still because I try to do this without the rights to v$session etc. tables.
    So what would be the best way to deliver stop-message to executing stored procedure. E.g.
    - via table which is regularly checked by stored procedure (e.g. in loop it selects from the table)
    /paavoI think for stopping such a procedure you have only two sensible possibilities.
    First option is to kill the session. For this you or the logic that does the kill needs the appropriate rights to do it.
    Second option would be to programm this behaviour. The procedure can listen to a kind of signal and if it gets that signal it is stopped. This signal can be a value in a parameter table, but it can also be a message in some pipe/advanced queue. However this means the procedure will stop only at certain defined points (whenever it checks for the stop signal).
    Btw: You didn't mention what is the business case behind that technical request. Maybe you can elaborate a little on that too.

Maybe you are looking for

  • ITunes will not open because QuickTime will not initialize.

    Please help!! I have tried everything from reinstalling to removing both iTunes and Quicktime and downloading them again. When I try to open iTunes (yes it worked before) it says, "QuickTime failed to initialize (error-2096) Quicktime is required to

  • Purchase Requisition Against Sales Order Required Flow

    Dear All, I want to create Purchase Requisition against the Sales order user Defined committed quantity (i.e in Mtr) and on the basis of Purchase requisition i want to create Purchase Order. Here the Purchase order is standalone or we can take the re

  • SAP Netweaver 7 - Supported Servlet API version?

    For SAP Netweaver 7 platform, please let me know the supported Servlet API version? Specifically, is Servlet API 2.4 supported?

  • How to define data type

    hi all, I wana make a data type of this form   Employee_MT     0..1     EmpRec     0..Unbounded         EmployeeId     0..1         FullName     0..1         AddressLine1     0..1 but then im not able to maintain it as it is not accepting the attribu

  • Installing Box Set SL on new iMac - cannot boot from DVD...

    Hi MacHive I downloaded Lion today but wanted to install SL on a external USB-Partition because there are 2 PPC games I still like to play every now and then (Homeworld 2 and Alpha Centauri). Then I can boot into SL on my external drive and play the