RWB status 'delivering' and SQL process hangs

I am sending an IDOC to SQL Server thro XI using JDBC adapter. I am triggering a stored procedure to update SQL tables. The RWB status says 'delivering', sxmb_moni says 'successful' and all the steps are success in audit log. The status 'delivering' is not changing to sucessful.
When i look at SQL-server side, the process is in sleeping mode. I have verified the stored procedure and it was executed sucessfully. After the COMMIT TRAN, RETURN(0) statments, the process is going to 'sleeping' mode. The @@trancount is 2. If I double click the process, the sql statement is 'IF @@TRANCOUNT > 0 COMMIT TRAN'. This process hangs at this step and it is not accepting the next message. If I kill the process, the stored procedure is executed once and its going to sleep mode and not returning the status to XI to make the flow complete or to change the status to successful.
Thanks.

HI Shankar ,
Its seems that there might be some problem in your srored procedure.Did u tried to use some other stored procedure.I assume that you have uploaded the right version of driver for SQL server you are using.Remember JDBC adapter is vendor and version dependent.
You can also look at the JDBC : FAQ at service market place.
Thanx  & Regards
Vinod

Similar Messages

  • Message Status "Delivering" and  "To Be Delivered" (Urgent)

    Hi Experts,
    In XI QAS i am testing IDoc to File secnario with QOS EOIO, first message is in status  "Delivering" and all subsequent messages are in status "To Be Delivered". Messages are went to this status because i exported CC from XI DEV to XI QAS. In XIDEV in CC i used  NFS protocol. But in XIQAS I am using FTP protocol. After import of CC into  XIQAS, XIQAS CC started using NFS protocol . So first message went to DELIVERING status and all subsequent messages are went "To Be Delivered" status. I find out this error and rectified that. In message monitoring i tried to cancel the message whose status is DELIVERING.
    When i click on cancel button it say it is unable to cancel the message. Then i restarted both XIQAS server. The issue is resolved. But my question is suppose if this is case in Production server then we cant restart the Production server. How to tackel this. I had gone through all other threads. All thread says the following solution:
    -Restart Server (Both Java engine and ABAP engine).
    -Queue hang-up: check out SMQ2 for the message queue status
    -try to restart the messages from the RWB-->Message Monitoring
    In my case it is not possible to resend or cancel the message with status "Delivering" and  "To Be Delivered". I want know hw to tackle this error in Production server.
    Thanks,
    Venkatesh

    Hi,
    Status: TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    Solution:
    This is done via the Messaging System receive servlet:
    http://<Host>:<PORT>/MessagingSystem/receive/<CONNECTION>
    /<PROTOCOL>
    Only if this was executed successfully the Messaging System returns HTTP 200 to the Integration Server and the Status TO_BE_DELIVERED moves to DELIVERING
    1. Try logging into Sap GUI with two users: XIAPPLUSER & XIAFUSER
    to see if they are blocked
    2. We can check the messages:
    AdapterFramework
    com.sap.aii.adapterframework.serviceuser.language
    com.sap.aii.adapterframework.serviceuser.name = XIAFUSER
    com.sap.aii.adapterframework.serviceuser.pwd
    ApplicationSystem
    com.sap.aii.applicationsystem.serviceuser.language
    com.sap.aii.applicationsystem.serviceuser.name = XIAPPLUSER
    com.sap.aii.applicationsystem.serviceuser.pwd
    in the exchange profile to make sure the right passwords
    Regards
    Agasthuri Doss

  • Malloc() receives signals and the process hangs

    Hi, I am having a batch process which receives a signal (sometimes SIGSEGV and someother times SIGUSR) during malloc and hangs forever. Please refer the following pstack and let me know, if it is related to some patch issue or heap corruption issue.
    Os Details
    SunOS dxxxxx09 5.8 Generic_117350-46 sun4u sparc SUNW,Ultra-Enterprise-10000
    Pstack
    ----------------- lwp# 1 / thread# 1 --------------------
    ffffffff748a79bc lwp_sema_wait (1002666d0)
    ffffffff74e0c3d0 _park (1002666d0, ffffffff74f20000, 0, 1002665c0, 2, ffffffff74f21c74) + 114
    ffffffff74e0c09c _swtch (1002665c0, ffffffff749c0308, ffffffff74f20000, 0, 5, 1000) + 424
    ffffffff74e0db80 mutexadaptive_lock (ffffffff749c0308, ffffffff74f2f5d8, 4c00, 1000, fffeffff, 1) + 164
    ffffffff74e0d888 cmutexlock (ffffffff749c0308, ffffffff74f20000, ffffffff7f72e930, ffffffff7484ab5 4, ffffffff7a701d28, ffffffff7fff982c) + 84
    ffffffff7484ab54 free (100272900, ffffffff76810b98, ffffffff768384d0, ffffffff7a701d28, ffffffff7f72 e930, ffffffff73d00838) + 18
    ffffffff763179bc meFree (1, 100272900, ffffffff7fff9980, ffffffff768384d0, ffffffff72800000, a) + 1c
    ffffffff7683348c shm_deallocate (100378b80, ffffffff7fffa0a8, ffffffff769525e0, ffffffff769525d8, ff ffffff7694a5f0, 1) + 24
    ffffffff768384d0 discshm (0, c350, ffffffff7fffa0a8, ffffffff7682d6b8, ffffffff7694a5f0, ffffffff73d 00838) + 250
    ffffffff76830ab0 tlDiscon (10030f980, a, ffffffff7681ccfc, ffffffff76826cb8, ffffffff7f72e930, fffff fff73d00838) + b4
    ffffffff7682d6b8 slSQIdiscon (0, a, a, ffffffff7fffa0a8, ffffffffffffffff, 10037eea0) + 2b8
    ffffffff76826cb8 pfDiscon (ffffffff7fffa0a8, a, ffffffff7fffa008, ffffffff7fffa0a8, 10030f980, 10037 ee00) + b8
    ffffffff7681ccfc cmDiscon (a, 10030fa50, ffffffff7fffa008, ffffffff76814dc4, 0, 0) + ac
    ffffffff7681198c ascAbort (ffffffff7fffa0a8, 10030fa50, ffffffff7fffa000, ffffffff7fffa0a8, ffffffff 7694a5f0, ffffffffffffff84) + 24
    ffffffff76814dc4 asfExit (10030ff30, ffffffff7fffa0a8, a, 0, 0, 10030fa50) + 224
    ffffffff76814b34 ASF_Call (a, ffffffff76950f18, f0, ffffffff7fffa000, ffffffff7fffa0a8, 10030fa50) + 3e4
    ffffffff76a1388c asf_abort (10030f980, 2, 1002f6870, 2, ffffffff7a701680, 10037c816) + 84
    ffffffff76a1546c disconnect (1002f6870, 2, 0, 1002b4ae0, 0, 1002f7140) + 184
    ffffffff76a1579c disconnect_all (1002f6870, 0, ffffffff76b63a00, 2, 2, 1002f6870) + 13c
    ffffffff76a15a74 sqli_connect_close_tcb (0, 100268610, 2, ffffffff76b5df48, 0, 2) + a4
    ffffffff76a2b804 sqlexit (1002f6870, 0, 0, 0, 0, 0) + 34
    0000000100077c40 __1cOsignal_handler6Fi_v_ (a, ffffffff7fffaf90, ffffffff7fffacb0, 0, 0, 0) + 10
    ffffffff74e1edd8 __sighndlr (a, ffffffff7fffaf90, ffffffff7fffacb0, 100077c30, 8000, 0) + c
    ffffffff74e1b668 sigacthandler (1002665c0, 0, 0, 0, ffffffff7fffacb0, a) + 71c
    --- called from signal handler with signal 2516416 (SIG Unknown) ---
    ffffffff7484aa60 t_splay (0, 100470ff0, ffffffff749b6f60, 140, 0, 2d60) + 110
    ffffffff7484a3a4 realfree (100470fe0, ffffffff749c3780, 100470eb0, ffffffff749b6f60, 100470ea0, 141) + a0
    ffffffff7484acb8 cleanfree (0, ffffffff749c3670, ffffffff749b6f60, 0, ffffffff749c3668, ffffffff749c 3768) + 60
    ffffffff74849da0 mallocunlocked (a, 0, ffffffff749b6f60, 10, 5, 0) + f8
    ffffffff74849c8c malloc (a, 100268610, 0, 0, 1002f6c18, 2000c) + 20
    ffffffff74c08820 __1c2n6FL_pv_ (a, ffffffff74c07830, 0, 104274, ffffffff74d0ca70, 1002f6c18) + 28
    00000001000ee2a8 __1cIpre_sfno6F_v_ (0, 0, ffffffff7fffba57, ffffffff7fffbce4, ffffffff7fffba6b, 2) + 40d0
    00000001000679dc __1cTprocessStagingTable6F_i_ (0, ffffffff7fffc720, ffffffff7fffcd78, 20, 132, ffff ffff7fffc843) + 32c
    0000000100076948 main (9, ffffffff7fffcf08, ffffffff7fffcf58, 0, 0, 100000000) + 21e8
    000000010003cd1c _start (0, 0, 0, 0, 0, 0) + 17c
    ----------------- lwp# 2 / thread# 2 --------------------
    ffffffff748a74c0 signotifywait ()
    ffffffff74e11794 _dynamiclwps (ffffffff74f20000, ffffffff746044b6, ffffffff74b01698, ffffffff73d0083                                          8, 6d8b5, 0) + 24
    ffffffff74e14d38 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 4 / thread# 4 --------------------
    ffffffff74e1c77c lwp_cond_wait (ffffffff74f21c20, ffffffff74f21c08, 0)
    ffffffff74e0b684 cotimerset (ffffffff74f21c20, ffffffff74f20000, ffffffff74f21c08, 3, 0, 0) + a0
    ffffffff74e1ecd8 threadstart (0, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 5 --------------------------------
    ffffffff748a5534 door (0, 0, 0, 0, ffffffff73209ba0, 4)
    ffffffff74e19c94 scdoor_func (ffffffff73209c50, ffffffff74f20000, 4, 3, ffffffff74f20000, 1) + 6c
    ffffffff74e0d0c8 lwpstart (ffffffff73209c50, 0, 0, 0, 0, 0) + 18
    ffffffff74e14d38 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 6 / thread# 3 --------------------
    ffffffff748a79bc lwp_sema_wait (ffffffff7360dd60)
    ffffffff74e0c3d0 _park (ffffffff7360dd60, ffffffff74f20000, 0, ffffffff7360dc50, 1, ffffffff74f21c74                                          ) + 114
    ffffffff74e0c09c _swtch (ffffffff7360dc50, ffffffff74f260c8, ffffffff74f20000, 0, 5, 1000) + 424
    ffffffff74e10800 reapwait (ffffffff74f260c8, ffffffff74f2b618, 0, 0, 0, 0) + 38
    ffffffff74e10550 _reaper (ffffffff74f21d18, ffffffff74f260c8, 0, ffffffff74f21cf0, 0, 1000) + 38
    ffffffff74e1ecd8 threadstart (0, 0, 0, 0, 0, 0) + 40

    Thanks a lot for your response.
    Yes, I executed the program in dbx using RTC. There are couple of Read from uninitialized (rui) errors and Read from unallocated (rua). Surprisingly, the (rua) error comes from the location where I am using EXEC SQL FREE.
    The following is the code inside DoPrepare():
    db_count++;
    EXEC SQL PREPARE curs_stm_1 FROM ' select * from eq_to_pr
    where location_id = ? and e_trak = ?';
    db_count++;
    EXEC SQL DECLARE cc_bay CURSOR WITH HOLD FOR curs_stm_1;
    EXEC SQL FREE curs_stm_1;
    db_count++;
    return true; /* SUCCESS*/
    In the above code, dbx points Read from unallocated (rua) error from EXEC SQL FREE statement. When I commented out, the error is gone.
    The samething with the following code too:
    EXEC SQL CLOSE cc_bay;
    EXEC SQL FREE cc_bay;
    Note: I am using IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.FC2
    Otherthan the above errors, RTC output was not having anything else.
    I dont know why EXEC SQL FREE is being flaged.
    The following is the dbx output:
    <rtc> Read from unallocated (rua) on thread 1:
    Attempting to read 4 bytes at address 0x1006a1dcc
    which is 75 bytes past end of heap block of size 121 bytes at 0x1006a1d08
    This block was allocated from:
    [1] sqgdesc() at 0xffffffff5312af94
    [2] process_msgs() at 0xffffffff5312f0d4
    [3] sqrmessages() at 0xffffffff5312bccc
    [4] _iqprepare() at 0xffffffff5311ae14
    [5] sqli_prep_tcb() at 0xffffffff5311ab74
    [6] sqli_prep() at 0xffffffff5311aa48
    [7] DoPrepare() at line 275 in "oreo_eq_add.ec"
    [8] oreo_eq_add() at line 390 in "oreo_eq_add.ec"
    Location of error:
    current thread: t@1
    =>[1] sqli_curs_free_tcb(0x1005cbdf8, 0x1006a1db0, 0x2010c, 0x0, 0x1005a67d8, 0x0), at 0xffffffff531197dc
    [2] DoPrepare(), line 284 in "oreo_eq_add.ec"
    [3] oreo_eq_add(e_trak = 29365102, e_error1 = 0, process = 9, equip_id = 0), line 390 in "oreo_eq_add.ec"
    [4] pre_bay_sc(), line 452 in "pre_bay_sc.ec"
    [5] processStagingTable(), line 576 in "OreoDatabaseFunctions.ec"
    [6] main(argc = 9, argv = 0xffffffff7fffccb8), line 327 in "OreoMain.ec"

  • Import package and dllhost process hanging

    When attempting to run the import package through data manager, the window freezes while attempting to select an import file. The application server shows one of the dllhost.exe processes using all available CPU capacity from this step. After terminating the data manager on the client, the dllhost.exe that consumes the CPU on the application server terminates as well.
    We are on BPC release 7.5.104.03 on the MS platform.
    Any help would be appreciated.
    Thanks.
    Tom

    as pavan said take a backup and delete expired archivelogs ...
    connect as RMAN @target database...
    rman target /
    rman>report obsolete;
    rman>delete expired archivelog all;
    if no files are eligible for deletion ...then increase the FRA size....
    SQL> alter system set db_recovery_file_dest_size=xG SCOPE=BOTH; larger amount
    please post below details.....
    SELECT * FROM V$RECOVERY_FILE_DEST;
    Select file_type, percent_space_used as used,percent_space_reclaimable as reclaimable,
    number_of_files as "number" from v$flash_recovery_area_usage;
    select name, space_limit as Total_size ,space_used as Used,
    SPACE_RECLAIMABLE as reclaimable ,NUMBER_OF_FILES as "number"
    from V$RECOVERY_FILE_DEST;
    source is oracle.com
    Edited by: dbc001 on Mar 21, 2013 6:50 PM

  • GATP Product allocation status report and backorder processing

    Dear Experts,
    We are using product allocation as the first and only step in GATP check.
    The scenario is like this:
    Sales order total quantity = 200
    Planned allocation quantity=150
    Thus
    Confirmed sales order quantity=150
    Questions:
    1.Now how can see the confirmed/unconfirmed situation for all sales orders.
    Is there any standard report.
    I understand that this report need to show the planned allocation quantity,total sales order quantity and the confirmed sales order quantity may be bucket wise.Also this report can show the details of all sales orders in the bucket.
    The GATP planning book only shows confirmed sales orders in the "sales order" keyfigure until you have introduced another order series key figure for sales order(not related to GATP) which has sales order/scheduling agreement category group assigned to it.
    2.Can I do backorder processing of sales orders assuming that after the above report is run,I have changed the planned allocation quantity from 150 to 200 and I need that the sales order can be confirmed now by this program rather than by going into ECC and triggering the GATP check again.
    Note that the stock availability situation may remain the same.
    Request you to kindly suggest if this is possible in backorder processing.If yes,then what are the settings and the transactions to execute this.
    Thanks,
    Chandan

    Thanks so much Michael for a prompt reply.
    Couple of points.
    1./sapapo/ac42-This report is helpful but this has 2 issues.
                                                 It has to be run at individual CVC level.Thus it is not a comprehensive report.
                                                 It does not provide sales order original quantity.It just provides the planned allocation quantity,confirmed sales order quantity and the remaining quantity.This is normally already available in interactive planning of GATP planning area.
    What we need is a report which must say what is the original sales order quantity and how much has been confirmed and how much is the bucket planned allocation quantity.
    2.Running ATP in product view or interactive backorder processing view may not help as they seem to be working with ATP group and not with check mode.Note that product allocation gets triggered when check mode comes into play.
    Do you know if we can make it work with check mode.
    3.The batch backorder processing is working when I am using the "update changes" option.I am still evaluating the results as I don't understand many settings here.It will be nice if you can elaborate on some of the settings used in this transaction please.
    Thanks again.
    Regards,
    Chandan

  • Process hanging

    Hi,
    I have a process running on Solaris 9. After the proces starts it hangs infinietly consuming 100 % of 1 CPU . There are 8 CPU's. I attached this process to truss utility. Below is the snapshot: the thread goes into sleep mode and the process hangs.
    /3:     lwp_self()                         = 3
    /1:     lwp_create(0xFFBFE868, LWP_DETACHED|LWP_SUSPENDED, 0xFFBFE864) = 4
    /4:     lwp_create()     (returning as new lwp ...)     = 0
    /3:     sysconfig(_CONFIG_NPROC_ONLN)               = 8
    /4:     setustack(0xFCF70634)
    /1:     lwp_continue(4)                         = 0
    /4:     lwp_schedctl(SC_STATE|SC_PREEMPT, 0, 0xFCC7BD24) = 0
    /4:     munmap(0x03F42000, 57344)               = 0
    /4:     brk(0x03F50000)                         = 0
    /4:     brk(0x04050000)                         = 0
    /4:     munmap(0x03F52000, 57344)               = 0
    /4:     lwp_unpark(3, 1)                    = 0
    /3:     lwp_park(0x00000000, 0)                    = 0
    /4:     lwp_mutex_wakeup(0xFF3EE8A0)               = 0
    /3:     lwp_mutex_lock(0xFF3EE8A0)               = 0
    /4:     lwp_self()                         = 4
    /4:     lwp_unpark(1, 1)                    = 0
    /1:     lwp_park(0x00000000, 0)                    = 0
    /4:     munmap(0x03F62000, 57344)               = 0
    /4:     lwp_unpark(1, 1)                    = 0
    /1:     lwp_park(0x00000000, 0)                    = 0
    /1:     priocntlsys(1, 0xFFBFE9BC, 3, 0xFFBFEA9C, 0)     = 16164
    /1:     priocntlsys(1, 0xFFBFE9BC, 1, 0xFFBFEA58, 0)     = 6
    /1:     getpid()                         = 16164 [16162]
    /4:     lwp_park(0x00000000, 0)          (sleeping...)
    /3:     lwp_park(0x00000000, 0)          (sleeping...)
    /2:     Received signal #2, SIGINT, in sigtimedwait() [caught]
    /2:     sigtimedwait(0xFCE7BCD8, 0x00000000, 0x00000000) = SIGINT
    /2:     munmap(0x03F72000, 57344)               = 0
    /2:     munmap(0x03F82000, 57344)               = 0
    /2:     munmap(0x03F92000, 57344)               = 0
    /2:     time()                              = 1129292137
    /2:     munmap(0x03FA2000, 57344)               = 0
    /2:     munmap(0x03FB2000, 57344)

    Anjan, I do not use the specific tool set your post is about but the answers to the following questions might help someone zero in on the problem:
    During the time that the problem is occurring do any error messages appear in the alert.log?
    Did you provide Oracle support a hang analyze dump taken during the problem period? If so, what did support identify that the hang was on?
    What do the machine CPU and memory utilization look like during the problem period?
    HTH -- Mark D Powell --

  • C++ process hangs when started from Java

    I am trying to execute a c++ code from java on a remote Windows machine. In order to deal with the remote part, I have created a Web service from where the actual command is run using Runtime.exec(). The c++ exe is not being called directly from the java code. I have a batch file that eventually calls the exe.
    The problem is, both java and c++ processes hang. The java code on server side does handle the output stream and error stream. Also, the c++ code is logging everything in a file on Windows. The strange thing is that, when I remove the WS call and run the java code on server side as a standalone java program, it succeeds. Also, execution of the batch file alone does not hang. Here is the java code:
    public class RunCPlusPlusExecutable {
    public int runExecutable() {
        int exitValue = 0;
        try {
            Process p = null;
            Runtime rt = Runtime.getRuntime();
            System.out.println("About to execute" + this + rt);
            p = rt.exec("c:/temp/execcplusplus.bat");
            System.out.println("Process HashCode=" + p.hashCode());
            StreamProcessor errorHandler = new StreamProcessor(p.getErrorStream(), "Error");
            StreamProcessor outputHandler = new StreamProcessor(p.getInputStream(), "Output");
            errorHandler.start();
            outputHandler.start();
            exitValue = p.waitFor();
            System.out.println("Exit value : " + exitValue);
            if (exitValue == 0)
                System.out.println("SUCCESS");
            else
                System.out.println("FAILURE");
        } catch (IOException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        } catch (Exception e) {
        return exitValue;
    class StreamProcessor extends Thread {
        private InputStream is = null;
        private String type = null;
        private InputStreamReader isr = null;
        private BufferedReader br = null;
        private FileWriter writer = null;
        private BufferedWriter out = null;
        StreamProcessor(InputStream is, String type) {
            this.is = is;
            this.type = type;
        public void run() {
            try {
                isr = new InputStreamReader(is);
                br = new BufferedReader(isr);
                writer = new FileWriter("*******path to log file********");
                out = new BufferedWriter(writer);
                String line = null;
                while ((line = br.readLine()) != null) {
                    Date date = new Date();
                    out.write("[" + type + "]: " + date + " : " + line);
                    out.newLine();
                writer.flush();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            } finally {
                try {
                    if (br != null)
                        br.close();
                    if (isr != null)
                        isr.close();
                    if (out != null)
                        out.close();
                    if (writer != null)
                        writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
    String line = null;
                while ((line = br.readLine()) != null) {
                    Date date = new Date();
                    out.write("[" + type + "]: " + date + " : " + line);
                    out.newLine();
                writer.flush();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            } finally {
                try {
                    if (br != null)
                        br.close();
                    if (isr != null)
                        isr.close();
                    if (out != null)
                        out.close();
                    if (writer != null)
                        writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
    The WS server is running from some admin user. And I have been running the standalone java program from some other user. It seems that the c++ executable is giving referenced memory error when being executed from WS call. There are pop-ups citing the error with OK and Cancel buttons(visible when logged in as admin). The error states
    The instruction at 0x05473030 referenced memory at 0x000001d4. The memory could not be read
    Any idea what is causing the problem and how to debug it? Why does this memory error comes only when the exe is run through WS call? Please note that I won't be able to debug the c++ code and the web service is an apache axis2 service.
    Thanks

    How can I know? Its your environment, not mine. The only thing we know is that when running the stuff through one path things blow up and when you run them through another path, things don't blow up. User rights is an obvious suspect, but not necessarily the actual problem. Generally when rights are the problem, you get some form of "access denied" exception, not a code hang.
    Another likely possibility is that of network settings; perhaps your server goes through a proxy and your local applications do not, or the other way around.
    Yet another likely possibility is that the version of Java used is different, or different versions of libraries are no the classpath causing differences in behavior. There is only one way to figure it out: get to know your environment very well and through solid reasoning and experimentation try to figure out where the breaking point is. It all starts with answering this question: what might be different in the environment of the web server, and outside of it? I can't know, only you can. Good luck.

  • RWB Status from 'delivering' to 'successful' taking long time.

    I am triggering a stored procedure in SQL Server thro XI using JDBC adapter. The JDBC adapter makes a connection and executes the stored procedure successfully. But the RWB status shows 'delivering'. After long time (ie after 2 hrs) the status changes to 'Successful'.
    Can i know the reason for this ?
    Thanks.

    Hi,
    Status: DELIVERING
    The state of message when it has popped out of the Messaging queuing system and is in the process of being transmitted across the system or delivered to an application. Try to do cache refresh  and check it out.
    Regards
    Agasthuri Doss

  • OWB 10gR2 Process Flow returning status = Complete and Result = Null

    Hi,
    I have a process flows i ran lot of times with success (it shows status = complete and result = OK). It invokes a lot of mappings and other flows
    Sometimes one of invoked mapping or flows shows status = complete and result = Null and main process too.
    The main process i invoked by a PLSQL store procedure using wb_rt_api_exec package. When status = Null the store procedure hangs and I have to kill it.
    When it happens, owb service restart (new record in WB_RT_SERVICE_JOB_LOGS).
    Can anyone help me?
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.31
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.3.0

    Sometimes transitions in process flows get scrambled and you have to fix them by hand.....this happens and I dont know why.
    Basically what happens is: every operator in process flow has three outgoing transitions (in general) marked as 0, 1 and 2, when you take a look at details property of your operator then in the outgoing transitions tab you should have ORDER collumn 0, 1, 2 for warning, error and success.
    If this is not the case (0,1,2) process will not know what to return as value, and what is more bizzare this works until it does not :)
    I dont know if this is your case but it's worth checking.

  • Messages stucked "To be delivered" and "Delivering" Status.

    Hi,
    Lots of messages are stucked in Adapter engine with status "To be delivered" and "Delivering" in our production system.
    We found out there is some FTP connection problem with one of the interface which runs only few messages per day. Because of the problem of this interface, it is stopping many other critical interfaces to process and all these messages are falling "To be delivered" and "Delivering" status. All these interfaces are running in File adapters but going to different servers.
    If there is problem with one server(One file adapter), why is it stopping all the other interfaces to process?
    What might be the problem and how to solve it? 
    PS: As a temporary solution we are solving this issue by restarting the java stack.
    Thanks
    Deepthi.

    Hi,
    Check the below SAP Note Q.47
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=821267
    Which talks about the maximum concurrency..which means that the threads can be controlled for a particular adapter..
    As you said there are multiple ftp adapters and because of one its affecting all..
    To avoid this the maximuum no of threads awarded to one adapter can be controlled so that the remaining threads can be used by other adapters...
    For example...
    Assume problematic adapter might be running for every 5 min...
    Another adapters are running for every half an hour...
    Before first run of another adapter , problematic adapter might have run for 5 times and occupies all 5 threads (thread wont get release as it will be in Delivering state...) remaining threads (another adapter threads) will go into ToBeDelivered state...
    if you activate above parameters...only the assigned no of threads to particular adapter will be in Delivering (assume no as 2) then there will be 3 threads remaining which can be utilised by other adapters...
    HTH
    Rajesh

  • How to catch date errors and continue processing in a PL/SQL procedure

    I'm updating a date field with dates constructed from day, month and year fields. The incoming data has many instances of day and month that are not valid dates, ex 11 31 2007. There is no 31st day in November.
    I would like to write a pl/sql script to scan the table containing these values and log the rows that produce conversion errors.
    I thought I could do this with exceptions but there are no exceptions that correspond to the ORA-01847 error for mismatched day and month.
    Here is what I tried (the print procedure is a local wrapper for DBMS_OUTPUT.put_line):
    PROCEDURE date_check IS
    start1 DATE ;
    BEGIN
    select to_date(nvl(yearcollected,'9999') ||'/'|| nvl(monthcollected,'01') ||'/'|| nvl(daycollected,'01'),'YYYY/MM/DD'))) into start1 from incoming_data where id=1 ;
         BEGIN
              update temp_test set test_date = start1 where id=1 ;
         EXCEPTION
              WHEN OTHERS THEN
              print('Date error message from exception block');
         END;
    print('Processing continues after handling date exception') ;
    END date_check ;
    Is there a way to catch this kind of error and continue processing after logging a message?
    -=beeky

    Hi, Beeky,
    There are lots of different error messages associated with bad dates. Rather than try to catch them all, I use a BEGIN ... EXCEPTION block that contains nothing but a TO_DATE call. This is one of the rare occassions when I think "EXCEPTION WHEN OTHERS" is okay,
    The following function comes from a package. If you want to make a stand-alone function, remember to say " *CREATE OR REPLACE* FUNCTION ...".
    --          **   t o _ d t   **
    --     to_dt attempts to convert in_txt (assumed to
    --          be in the format of in_fmt_txt) to a DATE.
    --     If the conversion works, to_dt returns the DATE.
    --     If the conversion fails for any reason, to_dt returns in_err_dt.
    FUNCTION     to_dt
    (     in_txt          IN     VARCHAR2                    -- to be converted
    ,     in_fmt_txt     IN     VARCHAR2     DEFAULT     'DD-MON-YYYY'     -- optional format
    ,     in_err_dt     IN     DATE          DEFAULT     NULL
    RETURN DATE
    DETERMINISTIC
    AS
    BEGIN
         -- Try to convert in_txt to a DATE.  If it works, fine.
         RETURN     TO_DATE (in_txt, in_fmt_txt);
    EXCEPTION     -- If TO_DATE caused an error, then this is not a valid DATE: return in_err_dt
         WHEN OTHERS
         THEN
              RETURN in_err_dt;
    END     to_dt
    ;

  • OWB 10gR2 map returning status = Complete and Result = Null in Process Flow

    Hi,
    I have an OWB process flow which invokes an OWB map. There are 2 outgoing transitions attached to the OWB map. 1st transition is a conditinal one (on SUCCESS) and the 2nd one is unconditional transition.
    I am monitoring the status of process flow execution in Oracle Workflow monitor. After the process flow is initiated, sometimes the OWB map within shows status = complete and result = OK in workflow monitor (in tab - status). But sometimes it shows status = Complete and Result = Null. In this situation the execution is following the unconditional transition path.
    Can anyone tell me what causes the OWB map to return a Result = NULL? Also sometimes I am getting the map returning a Result = Force (with the same status = Complete).
    The configuration that I am working with is as below ---
    OWB client version : 10.2.0.1.31
    OWB repository version : 10.2.0.1.0
    Oracle Workflow Version : 2.6.4.0.0
    Database version : 10g Enterprise edition release 10.2.0.1.0
    Regards,
    Swagata

    Hi Manohar,
    1. You need to install Oracle HTTP server in a separate Oracle home.
    2.Look for the dads.conf file in the installation. Edit the file, copy the sample code and paste it below and edit the pasted part as under ----
    <Location /pls/<SID>>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseConnectString <server name>:<port>:<SID >
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage wfa_html.home
    PlsqlNLSLanguage "AMERICAN_AMERICA.WE8ISO8859P1"
    </Location>
    3. STOP and START OPMN (Oracle Process Manager & Notification Server)
    4. Use the URL in your internet browser like --- <HTTP server URL>/pls/<SID>/wfa_html.home
    5. When prompted for user id and password, give the schema user id and password where the workflow engine is installed.
    Hope this helps,
    Swagata

  • PL/SQL process and popup URL

    Hi,
    I have a PL/SQL process which is called on submit but a button. This Pl/SQL creates a file on the web-server and I then want to open this file in a new browser window using the URL path to it. Can this be done from pl/sql or do I need to embed some javascript somewhere in the page. My eg block is :-
    begin
    pack.proc(15);
    owa_util.mime_header('application/vnd.ms-word');
    htp.init ;
    owa_util.redirect_url('http://server:port/my_dir/myfile.doc');
    end;
    The redirect doesnt do anything.
    Thanks for any assistance,
    Brandon

    Hi Teku,
    You just have a look at this thread, where u can find a solution for your problem.
    INSERTING Records into Second table based on First table Primary Key
    hope this helps.
    Bye,
    Srikavi

  • Import process hangs indefinately on JPG and AVI files

    Hi,
    I'm seeing a similar issue to some of the other posts.
    My configuration is Windows 7 x64, 4GB RAM and a Core i7. All the photos I want imported have been moved to the C drive.
    When I try to import a folder with a couple of sub-folders containing a total of about 3000 JPG and AVI files (from a CANON 450D and Fuji Finepix 200EX), the import process hangs inderfinately, and I need to kill the process.
    Only around 500 photos get imported.
    One strange thing is that I am only able to preview a couple of the files in the preview grid. However when selecting to view a single file instead of the grid view I am able to view the file in question.
    I have tried to import one file at a time (for a couple of the ones that fail that is) but the import process still hangs, even though I am able to view the file itself before import.
    Have also tried only JPG files, same result.
    Any ideas?
    thanks

    What happens if you try to copy these files to your iMac first? Your problem may not be that applications quit when opening but rather you're having problems simply accessing the disk.
    If your external disk was formatted as NTFS by your Windows machine then your Mac will not be able to write back to the disk. Your applications may be attempting to save temporary or permanent files back to the disk. Verify this by going to the Apple menu and selecting "About This Mac". Click the "More Info..." button. Under the Hardware section on the left, look for your drive. It's probably under ATA. Select your drive and look at the "File System". If it is formatted as NTFS, you can copy the files to your iMac, and use the Disk Utility to reformat the drive to a Mac or MS-DOS format.
    This could also be a symptom of disk corruption. You can begin troubleshooting by using the Disk Utility found in /Applications/Utilities to verify/repair your disk. If Disk Utility finds problems but is unable to fix them, you can purchase third party tools such as DiskWarrior or TechTool Pro to attempt to repair your disk.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

  • Process Monito: Meaning of Status HOLD and Reasn PRIVATE

    Hi all,
    Sometimes our development systems tends to react extremely slowly.
    If I can get the process overiew in SM50, I see that all Dialog processes are uses and we have a whole bunch of users with Status HOLD and Reasn PRIVATE - no DEBUG, no wait RFC, no DB access active.
    Nobody can explain what that means and what the reason may be.
    TNX for any hints.
    Regards
    Clemens

    Yes, it is all in the help.
    PRIV means that the user's memory limit has been exceeded for this work process and that the process will be locked until enough memory is available on the system.
    Some companies just don't have the money to buy some memory - they prefer to pay consultants waiting time

Maybe you are looking for

  • Error -: AIP-11047: Invalid OID String used to create OID

    I am getting this error when creating Trading partner agreement. Nowhere during Trading Partner Agreement or protocol setup I was asked to enter OID information except when Installing B2B product. Do you know what it is? Thanks.

  • Zeroed drive 4 times - can data be recovered?

    Just sold my old g3 clamshell iBook, and I used the disk utility (or something like that) to zero all the data. Because I'm fairly neurotic, I went through that whole process about four times. How easy or hard would it be for the new owner to recover

  • OpenGL Problems

    I have a iMac G3 running OS X 10.3 and OS 9.2. When playing a game on OS 9, I got a error message saying that OpenGL couldn't be prepared and that the game won't work till the problem's fixed. I played the game fine till now. Did this OpenGL graphics

  • How to view a windows external hard drive on a mac?

    I have this windows xp laptop with an external hd attached to it. I want to be able to view and edit the files on that hard drive from my macbook over my wireless home network. How do I do this? How can I mount the hard drive on my macbook?

  • What happened to the JATO forum (id=103) AKA Web Application Framework

    What happened to the Jato forum? (id=103) AKA Web Application Framework I was available a few weeks ago? Now I'm redirected to this forum=122.