SAINT freezes, program SAPLSTPA waiting for gateway, function CMRCV

I try to upload the ST-A/PI patch with SAINT but it freezes, seems that program SAPLSTPA is waiting for a RFC or whatever.
Did anyone had this problem?
do you remember how to check those logs (the import logs) I dont remember well where are they placed
thanks

Hello,
You canstart from transaction code SM50 to see if any workproces in on RFC Hold status. If not, you can go to /usr/sap/trans/log to find the latest log. The import log name is SAPIxxxxxx (xxxxx is the transport number like SAPKxxxxxx).
You can also check if there's any TP or R3trans hanging, and in SM37, if there's any RDD* job canceled, and inSLOG, if there's any deadlock in /usr/sap/trans/tmp directory.
Anyway, start with SLOG and do some analysis you might find something.
Regards,
Joe

Similar Messages

  • Want the program to wait for some sec

    Hi,
    I'm trying to get a kinda sweeping effect with a couple
    of images. I need the program to wait X amount of
    millisec before it shows another image.
    How can I do this? I've tried using sleep and delay
    but I can't get it to work. I'm not using any threads.
    I just want the program to wait for a moment.
    Thanx

    try {
    Thread.sleep(millis);
    } catch (InterruptedException e) {
    }

  • Calling another program and waiting for output

    Hi,
    I'm writing a program that passes a file created for an application called Net Sim but has to wait for the output. Net Sim lies in another directory from the java files and I don't know how to call the program with the file created as a parameter, such as:
    ns2 network1.tcl
    where 'ns2' is the dos command to run net sim and 'network1.tcl' is a file passed as a parameter to the program.
    I've tried
    try{
    Runtime r = Runtime.getRuntime();
    r.exec(" <directory> ");
    }catch(IOException e){
    System.out.println("Error " +e);
    This doesn't work though and I could use some help, as well as how to save the file created by the program in another directory.
    Finally, I need to know how to make the program wait for the output from net sim which is a file I intend to use. Can I do this with a while loop etc.?
    I thank you in advance for any help,
    Regards,
    Gary.

    Here's an article from JavaWorld describing some of the pitfalls when using Runtime.exec() that might help you:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Stopping program without waiting for trigger

    Hi everybody
    I have a problem that I just can't get my head around. I have a program that I use to aquire data. The program goes through the motions of waiting for the trigger, aquiring the data on the appropriate channel, displaying it, and loops back to waiting for the trigger. The problem is That when I want to stop my program while it is waiting for a trigger I must wait for it to recieve a trigger before it will stop excution.
    Is there a way for my program to stop the trigger vi when I select to end the program?
    Thanks
    Beaton
    - there is always an easy way, but it is always the hardest to find

    Hi Beaton,
    you have to split the 'wait for trigger time' into shorter sub-steps.
    Let's say you wait 10sec for trigger signal. Make a loop instead waiting 1 second for 10 times! After each iteration you can check for: 'break the loop (end program)' or 'trigger received' or 'any other error occured'. This way you can stop your program very easily - you can also make your own error state saying 'Error number 123456: stopped by user'...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • App Server Freeze - All threads waiting for replication data

              We are running Weblogic 6.1 SP2, on solaris 8 with jdk1.3 When running load at our
              application - full GC is taking between 15 -20 seconds. At a certain point after
              a full GC on one of the servers in the cluster we see session replication errors
              in the logs. The application eventually freezes - the execute queue is huge on each
              of the JVMS and when we do a thread dump we see that all threads are waiting for
              replication data. All threads have the same stack trace as follows:
              "ExecuteThread: '1' for queue: 'default'" daemon prio=5 tid=0x2c58b0 nid=0xe waiting
              on monitor [0xbf980000..0xbf9819d8]
                   at java.lang.Object.wait(Native Method)
                   at weblogic.rjvm.ResponseImpl.waitForData(ResponseImpl.java:72)
                   at weblogic.rjvm.ResponseImpl.getTxContext(ResponseImpl.java:97)
                   at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:80)
                   at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:135)
                   at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
                   at $Proxy74.lookupROIDS(Unknown Source)
                   at weblogic.servlet.internal.HttpServer.lookupROIDS(HttpServer.java:761)
                   at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:225)
                   at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:2130)
                   at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1921)
                   at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:107)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2467)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              Yes this is reproducable. We are now working with BEA Support under Case : 321199.
              Thanks
              Anna
              Kumar Allamraju <[email protected]> wrote:
              >You should work with [email protected]
              >Can this problem be reproduced with an isolated test case?
              >If yes, it will be really helpful for them to work with Engg.
              >
              >--
              >Kumar
              >
              >anna bancroft wrote:
              >
              >> We are running Weblogic 6.1 SP2, on solaris 8 with jdk1.3 When running
              >load at our
              >> application - full GC is taking between 15 -20 seconds. At a certain
              >point after
              >> a full GC on one of the servers in the cluster we see session replication
              >errors
              >> in the logs. The application eventually freezes - the execute queue is
              >huge on each
              >> of the JVMS and when we do a thread dump we see that all threads are waiting
              >for
              >> replication data. All threads have the same stack trace as follows:
              >> "ExecuteThread: '1' for queue: 'default'" daemon prio=5 tid=0x2c58b0 nid=0xe
              >waiting
              >> on monitor [0xbf980000..0xbf9819d8]
              >>      at java.lang.Object.wait(Native Method)
              >>      at weblogic.rjvm.ResponseImpl.waitForData(ResponseImpl.java:72)
              >>      at weblogic.rjvm.ResponseImpl.getTxContext(ResponseImpl.java:97)
              >>      at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:80)
              >>      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:135)
              >>      at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
              >>      at $Proxy74.lookupROIDS(Unknown Source)
              >>      at weblogic.servlet.internal.HttpServer.lookupROIDS(HttpServer.java:761)
              >>      at weblogic.servlet.internal.session.ReplicatedSessionContext.getSessionInternal(ReplicatedSessionContext.java:225)
              >>      at weblogic.servlet.internal.ServletRequestImpl.getValidSession(ServletRequestImpl.java:2130)
              >>      at weblogic.servlet.internal.ServletRequestImpl.getSession(ServletRequestImpl.java:1921)
              >>      at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:107)
              >>      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2467)
              >>      at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
              >>      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              >>      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>
              >>
              >
              

  • Forcing a program to wait for a few hundred milliseconds

    Is there any way to stop a program for say 300 milliseconds? If I use ENQUEUE_SLEEP, the code only seems to work at quantums of 1 second, which is a bit too much for our purposes.
    BR,
    Tony.

    In 4.7, there are 2 variants in the documentation.
    In variant 1, the system interprets the field time as an integer. This allows you to enter waiting periods in seconds.
    In variant 2, the system interprets the field time as a floating point number. The internal resolution of the time period is performed in millisecond units. This means that the smallest possible time period is 1 millisecond (i.e. WAIT UNTIL logexp. UP TO '0.001' SECONDS).
    (as described in documentation of WAIT command).

  • X6 freezes on Waiting for GPS

    HI I have a Nokia X6, and the maps and voice navigation used to work really well, but for the last few weeks, when I try to use it, it freezes on the Waiting for GPS screen and never actually connects.  Have had the phone for nearly 2 years but never had this problem before, altho I don't use the GPS function much.  I believe I have updated all recent software, I did it this morning thru my computer using Nokia software updater.  Any ideas?

    Hey mssndependant, Welcome to the Nokia Forums!
    Have you made sure that
    -A-GPS is activated
    -That you are able to receive packet data
    -You have not maxed out your data plan allowance with your service provider?
    If you have checked all of these and they are all fine, it might be a hardware issue and you will need to take the device to your local Nokia Care point to get your device inspected by a technical expert.
    I hope this helps, please let me know if you have any further queries!
    Sheldrick
    Press the 'Accept As Solution' icon if I have solved your problem, Kudos my post if my advice has helped you!

  • A Background job in one of the step delays due to awaiting for Gateway

    Hi,
    We have the month-end jobs executing in our Production systems every last week of month
    It was observed that, one BGD job took 30-45 mins delay to finish.
    - In one of the steps, there is Parallel processing with 56 DIA work processes across 4 Application servers out of 6.
    - It was observed that all these 56 processes were showing status ON HOLD (Reason RFC) when we checked.
    - I went to the BGD job process (sm51) to see if the job is executing
    - I saw the message - further awaiting for Gateway XXXX (Prod server)
    - I checked in SM59 and all RFCs were OK
    - Even in SMGW everything was OK
    Please help me to find what exactly is the reason for the delays due to Gateways
    Thanks & Regards,
    Sameer

    Hi Ashish,
    The BGD job running on one of the work process indicated - "Waiting for Gateway XXXX (Prod system)"
    Here when I checked the 56 DIA work processes, it indicated - ON HOLD & Status - RFC.
    I need to know more on the Gateway mechanisim in this. Hope the problem was in the gateway connection for a temporary proceess
    Else the system was OK. No improper functioning was observed.
    Need to explore more on this.
    Regards,
    Sameer

  • Wait for user input in for loop

    I'm pretty new to labview and I'm having a hard time figuring out how to do this. Basically, I need the user to press a GO button and data aquisition will take place saving it in an array, then the program will wait for the user to press the GO button again and the data aqusition will add more values to the array, and the whole process will repeat 5 times and finally it will average the values.
    To try and figure out how to do this, I tried making a program that loops 5 times and adds a random number to an array with each loop (using shift registers) but I CANNOT figure out how to make each loop iteration wait on the user to press a button. Any advice?

    Hi Roger,
    you can use a dialog in your for loop, or better you use an event structure to react on user inputs. If you use the event structure you can count the button press events and store them in a shift register. With a compare function you can check if your limit is reached and react on it.
    Mike

  • Using DAQ occurrence to wait for start trigger

    Hi,
    I'm trying to use digital triggers to start and stop datalogging. Every time start trigger appears, new file is created and data is acquired to file until stop trigger occurs. Now I'm using set DAQ occurrence and wait for occurrence functions to wait for start trigger before creating a new file. The problem is that after first stop trigger this occurrence method doesn't work. I believe it's because AI is not cleared and configured before calling DAQ occurrence again. Number of scans acquired is not zero, if I don't clear and configure AI again? Am I right?
    Do I have to clear and init AI everytime before occurrence config or is there a better way to make program wait for start trigger?
    Thanks in advance,
    Jakke

    Hi Matt99eo,
    Have you configured your device for triggering?  Although you have not mentioned your device specifically, the M series user manual provides a great explanation of digital triggering.  Using the DAQ Assistant, this can be configured from the triggering tab.  Hopefully this helps!
    Regards,
    h_baker
    National Instruments
    Applications Engineer
    Digital Multimeter Resources

  • How to do custom dialog so it displays the dialog and waits for user to end

    I have an application that I want to create my own dialog screens. For example, the user cliks on one frame, and I want to open a window for the user to enter data, after the user finishes, he presses OK and then the main app continues.
    On the class that I open the dialog, I open it with:
    NewOkCancelDialog.abrePopup();
    System.out.println("Program should wait for the dialog to close");And the 'NewOkCancelDialog' class is defined like:
    public class NewOkCancelDialog extends javax.swing.JDialog {
    The constructor is like:
    public NewOkCancelDialog(java.awt.Frame parent, boolean modal) {
    super(parent, true);
    initComponents();
    this.setLocation(400,400);
    This methods are when the user activates the button and the popup closes..
    private void cierraPopupOk(){
    resultados.setciudad1(this.fld_ciudad1.getText());
    if (resultados.getciudad1length() < 3) {
    System.out.println("Error en la entrada!");
    } else {
    doClose(RET_OK);
    private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {                                        
    cierraPopupOk();
    private void doClose(int retStatus) {
    returnStatus = retStatus;
    this.estaAbierto = false;
    setVisible(false);
    dispose();
    I would like to have the application in the first lines, after calling
    NewOkCancelDialog.abrePopup();
    to wait until the method doClose() in NewOkCancelDialog class is finnished. But right now, after the ...abrePopup() is called, it continues.
    What am I doing wrong? or what am I not doing?

    Use the "code" tags not the "bold" tags when posting code.
    But right now, after the ...abrePopup() is called, it continues.Well your posted code doesn't show this method so we don't know what you are doing in this method.
    Why are you using a static method to show the dialog? Normally the code would be:
    JDialog dialog = new CustomDialog();
    dialog.setVisible( true );
    But you are correct with the basic idea in that you need to use a modal dialog.

  • HP SimplePass not waiting for my finger swipe

    I have the HP SimplePass software installed and the Validity driver installed. The fingerprint reader is enabled and working.
    My problem is that when I go to enrol my finger the software tells me to click on a figer to enroll it, when I click on the finger the software flashes the enrollment screen, with the 0% loading bar on it, then it switches to a message saying "It looks like you are having some trouble. Do you want to try again." I try again and the same thing happens.
    I have made sure the sensor is clean and the blue light beside the sensor is activated. The issue appears to be the program not waiting for me to swipe my finger.
    Any help or ideas as to how to fix this would be much appreciated.
    Thanks in advance.

    Testing123
    Welcome to the HP Community Forum.
    I dislike this series of the Support pages -- there is not a Validity Sensor Driver listed for this Series notebook at the Support pages.  It is not common; it does happen for a few models.
    Reference:
    HP Pavilion dv6-6070ca Entertainment Notebook PC
    The problem is that I cannot verify beyond what I can find elsewhere that your fingerprint reader hardware and your software is indeed compatible -- OR that the advice that I can give you is reasonable.
    If you end up needing a copy of your Validity Sensor Driver, the following appears to be the correct Driver for your System.
    sp55109 Validity Sensor Driver V4.3.205.0
    Commentary
    The message you are seeing is USUALLY an indication of an incompatibility between the Validity Sensor -- either the Driver / hardware and the version of the HP SimplePass program OR the Driver / hardware and some itch in the File system that impacts the way in which the HP SimplePass program is interpreting the Driver information.  This is speculation and based on experience -- I don't have access to the code, to the File System, and I do not work for HP.
    The version level of your Validity Sensor Driver, in and of itself, is adequate to allow you to upgrade to a later version of HP SimplePass than the version available at your computer's Support website.
    Because you did not indicate which version of HP SimplePass you are running, I assume you do not know, or that you are running an older SimplePass program.
    The following might work for you:
    Open the file > Click on Download > Click “Open in Adobe Reader”
    Instructions to Upgrade HP SimplePass
    If your HP SimplePass is not working:
    Start here -- it is possible the issue is not one of anything more than just a bad "tangle":
    See Page 10 of the document (at writing) –
    Follow the Procedure Pile of Rubble - Hard Reset Sequence
    Next
    If no joy, go back and follow:
    Procedure - Update / (Re) Install HP SimplePass
    NOTES:
    You are using HP SimplePass Series 6 >> Ignore references to Series 8
    Pay attention to Order-of-Events
    ==============================================================
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • Is there any way to wait for a value without using JDialog or JOptionPane?

    I am implementing a dictionary program by detecting word in a JTextPane and asking a user to choose one of available meanings from JOptionPane or JDialog. The program runs under a while-loop until all dictionary words are detected or a user clicks cancel.
    However, I don't want to use JDialog or JOptionPane because it is sometimes annoying to have a popup window on every detected dictionary word.
    So, I use JList with Buttons on the same Frame as the JTextPane. However, now, the program does not stop when it detects a dictionary word. It just uses a default value of the JList for translating word to meaning.
    Is there any way I can simulate the JDialog or JOptionPane without using it?
    I mean I'd like to stopp the program temporary, wait for an answer from other components, and then continue to detect the next dictionary word.
    Thank you.

    I'm probably reading this all wrong, but instead of the while loop,
    the method just looked for a dictionary word from a particular caretPosition,
    so, to start, it would be findWord(0)
    when found, add whatever to wherever, note the caretPostion at the end of the 'found' word, and method returns.
    when the user selects whatever button, the button's actionListener also calls the method again, using the noted caretPosition
    findWord(42);
    so, it starts searching from 42 (instead of the start)
    basically it is event driven
    findWord sets the button/s
    click a button starts findWord

  • Jdev freeze while waiting for "something"

    Hi All,
    I have problem in my jdeveloper. everytime when i open my jsp file (contains ADF component) and it is freeze and when i look at the thread information, it is waiting for my internal db connection. If i try to comment out, it is fine but when i am going to deploy, i have to dis-comment my db connection. After that, i open another jsp file, the problem comes out again even i have comment out my db connection after deployment.
    thx for reply and here is the thread information:
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode):
    "Designer-Layout-Dispatcher" prio=7 tid=0x2e561028 nid=0x2cc in Object.wait() [0x3dfef000..0x3dfef9e4]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x09ca2968> (a oracle.jdevimpl.webapp.view.DisplayManager$RefreshQueue)
    at java.lang.Object.wait(Object.java:474)
    at oracle.jdevimpl.webapp.view.DisplayManager$RefreshDispatcher.run(DisplayManager.java:1436)
    - locked <0x09ca2968> (a oracle.jdevimpl.webapp.view.DisplayManager$RefreshQueue)
    at java.lang.Thread.run(Thread.java:595)
    "Designer-Layout-Dispatcher [file:/C:/Projekts/ViewController/public_html/UserManagement.jsp]" prio=7 tid=0x2e6e75d8 nid=0x5d0 in Object.wait() [0x3c57f000.
    at java.lang.Object.wait(Native Method)
    - waiting on <0x08fa15f8> (a oracle.jdevimpl.webapp.view.DisplayManager$RefreshQueue)
    at java.lang.Object.wait(Object.java:474)
    at oracle.jdevimpl.webapp.view.DisplayManager$RefreshDispatcher.run(DisplayManager.java:1436)
    - locked <0x08fa15f8> (a oracle.jdevimpl.webapp.view.DisplayManager$RefreshQueue)
    at java.lang.Thread.run(Thread.java:595)
    "JSP VE Design Time Thread: ViewController.jpr 1145178935291" prio=7 tid=0x375d0030 nid=0x488 runnable [0x39b7e000..0x39b7f9e4]
    at java.net.Inet4AddressImpl.getHostByAddr(Native Method)
    at java.net.InetAddress$1.getHostByAddr(InetAddress.java:842)
    at java.net.InetAddress.getHostFromNameService(InetAddress.java:532)
    at java.net.InetAddress.getHostName(InetAddress.java:475)
    at java.net.InetAddress.getHostName(InetAddress.java:447)
    at java.net.InetSocketAddress.getHostName(InetSocketAddress.java:210)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:341)
    at java.net.Socket.connect(Socket.java:507)
    at java.net.Socket.connect(Socket.java:457)
    at java.net.Socket.<init>(Socket.java:365)
    at java.net.Socket.<init>(Socket.java:178)
    at org.postgresql.core.PGStream.<init>(PGStream.java:60)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
    at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:369)
    at org.postgresql.Driver.connect(Driver.java:245)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    - locked <0x27504420> (a java.lang.Class)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    - locked <0x27504420> (a java.lang.Class)
    at com.oneNetwork.accountingSystem.common.DAO.GeneralDBDAO.getConnection(GeneralDBDAO.java:36)
    at com.oneNetwork.accountingSystem.common.DAO.CountryDAOPostgresql.getCountryList(CountryDAOPostgresql.java:172)
    at com.oneNetwork.accountingSystem.common.valueobjects.basic.CountryVO.getCountriesList(CountryVO.java:78)
    at com.oneNetwork.accountingSystem.webclient.actions.CountryAction.getList(CountryAction.java:24)
    at com.oneNetwork.accountingSystem.webclient.forms.UserRegister.createCountryList(UserRegister.java:189)
    at com.oneNetwork.accountingSystem.webclient.forms.UserRegister.load(UserRegister.java:137)
    at com.oneNetwork.accountingSystem.webclient.forms.UserRegister.<init>(UserRegister.java:103)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.jdevimpl.webapp.design.renderer.utils.RenderUtils.createBean(RenderUtils.java:232)
    at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer._addManagedBean(FacesActionRenderer.java:1938)
    at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer._initialize(FacesActionRenderer.java:1911)
    at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer._initializeFromFacesConfig(FacesActionRenderer.java:1895)
    at oracle.jdevimpl.webapp.design.renderer.FacesActionRenderer.tagInitialize(FacesActionRenderer.java:1079)
    at oracle.jdevimpl.webapp.design.renderer.DesignTimeJspActionRenderer.renderCustomParentNode(DesignTimeJspActionRenderer.java:877)
    at oracle.jdevimpl.webapp.design.renderer.utils.FacesUtils.renderFakeNamespaceContainer(FacesUtils.java:179)
    at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet._renderSource(DesignTimeJspServlet.java:183)
    at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.serviceJsp(DesignTimeJspServlet.java:109)
    at oracle.jdevimpl.webapp.design.support.jsp.DesignTimeJspServlet.service(DesignTimeJspServlet.java:73)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:268)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:197)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.forward(DesignTimeRequestDispatcher.java:72)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletInfo.service(DesignTimeServletInfo.java:268)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:315)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher$DesignTimeFilterChain.doFilter(DesignTimeRequestDispatcher.java:292)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeRequestDispatcher.dispatch(DesignTimeRequestDispatcher.java:193)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext._service(DesignTimeServletContainerContext.java:611)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:570)
    at oracle.jdevimpl.webapp.design.DesignTimeRenderThread.runImpl(DesignTimeRenderThread.java:264)
    - locked <0x08082168> (a oracle.jdevimpl.webapp.design.DesignTimeRenderThread)
    at oracle.jdevimpl.webapp.design.DesignTimeThread.run(DesignTimeThread.java:147)
    "CssObservreTimer" daemon prio=5 tid=0x376c9878 nid=0x6a4 in Object.wait() [0x39a7f000..0x39a7fa64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x08082280> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x08082280> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "IdeMinPriorityTimer" daemon prio=2 tid=0x375847c8 nid=0x4c4 in Object.wait() [0x3947f000..0x3947fd64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x07d4c028> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x07d4c028> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "AuditExecutor-15" daemon prio=7 tid=0x2e4955c8 nid=0x690 in Object.wait() [0x38c7f000..0x38c7fae4]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06b15110> (a oracle.javatools.util.SynchronizedQueue)
    at java.lang.Object.wait(Object.java:474)
    at oracle.javatools.util.SynchronizedQueue.remove(SynchronizedQueue.java:61)
    - locked <0x06b15110> (a oracle.javatools.util.SynchronizedQueue)
    at oracle.jdevimpl.audit.util.SwingExecutor.run(SwingExecutor.java:467)
    at java.lang.Thread.run(Thread.java:595)
    "WaitCursorTimer" daemon prio=5 tid=0x2da7f568 nid=0x3d0 in Object.wait() [0x3895f000..0x3895fce4]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x0671c150> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x0671c150> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "BufferDomModel background parse thread" daemon prio=2 tid=0x2da7e490 nid=0x654 in Object.wait() [0x3885f000..0x3885fd64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x06051f88> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x06051f88> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "WeakDataReference polling" prio=2 tid=0x368297d0 nid=0x630 in Object.wait() [0x3875f000..0x3875f9e4]
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x06050ac8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
    at java.lang.Thread.run(Thread.java:595)
    "Native Directory Watcher" prio=2 tid=0x373618d0 nid=0x4fc runnable [0x3855f000..0x3855fae4]
    at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
    at oracle.ide.natives.NativeHandler$1.run(NativeHandler.java:244)
    at java.lang.Thread.run(Thread.java:595)
    "IconOverlayTracker Timer" prio=5 tid=0x3738f010 nid=0x2f8 in Object.wait() [0x3845f000..0x3845fb64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x05ffe648> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x05ffe648> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "TimerQueue" daemon prio=5 tid=0x2dc17ec0 nid=0x500 in Object.wait() [0x2e3ff000..0x2e3ffd64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x059a0678> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:233)
    - locked <0x059a0678> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-0" prio=7 tid=0x2dbec780 nid=0x458 in Object.wait() [0x2e28e000..0x2e28f9e4]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x08082168> (a oracle.jdevimpl.webapp.design.DesignTimeRenderThread)
    at java.lang.Object.wait(Object.java:474)
    at oracle.jdevimpl.webapp.design.DesignTimeRenderThread.service(DesignTimeRenderThread.java:141)
    - locked <0x08082168> (a oracle.jdevimpl.webapp.design.DesignTimeRenderThread)
    at oracle.jdevimpl.webapp.design.DesignTimeEngine.service(DesignTimeEngine.java:346)
    at oracle.jdevimpl.webapp.design.view.DesignTimeViewDocument._serviceJsp(DesignTimeViewDocument.java:930)
    at oracle.jdevimpl.webapp.design.view.DesignTimeViewDocument.rebuildTree(DesignTimeViewDocument.java:206)
    at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:155)
    at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
    at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
    at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
    at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
    at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
    at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
    at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
    at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
    at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
    at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
    at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
    at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
    at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
    at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
    at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
    at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
    at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
    at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1131)
    at oracle.ideimpl.editor.EditorManagerImpl.whenOpenEditor(EditorManagerImpl.java:2332)
    at oracle.ideimpl.editor.EditorManagerImpl.handleDefaultAction(EditorManagerImpl.java:1893)
    at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:343)
    - locked <0x05b615b0> (a java.util.ArrayList)
    at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1504)
    at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:1841)
    at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:1862)
    at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:176)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "Java2D Disposer" daemon prio=5 tid=0x2db98d40 nid=0x54c in Object.wait() [0x2e08f000..0x2e08fae4]
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x05986308> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:107)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-Windows" daemon prio=7 tid=0x2db7c5e0 nid=0x650 runnable [0x2df8f000..0x2df8fb64]
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:269)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-Shutdown" prio=5 tid=0x2dbd2268 nid=0x3a0 in Object.wait() [0x2de8f000..0x2de8fbe4]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x059863f0> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:474)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x059863f0> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:595)
    "Low Memory Detector" daemon prio=5 tid=0x01119d10 nid=0x67c runnable [0x00000000..0x00000000]
    "CompilerThread0" daemon prio=5 tid=0x01118600 nid=0x5b8 waiting on condition [0x00000000..0x2d95fa48]
    "Signal Dispatcher" daemon prio=5 tid=0x010f94d8 nid=0x160 waiting on condition [0x00000000..0x00000000]
    "Finalizer" daemon prio=8 tid=0x010eb008 nid=0x680 in Object.wait() [0x2d75f000..0x2d75fae4]
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x0592aa40> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=5 tid=0x007afc20 nid=0x5fc in Object.wait() [0x2d65f000..0x2d65fa64]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x0592aac0> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x007a9b18 nid=0x69c waiting on condition [0x00000000..0x0012fb60]
    "VM Thread" prio=5 tid=0x010e8ae8 nid=0x644 runnable
    "VM Periodic Task Thread" prio=5 tid=0x0112cc00 nid=0x550 waiting on condition
    NAV _ ENTITY TYPE :: End Customer

    I was just going to suggest these two solutions myself. If you've got the time, check into this stuff.
    1) use Thread.join() to wait (block) until a given
    Thread completes its task.
    2) Bite the bullet and learn how to use
    wait()/notify() (Google should send you to some good
    tutorials). Granted, it can be a complex topic, but
    it is vital to know if you want to write efficient
    asynchronous programs.
    Good luck!

  • "Waiting for real-time target (RT PXI target) to respond" error when the program waits interrupts

    Hi there,
    I have developed an application to detect interrupts generated by a electronic card and act in consequence. The program has been developed in labview but it calls a dll; that was created with labwindows. The dll is programmed to open the visa communication, enable events and install the interrupt handler and when an interrupt is detected, it reads the value of the different registers of the card and returns it to labview to visualize them. 
    The problem is that when the program waits for an interrupt, a prompt appears with the message "Waiting for real-time target (RT PXI target) to respond" and the only option I have is to click on the button to disconnect from the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application visualize the data like it was expected. 
    To wait for the interrupt the following code has been programmed in the function:
                    while (flag == 0)
                                    Sleep (1000);
    When an interrupt occurs, the value of flag changes to 1 and the function continue without any problem. I am not really sure, but probably here is the problem and probably this is not the best way to wait for an interrupt because the sleep function suspends the thread for the configured time, but at least the computing load in the PXI is between 0% and 1%. I was wondering if somebody knows how to wait for an interrupt without "lost" the communication with the PXI and if there is a better way to do it. 
    Any answer will be welcome and thanks for them,
    Jaime
    Solved!
    Go to Solution.

    Hello Naity,
    First of all, in which thread runs the waiting process? Is it scheduled in another thread than the function setting the flag?
    It scheduled in the same thread that I use to configure the communications and configure the card. Anyway, here is the pseudo code of the function interrupt that I programmed under labwindows,.
    char* interrupt(void)
    1. Open visa communications
    2.Install handler interrupt --> status = viInstallHandler (instr, VI_EVENT_PXI_INTR, IntrHandler, VI_NULL);   // the function IntrHandler will be called when an interrupt occurs
    3. Enable event PXI interrupt
    4. Wait
    while (flag == 0)
                  Sleep (1000);
    5. Visualize the data coming from the interrupt (registers and values measured with the card)
    6. Uninstall handler interrupt
    7. Close visa session
    The interrupt handler function IntrHandler is called immediately when an interrupt occurs and the pseudo code is like this
    ViStatus _VI_FUNCH IntrHandler(ViSession instr, ViEventType etype, ViEvent event, ViAddr userhandle)
    1. Disable some functions of the card to avoid damages. 
    2. Read registers and put them in a buffer
    3. Change the value of flag ---> flag = 1;
    In labview, I call the function interrupt with a call library function node (see the capture attached) and the program reads and saves the data from returned from the function.
    Secondly, I am not sure this method is the most elegant. You could for example register an event with the function and, insteand of setting a flag to 1, trigger the event and schedule it in another thread (if the function is thread safe). This could reduce your CPU Load even more and seem a bit cleaner to me.
    I've never used events before in labwindows but I will try to do it in this way. But anyway, I suppose that I should; somehow, wait the event to occurs in labview while the waiting for the event is programmed inside the dll...and probably the same prompt that i am trying to avoid is going to appear again, because I am not returning the "control" to labview (I mean, labview executes the dll and waits for the event to occur. Then the execution of the labview program is stopped in the call library function node executing the dll)
    Third point, which environment of development are you using?
    I am working with LV 2010 sp1 and Labwindows cv 10.0.1 and with the real time module.
    I did also another test, I divided the program in different functions, one to initialize the communication, another to wait until a interrupt has been detected and the other to obtain the data from the interrupt and close communications. With labview I call first with the call library function node the function to initialize, later I call inside a while loop the wait function like this
    int waitAseconds (double seconds, short stop_waiting)
    if(flag==1 || stop_waiting == 1)
    flag = 1; //to detect the stop_waiting button
    printf("flagAA =1 stop waiting = %d time = %d\n", stop_waiting, clock());
    return flag;
    else
    SleepUS(seconds*1000000);
    //a++;
    printf("flag a= %d stop waiting = %d time = %d\n", flag, stop_waiting, clock());
    return flag;
     and when the program detects an interrupt, the function returns to labview the flag and stops the loop. Finally, it reads the values and close communications. 
    In this way, the prompt appears but after running the application for 10 or 20 minutes and also i checked that there is a time gap between the executions in the loop.
    Thanks for your reply and your help,
    Jaime
    Attachments:
    capture.png ‏40 KB

Maybe you are looking for

  • Pls help me anyone....

    i have a problem on my 1st gen ipod shuffle. the itunes doesn't update ( The ipod <<name of the pod>>cannot be updated.this disk could not be read from or written to. after that it continues to try to update it and gives me an -50 error. i tried allm

  • Adding old harddrive to Mac Pro

    I've just got the Quad Core Mac Pro 2.8Ghz. Can I put my old Sata 160 gig hard drives inside it? Thanks Mike

  • HT204022 how to delete photos with ios 6

    Ok so i just updated my Ipod touch 4g to IOS 6 and I didnt know that having iCloud would download all of my photos from my computer to iPod, and there is now 2500+ pictures on the ipod and i have no space for music, apps ext. How do i delete them for

  • [Solved] What font does Termite use as default?

    I have used Termite for a little while, and I loved the minimalistic font it used. But when I installed the ttf-dejavu package, it changed to a different font. The text in the two left-most terminals have the fonts before installing dejavu: http://i.

  • [CS5][VB] How to apply FontStyle or CharacterStyle to a range of characters

    ... without doing it for each character in a Story? Selektion cannot be used becaus the document has no windows. Any suggestions? Thx in advance