JDBC Driver: Messages stuck in processing started at rwb

Hi,
I have ABAP Proxy (7.1 EHP1) -> JDBC (MS SQL Server) scenario.
I'm trying to do INSERT_UPDATE.  The interfases works fine for the first 5 messages. If I check the DB I see rows inserted correctly, but the first five messages stucks in processing started, and the others JDBC messages stuck in Pending to be delivered The interfase is developed as asynchron, i'm not affraid in the response.
I tryed to do just an INSERT, send just one message, or change the isolation level. But the messages continues stucking in processing started status.
One of the lasts possibilities is transform the interface to sync  or increase the max number of threads of queue "JDBC_http://sap.com/xi/XI/SystemRecv" via ConfigTool. But I can't stop the j2ee stack until next weekend.
The audit Log:
- The message was successfully received by the messaging system. Protocol: XI URL: http://sapdev:51000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
- Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
- Message successfully put into the queue.
- The message was successfully retrieved from the receive queue.
- The message status was set to DLNG.
- Delivering to channel: CC_C0400_IM01_MES_INTEG
- JDBC Adapter Receiver processing started, required QoS ExactlyOnce
- JDBC Adapter Receiver Channel CC_C0400_IM01_MES_INTEG:  processing started; party   / service XXXXXXXXX_DES.
- INSERT INTO  XXXXXXXXXX_TST (CodArticulo, Descripcion, EAN13, Vidautil, bolsasporestuche, estuchesporcaja, estuchesporpalet, gxu, UNISTK) VALUES (XXXXXX, XXXXXXXXX,              , 270 , 1, 0 , 0.000 , 1000 , KG)
Maybe is a problem in DB side, but the experience tell me that is more inestable a SAP PI than MS SQL Server
Any Idea? 
P.S. In the same PI is coexisting diferents JDBC interfaces that works fine. I have tried to use their channels but still stucking.
And this is not my first PI :P

Hi Xavier,
have a look at the documentation of this option:
db.autoCommit=NO|YES
Use this parameter to deactivate the logical unit of work required by the JDBC adapter to guarantee that the data in the database is consistent. This option is required for JDBC drivers that do not support transactions. To avoid data inconsistencies in the database when the logical unit of work is deactivated, ensure that multiple database transactions cannot access the database simultaneously.
The default value is NO.
Do not set this parameter to YES if the JDBC driver supports transactions, that is, if the system does not display a corresponding error message during normal operation.
Netweaver Documentation
I'm sure MS SQL Server JDBC Driver is able to support transactions. By default the whole message will be treated as one transaction against the database.
Regards
Sven

Similar Messages

  • FTPs - Status stuck in "Processing started"

    I am running PI7.0 SP10.
    I have a BPM conencting to a FTPs server to process multiple files into variable directories.  All works well - apart from...
    It is connecting to the Server okay, but not actually processing.
    In the Message monitoring, it says - Processing started
    Here is the audit log...  The names have been changed to protect the innocent!
    Success Message successfully received by messaging system. Profile: XI URL: http://server.fqdn:5<SYSNO>00/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    Success Message successfully put into the queue.
    Success The message was successfully retrieved from the receive queue.
    Success The message status set to DLNG.
    Success Delivering to channel: FTP_Receiver_EmployeeLookUp
    Success MP: entering
    Success MP: processing local module localejbs/CallSapAdapter
    Success File adapter receiver: processing started; QoS required: ExactlyOnce
    Success File adapter receiver channel FTP_Receiver_EmployeeLookUp: start processing: party " ", service "XE_TST_3RD_FTP_001"
    Success Connect to FTP server "ftp.ftp.ftp.ftp", directory "/variable/"
    This is stuck in processing... 
    I have spoken to the "owners" of the ftp site...
    In the their logs, they can see the connection, and "session started".
    Has anyone come across this before?  How can this be fixed/released and actually process?

    Barry:
      I was watching your thread from the day you posted since we had the same issue
    Even we have the same issue for the past month..we tried all sort of solutions to get rid of the problem but were not able to....its still exist..we have logged a ticket to SAP support and waiting for them
    for the time being we used "Availability Time Planning" to schedule the polling which is like forcing the channel to wake up and die in the time interval we want....
    (sometimes even it stops but not as frequent as the above)
    if you find permanent solution to your problem let me know

  • FTP Sender - Status stuck in "Processing Started"

    Friends,
    I have a Communication Channel Type "FTP Sender" which ends up crashing intermittently during the implementation of reading / conversion of data. The message reaches the status "Processing Started" and not out of it without displaying any error log.
    When I go in the Integration Directory and the Active CC, he returned to work.
    Has anyone been there who can help me?
    Thanks.
    Bruno

    The timeout I mentioned was the message life timeout not the processing time ,,, Instead of refreshing the channel if you know the message life timeout the message would end automatically instead of infinite loop.
    Can you implement the lock parameter in advance adapter attributed clusterSyncMode to "Lock"
    Refer to Note 801926.
    Useful links to troubleshoot File Adapter
    http://www.sappi.sapag.co.in/uncategorized/note-821267-faq-xi-3-0-pi-7-0-pi-7-1-file-adapter/
    http://wiki.sdn.sap.com/wiki/display/XI/TroubleshootingtheFile+Adapter

  • BPM messages stuck In Process - never get sent

    Hi all,
    We have had a number of BPM processes running successfully in our XI 3.0 DEV SP17 system for weeks now but suddenly, none are now working. Our BPMs wait a specified amount of time before creating a bundled outbound message. In SXMB_MONI, the Outbound Status is a timer status. The workflow logs mappings are all complete but the Block above is stuck in the status In Process. This never changes and no message is sent no matter how long you wait. There are no errors listed anywhere. To try and fix this, we have performed the following steps and then retried but to no avail:
    1. Re-registered and re-activated queues in SXMB_ADM
    2. Deleted all work items in SWWL
    3. Checked for event problems in SWEQADM
    4. Checked for errors (none given) but done a cache refresh anyway in SXI_CACHE
    5. Checked in the Process Builder under Goto -> Basic Data -> Start Events tab that the workflow is active
    6. Restarted the server
    What else can I check to free up this blockage or reactivate whatever isn't running?!
    Many thanks,
    Stuart Richards

    Hi Stuart Richards,
      Similary I too faced the Problem,   Try  for SLD  Cache  refresh, 
    To clear the SLD cache, from the Integration Builder main menu, choose Environment  ®  Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Did you  tried this option,
    Transaction code : SXI_CACHE
    Go to menu
    XI Runtime Cache -> Start Complete Cache refresh.
    Thanks & Regards
    Agasthuri Doss

  • Receiver JDBC channel is stuck in "delivering" status.

    Hi experts,
    I have a IDoc -> JDBC scenario, and when the JDBC channel tries to process a message, it get stuck in "delivering" status. Here's the log of the message process:
    2011-04-25 17:38:10 Success Message successfully received by messaging system. Profile: XI URL: http://xq0ds001:50100/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2011-04-25 17:38:10 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2011-04-25 17:38:10 Success Message successfully put into the queue.
    2011-04-25 17:38:10 Success The message was successfully retrieved from the receive queue.
    2011-04-25 17:38:10 Success The message status set to DLNG.
    2011-04-25 17:39:08 Success Delivering to channel: CC_JDBC_NA_Familiares_BUXIS_Receiver
    2011-04-25 17:39:08 Success MP: Entering module processor
    2011-04-25 17:39:08 Success MP: Processing local module localejbs/CallSapAdapter
    2011-04-25 17:39:08 Success Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    2011-04-25 17:39:09 Success JDBC adapter receiver channel CC_JDBC_NA_Familiares_BUXIS_Receiver: processing started; party  , service BS_NA_BUXIS_QA
    Any ideas of what could be causing this?
    Many thanks!
    Vanesa.-

    Hi Vanesa,
    Make sure you have set the MaxThreadCount parameter to 350 or higher depending of the case and of the resources available.
    To increase the parameter, please follow the instructions below:
    1. In the left frame choose Server -> Kernel -> ApplicationThreadManager
    2. In the tab Display Configuration (right frame) choose Switch between view and edit mode to activate the edit mode.
    3. The parameter MaxThreadCount must be set to 350.
    4. You will then need to restart the J2ee
    For reference see note #937159 - XI Adapter Engine is stuck
    For specific setting to an adapter can be done by going to Services -> SAP XI AF Messaging
    Look at the property 'Messaging connections' here you will see the following queues:
    Send.maxConsumers (asynchronous sending - outbound)
    Recv.maxConsumers (asynchronous receipt - inbound)
    Call.maxConsumers (synchronous sending - outbound)
    Rqst.maxConsumers (synchronous receipt - inbound)
    Depending on where the bottleneck is occurring (i.e. too many entries in the Send.maxConsumers) you can increase these parameters.
    Example of parameter value syntax (sample for JDBC adapter):
    (name=JDBC_http://sap.com/xi/XI/System, Send.maxConsumers=15, Recv.maxConsumers=15, Call.maxConsumers=15, Rqst.maxConsumers=15)
    For reference see note:
    #791655 - Documentation of the XI Messaging System Service Properties
    And see the link:
    /people/kenny.scott/blog/2007/08/20/messaging-system-queue-properties-after-xi-30-sp19-xi-70sp11
    Regards,
    Caio Cagnani

  • Processing Started in JDBC communication Channel?

    Dear Friends,
    in JDBC Sender Channel i am facing one issue, i.e the data coming from DB but in PI/PO 7.4 data is not reached and channel is showing Green color and log is showing processing started. But as per my experience may the data is locked in server level. PI 7.0 for this type of issues we are deleted the locks in adapter level in visual admin. but 7.4 version is not having Visual Administrator. Please suggest how to resolve this issue in sap pi 7.4?
    Note: Previously it is working fine.
    please find the screen shots for your reference.
    Regards,
    Kiran Polani

    Dear Friends,
    i seen ur answers, but if it is production that is not possible to take restart ther server, for this visual administrator -->adapter locks i deleted db locks previously in pi 7.0 but i need solution for 7.4.
    2) http://hostname:port/nwa/locks as suggested by naveeen, for this type of issue dblocks are not available in this url location.
    and i have check this also no use and stoped communication channel and started so many times no use and maintained DIsconnect from Database after processing each message in channel level
    Regards,
    Kiran Polani

  • JDBC Sender Adapter -  NOT FETCHING RECORDS -PROCESSING STARTED

    Hello all,
    I have set up a JDBC sender adapter .With polling interval as 30 Seconds. Polling is done successfully
    but it does not fetch the records .
    Valid Data is present in the tables.In the Communication Channel Monitoring log shows :
    "Processing Started"
    after each poll interval.
    Adding to this , it was working fine  with the same parameters two days back.
    I have enabled the Driver Trace but didnot get any information from Trace.
    How to resolve this issue?Any help
    Regards
    Ganga Prasad

    Hello maheshwari,
    Valid Data is there & many records are there to be fetched.
    One more thing  Normally in the Communication Channel Monitoring
    for an JDBC adapter even if there are no records to fetch we get the Log information in detail that :
    Polling interval started.
    Processing finished successfully
    Processing started
    Polling interval started.
    Processing finished successfully
    Processing started
    But here in my case am getting only : (polling interval : is 60 Seconds)
            2/5/08 8:29:19 AM           Processing started
         2/5/08 8:28:19 AM           Processing started
         2/4/08 3:34:54 PM           Processing started
         2/4/08 3:33:54 PM           Processing started
    One more observation is that my poll interval is 60 seconds but now it is polling after every 120sec
           2/5/08 11:17:31 AM           Processing started
         2/5/08 11:15:31 AM           Processing started
         2/5/08 11:13:31 AM           Processing started
         2/5/08 11:11:31 AM           Processing started
    I have tried refreshing Cache but no change .
    Regards
    Prasad

  • After I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    after I download Itunes, when trying to sync Ipod, message says "needs newer version of mobile support, uninstall Itunes, and reinstall Itunes, and the same process starts all over again. why is that?

    Try removing and then reinstalling the Apple software using these instructions.
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    The above containes a link for XP. Also. make sure you install the correct Apple software, It comes in 32 and 64 bit and you need the one that is the same as the computer OS

  • More precise JDBC driver error messages?

    Hi,
    is there a way to tell the Oracle JDBC driver (9.0.2.3) to provide more detailed error messages in an SQLException message string when a table cannot be found? The usual message "Table or view does not exist" does not provide information on the actual table or view that was missing. I would like the table or view name to be included in the message provided by the SQLException.
    (In general I would appreciate more detailed error information in the Oracle JDBC driver exception messages.)
    Best regards Uwe

    perhaps this might help:
    * Get error message of an SQLException with the following form:
    * <p>
    * <code>Code=&lt;Vendor-specific error code&gt;:'&lt;error message&gt;':SQLState=&lt;SQLState&gt;</code>
    * <code>
    * Note: SQLState "S1000" is returned for general errors or if driver does not support SQLState.
    * @param sqlException SQLException to create error code from.
    * @return Specific error message or null if <i>sqlException</i> not available.
    public static String toString(SQLException sqlException) {
    String result = null;
    if (sqlException != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlException != null) {
    sb.append("RDBMS Vendor Code ");
    sb.append(sqlException.getErrorCode());
    sb.append(": \"");
    sb.append(sqlException.getMessage());
    sb.append("\" : SQLState=");
    sb.append(sqlException.getSQLState());
    sqlException = sqlException.getNextException();
    result = sb.toString();
    }//else: input unavailable
    return result;
    }//toString()
         * Get string representation of a SQLWarning.
         * @param sqlWarning
         * @return Specific error message or null if <i>sqlWarning</i> not available.
         public static String toString(SQLWarning sqlWarning) {
    String result = null;
    if (sqlWarning != null) {
    StringBuffer sb = new StringBuffer();
    while (sqlWarning != null) {
    sb.append("errorCode=");
    sb.append(sqlWarning.getErrorCode());
    sb.append(", SQLState=");
    sb.append(sqlWarning.getSQLState());
    sb.append(",message=");
    sb.append(sqlWarning.getMessage());
    sb.append(",cause=");
    sb.append(sqlWarning.getCause());
    sb.append(";");
    sqlWarning = sqlWarning.getNextWarning();
    }//next subsequent warning
    }//else: input unavailable
    return result;
    }//toString()

  • Hi, Im new to Apple MacBook PRO. I have saved about 50GB files plus applications and message advises that my start up disk is almost full! My MacBook pro has a 500GB hard drive so don't know why this message is coming up. Please help.

    Hi, Im new to Apple MacBook PRO. I have saved about 50GB files plus applications and message advises that my start up disk is almost full! My MacBook pro has a 500GB hard drive so don't know why this message is coming up. Please help.

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion?view=discussi ons

  • Messages stuck in the queue... how do I make them to be processed again?

    Hi,
    I'm new to SAP PI and kinda confused with queues.
    I have file -> bpm -> file scenario and there was an error in mapping within bpm process.
    When I went to qRFC Monitor (smq2), I see that in XBQO$PE_WS90000002 queue,
    there's an error, 'Permanent error in BPE inbound processing'... which is expected.
    Now, I run the interface scenario again several times but they don't get processed
    but stuck in the same queue. At this stage, I didn't know what to do...
    I thought by deleting the error message, other messages will be processed...
    I deleted the error message but the other messages are still in the queue...
    I have two questoins.
    1. What is the best way to handle an error in the queue... can I just delete it? or is there a better way to handle an error in the queue?
    2. After deleting the queue, what should I do to make the other messages to be processed again...
    Thank you.
    -Won

    Hi Won,
    There are programs for restarting the LUW entries:
    programs
    · RSARFCRD: tRFC Monitor (transaction SM58)
    · RSARFCSE: Restart an LUW (background job)
    · RSARFCEX: Restart tRFC LUWs (background job)
    · RSQOWKEX: Restart QOUT qRFC LUWs
    · RSQIWKEX: Restart QIN qRFC LUWs
    · RSARFCSE: Delete an LUW (background job)
    · RSARFCER: Delete various LUWs
    Also, check the url:
    http://help.sap.com/saphelp_nw04/helpdata/en/25/bcfa40badbf46fe10000000a1550b0/content.htm
    Hope this helps.
    Regards,
    Sushama

  • Jdbc sender adapter  hangs and starts showing "Processing Started" forever

    Dear ,
              We are facing some issues with jdbc sender adapter channel on production system
              Environment : XI 3.0 SP 20 + HP-UX 11.23 ia64 + Oracle 10.2
    Sometimes it hangs and starts showing "Processing Started" forever on communication channel monitoring .
    There is no error log for this.
    If i stop it and then start it , no use.
    If i copied this to a new one then it works.
    I have found few SAP note like 1078420,1083488 , but my system is already at higher patch level.
    Can you please advise me something as we are facing in production frequently.
    Regards,
    Sandeep

    Hi Sandeep,
    This problem even we too faced in our project and thought of many stupid things finally found that the JDBC adapter is LOCKED.
    Check in the Visual Admin >Cluster> "LOCKING ADAPTER"
    we get a option of Display Locks .Check for an entry with
    NAME : $XIDBAD.JDBC2XI
    reset the locks and restart the CC ,now it works fine.
    Note 1083488 - XI FTP/JDBC sender channel stop polling indefinitely(04/04S)
    Thanks
    Sudharshan

  • JDBC driver 10.02: error messages always English?

    When changing from JDBC driver 9 to 10.02 the error messages are not presented in the preferred national language any more but always in English. The classes12.jar contains the property files for different languages, but even when the parameter -Duser.language=de is given, the English messages continue to appear. Does anybody know how this behaviour can be changed? I did not find a hint in the README files.
    Regards
    Gerald

    Right. I have diagnosed the issue. It is caused by the removal of the "CIS"
    territory from Oracle Database XE. I have logged bug #5114250.
    If you have access to the applicaction source code, try the following workaround:
    boolean workaround = false;
    Locale origLocale = Locale.getDefault();
    if ( origLocale.toString().equals( "ru_RU" ) ) {
    Locale.setDefault( new Locale( "en", "US" ) );
    workaround = true;
    DriverManager.registerDriver( new OracleDriver() );
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:system/manager@//localhost:1522/ORA92.PL.ORACLE.COM"
    System.out.println( "Connected." );
    if ( workaround ) {
    Statement stmt = conn.createStatement();
    String territory = "CIS";
    if ( conn.getMetaData().getDatabaseMajorVersion() >= 10 )
    territory = "RUSSIA";
    stmt.execute(
    "ALTER SESSION SET NLS_LANGUAGE='RUSSIAN' NLS_TERRITORY='"
    + territory +"'" );
    stmt.close();
    System.out.println( "NLS_TERRITORY changed to " + territory );
    Locale.setDefault( origLocale );
    -- Sergiusz

  • VDS didn't start: Could not load JDBC driver

    Hello,
    I want to start the VDS Tutorial, but I get an error:
    Exception: Data source 'Derby database' failed. Check your CLASSPATH! (in Tools
    -> Options) Could not load JDBC driver 'org.apache.derby.jdbc.EmbeddedDriver'
    Shutting down...
    Data source 'Derby database' failed. Check your CLASSPATH! (in Tools -> Options)
    Could not load JDBC driver 'org.apache.derby.jdbc.EmbeddedDriver'
    But I add the derby.jar file in the VDS under Tools - Options - Classpath
    Have you any ideas...?!

    I try to start the server without the tutorial and that works...

  • "Stuck" in JDBC driver 10.2.0.1

    Environment: Aix 5.1, WebSphere 5.1.1.6, Oracle thin JDBC Driver 10.2.0.1, against Oracle 9i DB Server
    Serveral times a week, we have a huge spike in the number of JDBC connections in webshpere. Typically we see a maximum of 30 concurrent JDBC connections, when we spike we hit 120 connections in 1 second.
    The spike seems artificial, one minute we are chugging along and the next bam we have hit 120 connections. When we get the spike
    the application is not able to recover and the JVM must be restarted. Looking at the javacore, I see that almost all threads are "stuck" in the JDBC driver at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java(Compiled Code)).
    Talking to the DBA, there is no activity on the Oracle server during the spike time. These two points seem to lead us
    to the JDBC driver itself.
    Has anyone else experienced an issue such as this?
    3XMTHREADINFO "Servlet.Engine.Transports : 47255" (TID:0x307CA760, sys_thread_t:0x49B2FC20, state:CW, native ID:0x8448) prio=5
    4XESTACKTRACE at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java(Compiled Code))
    4XESTACKTRACE at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteQuery(WSJdbcPreparedStatement.java(Compiled Code))
    4XESTACKTRACE at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeQuery(WSJdbcPreparedStatement.java(Compiled Code))
    4XESTACKTRACE at cache.DBCache.get(DBCache.java(Compiled Code))

    Hi,
    I'd looks like the application hangs (OraclePreparedStatement.Execute Query) for some reason, as a result, more connections are allocated until the JVM crashes.
    I'd investigate why the application would hang and file a service request.
    Kuassi - blog http://db360.blogspot.com/
    ------ book http://www.amazon.com/gp/product/1555583296/

Maybe you are looking for

  • HELP!!! External eSATA no longer recognized by DVR

    Hi, I am experiencing a problem with my external WD eSATA harddisk. The setop box was recognizing it perfectly and I was recording programs with no problem. Suddenly the DVR does not show the drive any longer. I tried unplugging and rebooting. Did no

  • Trouble with the new update

    so I downloaded the new OSX 10.5.6 the other day, and now I feel like Im running Windows. My DVD player, GONE! Mail, crashes EVERY TIME I open it. I'm about to run Time machine and go back to 10.5.5 This is BULL! Is anyone else having issues? Message

  • Is there a script that will reset preferences in Illustrator?

    I'm using Illustrator CS6 and Illustrator CC on both Mac and PC. Holding down Ctrl-Alt-Shift or Command-Option-Shift while launching Illustrator does not work to reset the preferences. Does anyone know an easy way to reset preferences?

  • Sony Bridge for Mac - Cannot Sync

    So, whenever I connect my Sony Xperia ® (seriously, that ® EVERYWHERE is annoying), I either get an error message "could not connect", or the memory appears to be full. The display bar that usually says what is occupying my memory (Pictures, Videos,

  • What version of itunes to use for windows vistas 34 bit which would be compatible with ios4.3

    the itune that i downloaded does not show devices under which i should be able to see my ipod device