Panel field display when process is running

I am developing a program that needs to update the panel to give status information about a process that is running. SO far the panel only appears to repaint when the process completes - is there a way to force a repaint without a break in a process?
I have tried setting teh field any issuing a repaint instruction, but this only seems to take effect when the program reaches its end point.
Any suggestions?

Hi,
Repainting the panel while the process is going on is tricky. In the single threaded model, which I guess you are using, the panel will get repainted only when the process is complete.
You can use a multithreaded model.
You can assign two threads, one thread for repainting and another for doing the process. But we cannot predict exactly when the thread will be called.
A better idea would be to have a timer variable. A variable which goes on counting and say, every 10000 counts , calls the repaint method.

Similar Messages

  • Error 405: file not found displayed when trying to run a process on server

    Iam trying to run a "weblogic integration-process application" on server to test the application.
    It is giving me the below error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address
    File iam trying to run is RequestQuote.java
    The file is in Tutorial_process_application_web/src/requestquote/
    In the browser it is opening the below link:
    http://localhost:7051/Tutorial_Process_Application_Web/requestquote/RequestQuote.java
    I tried adding "src" in between but still same error is coming. I tried running just http://localhost:7051/, it is opening the weblogic integration window.
    I have pasted the web.xml and all other configuration files below. Please let me know what changes i have to make to get the testing window.
    Thanks,
    Vishu.
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         Tutorial_Process_Application_Web</display-name>
         <listener>
              <listener-class>com.bea.wli.management.WliWebAppListener</listener-class>
         </listener>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:context-root>Tutorial_Process_Application_Web</wls:context-root>
    <wls:library-ref>
    <wls:library-name>struts-1.2</wls:library-name>
    <wls:specification-version>1.2</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:implementation-version>1.1.2</wls:implementation-version>
    </wls:library-ref>
    <wls:url-match-map>weblogic.servlet.utils.SimpleApacheURLMatchMap</wls:url-match-map>
    </wls:weblogic-web-app>
    application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
         <display-name>
         Tutorial_Process_Application_Ear</display-name>
         <module id="WebModule_1180909671484">
              <web>
                   <web-uri>Tutorial_Process_Application_Web.war</web-uri>
                   <context-root>Tutorial_Process_Application_Web</context-root>
              </web>
         </module>
         <module>
              <ejb>Tutorial_Process_Application_Web_WLI_ProjectBeans</ejb>
         </module>
         <module>
              <ejb>Tutorial_Process_Application_Web_WLI_ComponentBeans</ejb>
         </module>
    </application>
    weblogic-application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <wls:ejb>
    <wls:start-mdbs-with-application>false</wls:start-mdbs-with-application>
    </wls:ejb>
    <wls:application-param>
    <wls:param-name>webapp.encoding.default</wls:param-name>
    <wls:param-value>UTF-8</wls:param-value>
    </wls:application-param>
    <wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web.war</wls:module-uri>
    </wls:module-ref>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ProjectBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ComponentBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    </wls:classloader-structure>
    </wls:classloader-structure>
    <wls:listener>
    <wls:listener-class>com.bea.wli.management.WLIAppListener</wls:listener-class>
    </wls:listener>
    <wls:library-ref>
    <wls:library-name>beehive-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>wls-commonslogging-bridge</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>weblogic-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    </wls:weblogic-application>
    -----------------------------------------------

    sorry i didnt mention the weblogic workshop version, it is weblogic workshop 9.2.
    Thanks,
    vishu

  • "Error 404: file not found"displayed when trying to run a process on server

    Iam trying to run a "weblogic integration-process application" on server to test the application. Iam using weblogic workshop 9.2.
    It is giving me the below error:
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address
    File iam trying to run is RequestQuote.java
    The file is in Tutorial_process_application_web/src/requestquote/
    In the browser it is opening the below link:
    http://localhost:7051/Tutorial_Process_Application_Web/requestquote/RequestQuote.java
    I tried adding "src" in between but still same error is coming. I tried running just http://localhost:7051/, it is opening the weblogic integration window.
    I have pasted the web.xml and all other configuration files below. Please let me know what changes i have to make to get the testing window.
    Thanks,
    Vishu.
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>
    Tutorial_Process_Application_Web</display-name>
    <listener>
    <listener-class>com.bea.wli.management.WliWebAppListener</listener-class>
    </listener>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>default.html</welcome-file>
    <welcome-file>default.htm</welcome-file>
    <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <wls:context-root>Tutorial_Process_Application_Web</wls:context-root>
    <wls:library-ref>
    <wls:library-name>struts-1.2</wls:library-name>
    <wls:specification-version>1.2</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:implementation-version>1.1.2</wls:implementation-version>
    </wls:library-ref>
    <wls:url-match-map>weblogic.servlet.utils.SimpleApacheURLMatchMap</wls:url-match-map>
    </wls:weblogic-web-app>
    application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
    <display-name>
    Tutorial_Process_Application_Ear</display-name>
    <module id="WebModule_1180909671484">
    <web>
    <web-uri>Tutorial_Process_Application_Web.war</web-uri>
    <context-root>Tutorial_Process_Application_Web</context-root>
    </web>
    </module>
    <module>
    <ejb>Tutorial_Process_Application_Web_WLI_ProjectBeans</ejb>
    </module>
    <module>
    <ejb>Tutorial_Process_Application_Web_WLI_ComponentBeans</ejb>
    </module>
    </application>
    weblogic-application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-application.xsd">
    <wls:ejb>
    <wls:start-mdbs-with-application>false</wls:start-mdbs-with-application>
    </wls:ejb>
    <wls:application-param>
    <wls:param-name>webapp.encoding.default</wls:param-name>
    <wls:param-value>UTF-8</wls:param-value>
    </wls:application-param>
    <wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web.war</wls:module-uri>
    </wls:module-ref>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ProjectBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    <wls:classloader-structure>
    <wls:module-ref>
    <wls:module-uri>Tutorial_Process_Application_Web_WLI_ComponentBeans</wls:module-uri>
    </wls:module-ref>
    </wls:classloader-structure>
    </wls:classloader-structure>
    </wls:classloader-structure>
    <wls:listener>
    <wls:listener-class>com.bea.wli.management.WLIAppListener</wls:listener-class>
    </wls:listener>
    <wls:library-ref>
    <wls:library-name>beehive-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>wls-commonslogging-bridge</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    <wls:library-ref>
    <wls:library-name>weblogic-controls-1.0</wls:library-name>
    <wls:specification-version>1.0</wls:specification-version>
    <wls:implementation-version>1.0</wls:implementation-version>
    </wls:library-ref>
    </wls:weblogic-application>
    Edited by gvishu at 06/04/2007 9:39 AM

    sorry i didnt mention the weblogic workshop version, it is weblogic workshop 9.2.
    Thanks,
    vishu

  • Discoverer Report: A number field displays # when open in Desktop Edition

    Hi Guys
    I have created a folder in Admin Edition. I set Default Aggregation to Detail for Numeric fields.
    I have created a workbook in Desktop Edition. When I open workbook(report) it displays # in numeric fields.
    ANy idea why?
    Cheers
    Vijay

    Hi Vijay
    Any format change you make inside the EUL will generally only apply to new reports.
    If the report already exists it will have picked up the format as it was at the time. You will have to manually adjust the format of the column inside the report.
    Before you do this these is one more thing to check. Just grab the edge of the column and make it bigger just in case this is the cause. Desktop will not display part of the number so if the width of the column is not big enough to display the number Desktop will insert # instead. If this is not the case then right-click in the column and select Format Data. Using the Number tab increase the setting.
    Best wishes
    Michael

  • Images not displaying when JAR alone running

    HI all,
    I am developing Standalone application using swings in netbeans,everthing is working fine when i run using IDE,if i took the jar alone and tried to run,it is throwing Exception,it is throwing exception at the time of displaying images.
    i kept all the images in a Images folder in "src" folder,so that all the images will be mix up in Jarfile(i think) , it is running fine in IDE but not in jar
    Im using imahes using URL class like this
    URL lUrlLogo =  Thread.currentThread().getClass()
              .getResource(java.util.ResourceBundle.getBundle(QuestionToolConstants.CONFIGURATION_RB).getString("logo"));
           Image lLogoimage = Toolkit.getDefaultToolkit().getImage(lUrlLogo);
           javax.swing.ImageIcon licon = new javax.swing.ImageIcon(lLogoimage);Uncaught Error fetch in Image
    Null pointer exception..etc
    can anyone solve this isssue..thankyou

    Lenny,
    I apologize for not having an answer to your question, but I'm envious that you've successfully configured mod_jk. I've read several different versions of how to configure this, but nothing has worked so far. I wonder if you could either point me to some correct instructions on how to integrate Apache and Tomcat so I might try to duplicate your success.
    Thanks in advance,
    Vince

  • Safe to unplug display when computer is running?

    Hi,
    I have a Cinema Display 27", connected to the mini DVI port of my graphics card. Is it safe to plug and unplug the cable, when the computer is running? I frequently need to connect my MacBook Pro to the same display.

    Should be ok.  Most displays just think they lost their video signal and will "light up" when they get reconnected.
    If you are going to do this frequently however, my concern would be on the wear and tear on the connecters.  They may get loose or wear out over time.  You should consider using some kind of KVM or at the very least adapters or extension cables since they are far cheaper to replace if they wear out.

  • Video icon in buddy list does not display when iChat not running?

    I have my father-in-law's computer setup to automatically log into iChat when he turns on the computer. However, it does not say he can video chat (the icon does not display) until he actually opens iChat. Is there any way around this? The only thing I thought of was to get iChat to open at login and just not display the buddy list.
    Basically, I want him to be available to video chat with his grand daughter...but he doesn't need to see the buddy list or the app for that matter. She would initiate all chats.
    Thanks
    Brian

    I am trying to imagine what you have done here.
    It is possible to have iChat as a Login Item.
    It is possible for iChat to start Up with the Buddy Lists hidden.
    From there Chats can be started from the File menu or Apple key and N together.
    To do it this way you have to know the Screen Name of who you are calling.
    You should be able to accept incoming A/V chats.
    9:46 PM Thursday; January 10, 2008

  • Single Record Form: fields display with the wrong width

    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    Edited by: Corvette Captain on Aug 9, 2012 3:21 PM

    Hi,
    >
    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    >
    Setting the Width of the Page Item sets the input elements "size" attribute. HTML rendering based on size attribute is not a precise as you need. You should use CSS for precision. See Compatibility Notes
    Cheers,

  • ALV field display issue

    Hello All,
    I am working with a program that is using the FM REUSE_ALV_GRID_DISPLAY and have an issue with the field display when the layout is changed.  For example, I have a date field that will appear blank when the program is run initially.  However, when the user changes the layout for the grid, the same field will be populated with 00/00/0000.  Is there a way to prevent this display issue from occuring.  Any help would be greatly appreciated.  Thanks.
    John

    Hi Rich,
    There is quite a bit of code, so I narrowed it down to the parts I think are most relevant.  Let me know if you find anything.  Thanks.
    **Create the field catalogue
    FORM field_catalog.
      CLEAR int_fcat.
      REFRESH int_fcat.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                i_program_name         = 'ZRECERTTEST'
                i_internal_tabname     = 'ITAB'
                i_inclname             = 'ZRECERTTEST'
           CHANGING
                ct_fieldcat            = int_fcat[]
           EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
      LOOP AT int_fcat.
    *    IF int_fcat-fieldname EQ 'PRUEFLOS'.
    *      int_fcat-LZERO = 'X'.
    *      int_fcat-NO_ZERO = 'X'.
    *    ENDIF.
        IF int_fcat-fieldname EQ 'MATNR'.
          int_fcat-outputlen = 10.
        ENDIF.
        IF int_fcat-fieldname EQ 'MAKTX'.
          int_fcat-outputlen = 20.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZTANKID'.
          int_fcat-outputlen = 12.
        ENDIF.
        IF int_fcat-fieldname EQ 'RECOMMEND'.
          int_fcat-seltext_l = 'Recommended Re-certification Date'.
          int_fcat-seltext_m = 'Recomm Re-cert. Date'.
          int_fcat-seltext_s = 'Recomm Recert Dt.'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZCERT_DATE'.
          int_fcat-seltext_l = 'Certification Date'.
          int_fcat-seltext_m = 'Cert. Date'.
          int_fcat-seltext_s = 'Cert. Dt.'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ATFLV'.
          int_fcat-outputlen = 6.
          int_fcat-seltext_l = 'Material Retest Interval'.
          int_fcat-seltext_m = 'Mat Retest Interval'.
          int_fcat-seltext_s = 'Retest Int'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZRECERTDT'.
          int_fcat-seltext_l = 'Recertification Date'.
          int_fcat-seltext_m = 'Recert. Date'.
          int_fcat-seltext_s = 'Recert Dt.'.
    *      int_fcat-NO_ZERO = 'X'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZRECERTMT'.
          int_fcat-seltext_l = 'Recertification Interval'.
          int_fcat-seltext_m = 'Recert. Int'.
          int_fcat-seltext_s = 'Recert Int'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZZPRODH6'.
          int_fcat-reptext_ddic = 'Formula Number'.
          int_fcat-seltext_l = 'Formula Number'.
          int_fcat-seltext_m = 'Formula Number'.
          int_fcat-seltext_s = 'Form. No.'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ATWRT'.
          int_fcat-reptext_ddic = 'Spec Owner'.
          int_fcat-seltext_l = 'Spec Owner'.
          int_fcat-seltext_m = 'Spec Owner'.
          int_fcat-seltext_s = 'Spec Owner'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZRECERTBY'.
          int_fcat-seltext_l = 'Recert Date Changed By'.
          int_fcat-seltext_m = 'Recert. Dt Changed By'.
          int_fcat-seltext_s = 'Changed By'.
        ENDIF.
        IF int_fcat-fieldname EQ 'ZRECRTCHGD'.
          int_fcat-seltext_l = 'Recert Date Last Changed On'.
          int_fcat-seltext_m = 'Recert. Date Changed'.
          int_fcat-seltext_s = 'Changed On'.
        ENDIF.
    *    IF int_fcat-fieldname EQ 'ZRECERTDT' OR
    *        int_fcat-fieldname EQ 'ZRECERTMT'.
    *      int_fcat-input = 'X'.
    *      int_fcat-edit = 'X'.
    *      int_fcat-edit_mask = ' '.
    *    ENDIF.
        IF int_fcat-fieldname EQ 'BOX'.
          int_fcat-no_out = 'X'.
        ENDIF.
    *      if int_fcat-fieldname eq 'ZRECNO'.
    *        int_fcat-no_zero = 'X'.
    *      endif.
        IF int_fcat-fieldname EQ 'ZCERT_STAT'.
          int_fcat-outputlen = '00012'.
        ENDIF.
        MODIFY int_fcat.
      ENDLOOP.
    ***Create the ALV
      wa_layout-box_fieldname = 'BOX'.
    *  wa_layout-group_change_edit = 'X'.
    *wa_layout-edit = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_buffer_active          = 'X'
                i_callback_program       = v_repid
                i_callback_pf_status_set = 'SET_STATUS'
                i_callback_user_command  = 'USER_COMMAND'
                i_grid_title             = v_title
                is_layout                = wa_layout
                it_fieldcat              = p_int_fcat[]
                i_save                   = 'A'
                is_variant               = v_variant
                it_events                = i_events[]
           TABLES
                t_outtab                 = p_itab
           EXCEPTIONS
                program_error            = 1
                OTHERS                   = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Java Web Start error message when trying to run vSphere1.2 compliance checker

    It installed fine but a javaws usage message displayed when attempting to run. Seems like this might be some kind of Java environment problem on the Windows 7 Pro desktop. Not very familiar with Microsoft, any ideas and/or suggestion?.

    Thanks for your suggestions, I will look into them.
    One assumption I made is since the install completed without incident the program was able to locate any needed resources.
    Another assumption is since I received an error message from javaws then itself was being located - just lacking something else it needed.
    Ran javaws from command prompt, received same usage message. Apparently using 64 bit 1.7.0_13, didn't see a Java folder in the 32 bit Program Files so would that be the problen? That 32 bit Java version is needed to run this?  Java Web State 10.13.3.20-fcs.
    I'm the administrator of the system, so privilege is not an issue
    In Properties/Shortcut, verified that the .jar file was pathed correctly
    Target ->  "C:\Program Files\Java\jre7\bin\javaws.exe" -jar "C:\Program Files (x86)\VMware\VMware Compliance Checker for vSphere\vmcc.jar"
    Start in -> "C:\Program Files (x86)\VMware\VMware Compliance Checker for vSphere\"

  • Single field display on external crt monitor

    I can't find the setting to display a paused frame as deinterlaced on my external monitor. (My client is put off by the 'shimmering' of the two field display when paused). Is there a setting that will change this?
    Many thanks

    You must apply the Deinterlace filter to the freeze frames: Filters > Video > Deinterlace.
    Hope it helps!
      Alberto

  • How to display list process, when i run sql*loader in c#

    Hello,
    How to display list process, when i run sql*loader in c#. I mean when i run sql*loader from cmd windows, i get list process how many row has been inserted. But when i run SQL*Loader from C#, i can't get process SQL*Loader.
    This is my code:
    string strCmd, strSQLLoader;
    string strLoaderFile = "XLLOAD.CTL";
    string strLogFile = "XLLOAD_LOG.LOG";
    string strCSVPath = @"E:\APT\WorkingFolder\WorkingFolder\sqlloader\sqlloader\bin\Debug\8testskrip_HTTP.csv";
    string options = "OPTIONS (SKIP=1, DIRECT=TRUE, ROWS=1000000,BINDSIZE=512000)";
    string append = "APPEND INTO TABLE XL_XDR FIELDS TERMINATED BY ','";
    string table = "OPTIONALLY ENCLOSED BY '\"' TRAILING NULLCOLS (xdr_id,xdr_type,session_start_time,session_end_time,session_last_update_time,session_flag,version,connection_row_count,error_code,method,host_len,host,url_len,url,connection_start_time,connection_last_update_time,connection_flag,connection_id,total_event_count,tunnel_pair_id,responsiveness_type,client_port,payload_type,virtual_type,vid_client,vid_server,client_addr,server_addr,client_tunnel_addr,server_tunnel_addr,error_code_2,ipid,c2s_pkts,c2s_octets,s2c_pkts,s2c_octets,num_succ_trans,connect_time,total_resp,timeouts,retries,rai,tcp_syns,tcp_syn_acks,tcp_syn_resets,tcp_syn_fins,event_type,flags,time_stamp,event_id,event_code)";
    strCmd = "sqlldr xl/secreat@o11g control=" + strLoaderFile + " LOG=" + strLogFile;
    System.IO.DirectoryInfo di;
    try
    System.Diagnostics.ProcessStartInfo cmdProcessInfo = new System.Diagnostics.ProcessStartInfo("cmd.exe");
    di = new DirectoryInfo(strCSVPath);
    strSQLLoader = "";
    strSQLLoader += "LOAD DATA INFILE '" + strCSVPath.ToString().Trim() + "' " + append + " " + table;
    StreamWriter writer = new StreamWriter(strLoaderFile);
    writer.WriteLine(strSQLLoader);
    writer.Flush();
    writer.Close();
    // Redirect both streams so we can write/read them.
    cmdProcessInfo.RedirectStandardInput = true;
    cmdProcessInfo.RedirectStandardOutput = true;
    cmdProcessInfo.UseShellExecute = false;
    cmdProcessInfo.LoadUserProfile = true;
    //System.Diagnostics.Process.Start("CMD.exe", strCmdLine);
    // Start the procses.
    System.Diagnostics.Process pro = System.Diagnostics.Process.Start(cmdProcessInfo);
    // Issue the dir command.
    pro.StandardInput.WriteLine(strCmd);
    // Exit the application.
    pro.StandardInput.WriteLine("exit");
    //Process[] processlist = Process.GetProcesses();
    //foreach(Process pro in processlist){
    Console.WriteLine("Process: {0} ID: {1}", pro.ProcessName, pro.Id);
    Console.WriteLine(pro.StandardOutput.ReadLine());
    // Read all the output generated from it.
    string strOutput;
    strOutput = pro.StandardOutput.ReadToEnd();
    pro.Dispose();
    catch (Exception ex)
    return;
    finally
    Thanks.

    friend
    sqlldr is an application residing in the OS. procedure runs in the dbms engine.
    you cannot run an os command directly from a procedure or a function or a package .
    If you want to do so you need to use either a daemon process created by a PRO*C program
    or a JAVA stored procedure to do so.
    just refer to previous question forums, you can find the solution. Somebody has already given a solution using
    java to run an OS command . check it out
    prakash
    [email protected]

  • RE: my input fields does not display when running the page

    my input fields does not display when running the page
    why is that so?

    Hi,
    Can you send the HTML code for us?
    Afonso

  • Field catalogue for ALV Grid when program is run in the background

    Hi All,
    I have an ALV report that contains approx 27 fields.  Not all of these fields will be relevant for different Users, and many will want to change the order the fields appear in.
    When running on line the User can set a variant to present the data as they wish.  However, I need to email this report to the SAP Inbox with the fields displayed in the same Order with uncessary fields hidden as stated in the Field Catalogue.
    On-line none of this is an issue, however GET_FRONTEND_FIELDCATALOG cannot be used in Background, and attribute MT_FIELDCAT_LOCAL is Private and cannot be accessed.
    I have looked at using Class CL_ ALV_VARIANT to try to read the Variant being used, but couldn't get the information about the Variant coming back, instead I get an error in CL_ALV_VARIANT->LOAD_VARIANT.
    Can anybody recommend how to the Field Cat for a Variant for background processing?
    Thanks,
    Tony.

    Hi.
    You can not use an ALV report in Background or write to spool because it is a kind of dialog program.
    You can write only  a List report to spool so please find others sulotions.
    Hope it helps.
    Sayan.

  • Subreport not displayed when Run from SAP Business One

    We have a crystal report that displays a subreport when it is run from within the Crystal 2008 Designer but not when run from within SAP. Has anybody else seen this error? We have tried importing it into SAP and checking the connections of the report and subreport etc but to no avail.

    Sastry,
    The main report is a document layout with the sub report linked into it using the DocEntry key field from SAP. The subreport should display data based on that link.
    This main report only has the one sub report and when you preview in Crystal it returns data, when you preview using the same criteria but inside of SAP, it is not displayed.
    Thanks
    Mark

Maybe you are looking for