Add On Timeout

We have an add-on which was developed for SAP B1 2005 and recently ported to SAP B1 2007.
After the upgrade to 2007 users started to complain about the Add on being disconnected / timing out during longer running batch jobs.
This add on allows the users to choose and process incoming data and users are able to process many information at one run, so it can run for several minutes without any user interaction.
Is there any timeout setting or anything that might have impact on the add-on?
Thank you very much, appreciate any help.

The add-on does not use SQL Server stored procedure. It is a C-sharp code using the SDK to import EDI orders to the SAP-B1. It uses the SDK classes to process the orders, there is no direct SQL commands or stored procedures.
It goes thru a loop per order where for each order it executes the same processes. If there is many orders to process (40+), there could be extended period of time where the add-on is processing without any user interaction (possibly 10 minutes).
In this case the add-on stops responding and eventually SAP prompts the user to restart the add-on.
It does not happen if the number of orders to be processed is less. The truth is that the database got much bigger over the last couple of year, so the problem might be much more visible now.
Thank you in advance for any advice / help.

Similar Messages

  • MS-Word Add-on Timeout in 5 minutes

    Hello!
    I have a data template report that runs in about 15 minutes (I can see it through the bi publisher web interface). However, a generic error is always returned after 5 minutes. Does anyone knows where I can config the Word add-on to increase this timeout parameter?
    Thanks...
    Daniel Santos
    Brasília - Brazil

    Hello,
    Sorry to see that you're having an issue with Acrobat XI Pro. One thing to ensure is that you have the latest patch for Acrobat 11 applied, since several bug fixes have been integrated into these patches.
    If Acrobat Pro menu item - Help -> Check for Updates indicates that no further updates are available, you have the latest patch and in this case, please share the crash dump with me the next time a crash occurs, so that we can analyse the issue.
    You can generate the crash dump again using following steps:
    Create c:\temp\
    Download and extract http://download.sysinternals.com/files/Procdump.zip into c:\temp.
    Make sure no Word or Acrobat instances are already running -- check via Task Manager.
    Launch Microsoft Word and try to convert the file.
    Launch CMD prompt and type "cd c:\temp\procdump"
    On the command-prompt type: "procdump -e -ma Winword.exe c:\temp\01.dmp". Procdump will now wait for the crash to happen.
    Perform the actions in Acrobat that cause it to crash.
    Once the Acrobat crashes, Procdump will create dump at c:\temp\01.dmp.
    thanks,
    -atul

  • SharePoint - Error_1_Error occurred in deployment step 'Add Solution': Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was rea

    Hi,
    I am Shanmugavel, SharePoint developer, 
    I am facing the below SharePoint 2013 deployment issue while deploying using VS2012.
    If i will deploy the same wsp or existing wsp
    (last build) using direct powershell deployment, the solution adding properly, but the same timeout exception coming while activation the features.  Please find the below error.
    I tried the below activists:
    1. Restarted my dev server, DB server. 
    2. tried the same solution id different server
    3. tried existing wsp file (last build version)
    4. Deactivated all the features, including project Active deployment configuration.... but still i am facing the same issue.
    I hope this is not coding level issue, because still my code is not start running, before that some problem coming.
    Please help me any one.....  Last two days i am struck because of this...

    What you need to understand is the installation of a WSP does not do much. It just makes sure that you relevant solution files are deployed to the SharePoint farm.
    Next comes the point when you activate the features. It is when the code which you have written to "Activate" certain features for your custom solution.
    Regarding the error you are getting, it typically means that you have more connections (default is I guess 100) open for a SQL database then you are allowed to.
    If you have a custom database and you are opening a connection, make sure you close it as well.
    Look at the similar discussion here:
    The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool
    size was reached[^]
    I would suggest further to look at the
    ULS logs[^] to get better insight.
    Manas Bhardwaj's Stream : www.manasbhardwaj.net

  • I add a timeout for InputStream read().

    I am looking for a timeout for InputStream read() since Java doesn't support it. I use a Timer class to handle the timeout value and put the InputStream.read() into another thread. When the time is up, the Timer object will stop the thread of reading. What do you think about this solution? Do you have any other better solution?
    thanks

    and any ideas on how to stop this blocking read() method from an InputStream (Java 5)???? When googling on this topic I find an incredible amount of questions on this subject BUT no solutions. What to do?? I'm a little bit affraid it comes down to hacking the JVM finding the Thread in some memory block and removing it with brute force.
    hmmm when I think of it, it's really driving my crazy.... the only thing I can think of is throwing my PC out of the window and buy a new one. Unfortunately there's no budget for that it will cost to many PCs :-)
    Edited by: R_e_n_s on Jun 3, 2008 6:45 AM

  • Adding a timeout to Auto Complete doesn't work for IE

    We implemented our own declarative auto complete component. So we're manually handling KeyUp and KeyDown.
    One thing that we need to do is to add a timeout so that when the user is typing, we don't fire the bean code to do the query on every key pressed, but only do it after say half a second. That way if the user is intending to type 3 keys, we only need to fire our query once, where realHandleKeyUpOnSuggestField is the function that calls the query among other things.
    This is called from our ClientListener
    function handleKeyUpOnSuggestField(evt) {
        var realHandleKeyUpOnSuggestField = function () {
            // start the popup aligned to the component that launched it
            var inputField = evt.getSource();
            var suggestPopup = inputField.findComponent("suggestPopup");
            //   var suggestTable = inputField.findComponent("suggestTable");
            //don't open when user "tabs" into field
            var valueStr = inputField.getSubmittedValue();
            // Special characters coming from scanner. Don't popup if that's the case.
            if (suggestPopup.isShowing() == false && evt.getKeyCode() != AdfKeyStroke.TAB_KEY) {
                //hints = {align:AdfRichPopup.ALIGN_AFTER_START, alignId:evt.getSource().getClientId()+"::content"};
                var alignTo = inputField.getClientId() + "::content";
                var hints = {
                    align : AdfRichPopup.ALIGN_AFTER_START, alignId : alignTo
                suggestPopup.show(hints);
                //disable popup hide to avoid popup to flicker on
                //key press
                suggestPopup.hide = function () {
            //suppress server access for the following keys
            //for better performance
            if (evt.getKeyCode() == AdfKeyStroke.ARROWLEFT_KEY || evt.getKeyCode() == AdfKeyStroke.ARROWRIGHT_KEY || evt.getKeyCode() == AdfKeyStroke.ARROWLEFT_KEY || evt.getKeyCode() == AdfKeyStroke.SHIFT_MASK || evt.getKeyCode() == AdfKeyStroke.END_KEY || evt.getKeyCode() == AdfKeyStroke.ALT_KEY || evt.getKeyCode() == AdfKeyStroke.HOME_KEY) {
                return false;
            if (evt.getKeyCode() == AdfKeyStroke.ESC_KEY) {
                hidePopup(evt);
                return false;
                // query suggest list on the server
                AdfCustomEvent.queue(suggestPopup, "suggestServerListener",
                // Send single parameter
                    filterString : valueStr
    true);
        var inputField = evt.getSource();
        if (window["timer" + inputField.getClientId()]) {
            window.clearTimeout(window["timer" + inputField.getClientId()]);
        window["timer" + inputField.getClientId()] = window.setTimeout(realHandleKeyUpOnSuggestField, 500);
    }This works fine in FireFox and Safari and Chrome, but not in IE.
    The following error occurs:
    >
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
    Timestamp: Thu, 13 May 2010 20:27:33 UTC
    Message: Member not found.
    Line: 6034
    Char: 2
    Code: 0
    URI: http://127.0.0.1:7101/NC2DealerPartOrderTracking-ViewController-context-root/afr/partition/ie/default/opt/core-SHEPHERD-PS1-9296.js
    >
    When I debugged through, it seems like the event's getKeyCode() doesn't exist. I'm assuming it's something to do with scope for IE working different than FireFox.
    I realize this is more JavaScript question, but I'm wondering if anyone got something like that to work on ADF. As far as I know, there's no other way besides using JavaScript and IE doesn't seem handle scoping very well. I can't use a global parameter because I'm using this in a component and you can have multiple components in a page.

    Clicking the link to the .PDF launches the file in a browser (same gimped toolbar for both IE 8 and Firefox). When I right-click the .PDF toolbar in-browser, I have access to the following toolbars:
    File
    Find
    Page Display
    Page Navigation
    Select and Zoom
    Tasks
    I don't see anything for Commenting / Annotation.

  • Geeting TIMEOUT while executing a Stored Procedure.

    Hi Gurus,
    Am facing a TimeOut  issue while executing the Sql Stored Procedure.
    I have changed a settings of Execution TimeOut to Zero (which is unlimited ), Am still unable to execute the Stored Procedure.
    Should i have to add any TimeOut Command in my Sql Stored Procedure. If please suggest me.
    Thanks in advance.

    Time out is the client who throws the error  not SQL Server. Please read Erland's article
    http://www.sommarskog.se/query-plan-mysteries.html
    Are you sure there is blocking/locking? Is that possible someone run BEGIN TRAN and did not properly specify COMMIT TRAN?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Error occured in deployment step 'Activate Features': Timeout Expired

    Hi all,
                 Today when I deploy SharePoint 2010 application using visual studio I faced the error.
    "Error
    18
    Error occurred in deployment step 'Activate Features': Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections
    were in use and max pool size was reached."
    How to solve this
    s.vijay

    one of the possible thing is may be their is SQL connection leak in your code.You can trace it using sql profile...check this post for more details:
    http://social.technet.microsoft.com/Forums/en-US/7134eb37-621a-4be1-93b2-0f53ac2d912f/error-occurred-in-deployment-step-add-solution-timeout-expired?forum=sharepointgeneralprevious
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Adding CFC timeout?

    iam trying add a timeout in a CFC but having some issues with
    it...I need help...here is my sample CFC which needs a timeout
    added....could somebody please help me how to add a timeout in the
    code..i tried requesttimeout using cfsetting but i could not pull
    WSDL up..
    <cfsetting requesttimeout="30" />
    <cfcomponent>
    <cffunction name = "test" access="remote"
    returntype="struct" output="no">
    <cfargument name="var1" required="true">
    <cfargument name="var2" required="true">
    <cfscript>
    //Request structure
    stOrder = structNew();
    stOrder.var11 = #arguments.var1#;
    stOrder.var21 = #arguments.var1#;
    //needs a timeout added around this call
    ws = createObject("webservice", "#WebServiceURL#");
    myReturnVar = ws.NewOrder(stOrder); //end of timeout
    </cfscript>
    <CFSET returnStruct = StructNew()>
    <CFSET structRC = StructInsert(returnStruct, "output",
    myReturnVar.outputvar1)>
    <cfreturn returnStruct>
    </cffunction>
    </cfcomponent>

    adding CFC timeout?
    No, I wouldn't. When my employer sends me to get a job done, he is the one with the stop-watch in his hand, not me.
    In my opinion, the calling page should be the one to decide that a function is taking too long, not the component. I would design it like this:
    callingPage.cfm
    =============
    <cfsetting requesttimeout="30" />
    <!--- instantiate component or web service and call test() --->

  • PDA (Pocke PC) - Serial Write Timeout

    Hello List,
    I am developing serial routines to communicate with external hardware. In many cases, XON/XOFF flow control is used.
    I have configured my PDA device to write out a large file. During the transmission, I use my development computer to monitor the transmission. During the transmission, I can send XON/XOFF characters to the PDA. If I send an XOFF, it will "pause" until I send an XON character. It works great unless I wait for more than about 3 seconds. If the PDA is forced to wait for more than 3 seconds, the transmission is terminated with an error. However, if I send an XON character, before the 3 seconds delay, it continues the transmission and no error occurs.
    It seems that a 3 second timeout is being enf
    orced within the routines but I have not been able to determine if I have control (within the PDA Serial Routines) over the timeout variable. Personally, I would like the timeout to be indefinite unless I want to enforce one.
    FYI: Based on industrial experience, for very large files, delays during the transmission of several minutes may be necessary.
    TIA,
    Guy

    Hello,
    I apologize for the delay in responding to your post. You are having a timeout issue when using software flow control (XON/XOFF) to transfer data between a PDA and a host computer, right? Are you getting error code 7 when the PDA times out? I was able to duplicate this issue here. This error code is a timeout error and it means that not all bytes have been sent. I spoke with members of the R&D team and they know about the problem. While they were unable to offer a formal solution at this time, they did provide a workaround which I hope works for you.
    Put a while loop around the serial write VI on the PDA.
    Continue the while loop until there is no longer an error code 7 (i.e. until all bytes have been sent).
    Essentially, this will ignore the repeated timeouts from the serial write VI. You can manually add a timeout mechanism by obtaining the time before the loop and checking it during the loop. However, you mention an infinite timeout is acceptable in which case no additional code is necessary.
    I have attached a couple of VIs that implement serial communication using XON/XOFF flow control and that use the above workaround. Please let me know if this solution works for you. If not, can you provide some additional details such as the error code and if the timeout is happening on the PC side or the PDA.
    Happy coding,
    Grant M.
    National Instruments
    Attachments:
    Serial_XonXoff_(Host).vi ‏55 KB
    Serial_XonXoff_(PDA).vi ‏68 KB

  • CORBA client call timeout

    I am able to use the Weblogic ORB to invoke a CORBA call on a CORBA server. I am not using RMI/IIOP or Tuxedo. Now I would like to add timeout on the invocation. The standard way is to use a org.omg.CORBA.PolicyManager class and add a timeout policy. Yet I found out that PolicyManager is not in weblogic.jar. Is it not supported in Weblogic? If true, how can I set up timeout?
    CS

    C S <> writes:
    Its supported in 9.x, what version are you using?
    andy
    I am able to use the Weblogic ORB to invoke a CORBA call on a CORBA server. I am not using RMI/IIOP or Tuxedo. Now I would like to add timeout on the invocation. The standard way is to use a org.omg.CORBA.PolicyManager class and add a timeout policy. Yet I found out that PolicyManager is not in weblogic.jar. Is it not supported in Weblogic? If true, how can I set up timeout?
    CS

  • Timeout javabean and called form?

    I have a 10g form that acts as a menu and calls other forms using the call_form built-in. I would like to add the timeout javabean that is included in the 10g demos, but was wondering if I needed to add it to all of the forms or could I just add it to the main menu form? Does anyone know how this bean works with called forms?

    Hi,
    Would you tell me the steps to add TimeOut PJC to a form? I' have some errors in Oracle Forms Builder when running the form.
    java.lang.NullPointerException
         at oracle.forms.demos.TimeoutPJC._addMouseListeners(TimeoutPJC.java:208)
         at oracle.forms.demos.TimeoutPJC.init(TimeoutPJC.java:180)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    thanks for your help.
    best regards,
    TT

  • How to catch global transaction timeout event

    Hi all,
    I need to find a way to catch global transaction timeout events. By default, there are only two transaction related events can be caught:
    .SysTransactionHeuristicAbort
    .SysTransactionHeuristicCommit
    Is there a way to add transaction timeout to the list. Thanks in advance.

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • EJB / Timeout / HttpUrlConnection

    I have an EJB that needs to talk to an outside vendor using http.
    Is there a way I can specify a timeout and thus if the vendor http port is down,
    the bean doesn't try forever to connect.
    I saw a similar post in this newsgroup and a proposed solution but that works
    only for https.
    I was hoping to find either 1) a property somewhere in weblogic to control the
    timeout parameter. This call is in a bean method by itself.
    2) A timeout parameter that could be specified while connecting to the external
    port.
    We are using WLS 6.1/JDK 1.3.1.
    Here is a code snippet...
    URL myURL = new URL (....)
    HttpURLConnection myConn = myURL.getOpenConnection();
    myURL.getOutputStream()

    1.4 finally supports this. Using 1.3 you have several choices to add
    read timeout:
    use HTTPClient: http://www.innovation.ch/java/HTTPClient/
    if you use Sun's JVM this hack works: http://www.logicamente.com/sockets.html
    2) Until 1.4 there is no way to specify socket connect timeout.
    Ashish <[email protected]> wrote:
    I have an EJB that needs to talk to an outside vendor using http.
    Is there a way I can specify a timeout and thus if the vendor http port is down,
    the bean doesn't try forever to connect.
    I saw a similar post in this newsgroup and a proposed solution but that works
    only for https.
    I was hoping to find either 1) a property somewhere in weblogic to control the
    timeout parameter. This call is in a bean method by itself.
    2) A timeout parameter that could be specified while connecting to the external
    port.
    We are using WLS 6.1/JDK 1.3.1.
    Here is a code snippet...
    URL myURL = new URL (....)
    HttpURLConnection myConn = myURL.getOpenConnection();
    myURL.getOutputStream()--
    Dimitri

  • Howto implement timeout

    Ok I have the following problem...
    I have multiple VI's. Most of these VI's contain a loop which can theoratically loop a infinit amount of time. Some VI's which can run infinitly call VI's which can run infinitly. Now my problem is how do I timeout them. 
    I got a few solutions but none that I like. 
    Currently I have the following (not wanted implementation). Each VI has a timeout input. Then inside the VI I check if the VI has timed out. Now this implementation is flawed because of the following. I have A.vi and B.vi. A.vi calls B.vi. A.vi and B.vi have a input timeout. I wire the timeout of A.vi to B.vi. Now the flaw in my current design is that the timeout is sort of relative. Before B.vi is called in A.vi already some time has passed. Thus when B.vi is called in A.vi with that timeout it is possible that while B.vi is running A.vi would have timeout... but this does not happen because B.vi is still running with the same timeout of A, hence gets extended, because the timeout is added with the time when the VI is called and then compared when running. I attachted a sample VI of my current implementation. 
    Now I want to be able to have a more abstract method. Something like a VI which holds the timeout. I was thinking of a functional global... however this would conflict when two VI's are running with different timeouts which both call that VI when they run in parallel. 
    Hopefully someone has a clever idea/solution.
    Attachments:
    A.vi ‏10 KB
    B.vi ‏9 KB

    If A.vi calls B.vi, and you expect B.vi to be done in 100 ms it's naturally impossible for A.vi to be done in 100 ms as well if B.vi times out. You can use the timed elapsed in B output and add it to the time elapsed in A to compare it with the timeout instead. However if B does time out A will still take a bit longer to time out.
    Hmmm wel that would not be possible of course because what when B will execute infinitly...
    If your current approach is as simple as the demo VIs you attached, you may very rarely run into a problem when the Tick Counter rolls over, giving you a much longer timeout than you expect.  (Of course, loops with no wait are also a problem).
    Sounds like what you want is to change your timeout inputs to "Timeout At" inputs, so that it times out at a given time.  Instead of comparing with the Tick Count, compare with Get Date/Time in Seconds (this also solves the rollover problem).  Then you can pass the same Timeout At value from A directly into B.  Alternatively, add the Timeout At input instead of replacing the Timeout, and set the initial value to NaN.  Check if the input is NaN - if so, get the current time in seconds, add the timeout value, and use that as the new Timeout At; otherwise, just use the Timeout At value that was passed in.
    Yes I actually came up with this solution also "Timeout At" idea. But I don't really like it, I was hoping for a more abstract/generic method. Where I could just use the tickcount. 
    The real issue lies in fact with the problem that I can't determine which VI's are going to be called and because they can be executed in parallel. If I could do this I could just create a notifier for that set of VI's which need a timeout check.

  • Coldfusion Process Won't Timeout

    I can't get some processes to timeout, even though in the
    Coldfusion Admin I have the setting set to 180 seconds. Here's the
    a snippet from TOP:
    24732 apache 25 0 920m 314m 26m R 98.3 31.1 0:23.84 cfmx7
    22646 apache 16 0 920m 314m 26m S 1.0 31.1 28:10.59 cfmx7
    22647 apache 16 0 920m 314m 26m S 0.3 31.1 269:16.04 cfmx7
    How can I make sure processes timeout like they are supposed
    to (per the admin)?
    Thanks,
    Adam

    These tags
    cfstoredproc, cfcontent,cfftp, cfexecute, and cfobject do
    not respond to
    ANY timeout settings (admin or page level). This is a
    complete failure in the CF programming. Also calls to CFX tags will
    not respond to timeouts. For CFX tags you write you should add a
    timeout attribute so your tag can be timed out. That is about all
    you can do to overcome ColdFusions lack of proper timeouts. It may
    be possible to add timeouts to your t-sql innside of stored procs?
    I don't know for sure.
    You can and shoud buy Fusion Reactor or SeeFusion. We use
    Fusion Reactor and it can kill those threads that get hung up.

Maybe you are looking for

  • Copying Contacts

    I apologize in advance for the length of this post, but I can find no other way to describe my issue. I hope it is understandable. I have been trying to copy my contacts from either my iPhone 4S or MBP to the Snow Leopard partition on my Mac Pro. I h

  • Help Saving and recalling a TDS Waveform from a file.

    I have tried everything I can find in the examples with no luck. I have a Waveform that I have acquired on my TDS 360. I have it ouput to a graph on the VI front panel. That works great. The Graphed waveform is exactly what I need. Now all I want to

  • README file opens after every restart??

    The hard drive in my iMac died and Apple replaced it under warranty. The new drive was loaded with OS X 10.6. I decided to migrate my user files, applications, settings from my cloned backup (SuperDuper) on my external drive rather than simply copyin

  • Acknowledgment for SMS

    Hello, nowadays all phones have this feature of acknowledgment for SMS, why did he not have it for iphones? Thank you for your answers

  • Upgrade to tiger, firmware update before

    Hi I bought a tiger full version, and while I was expecting just to slot the disk in and wait, the read me files tells me I should check for firmware upgrade before. Ooops. So I had a look at all the files on support/download.html, but really not sur