Horrible linux performance for swing

I have a complex swing gui which consists of a JTable containing data updated by a thread. Under windows, the performance is great. Under linux, the performace is horrible. If I spawn a jDialog, and move it around the gui, the other components take a while to repaint. Spawing dialogs also do not repaint properly. When I click on a jMenu, the menuitems sometimes do not paint until I move the mouse over them.
This is same for the java demos in the j2sdk. The java2d demo and Swingset demo performace is horrible.
I am using java 1.4.1_01 on a p3 900MHz with 512mb of ram. I also tried this on a p4 2GHZ. We are using the stable potatoe release of debian linux.
I understand that swing performance is slower under linux, but what I am seeing is horrible.
Any thoughts or help
Thanks
Dave

You can separate the redo logs, tablespaces etc in XE onto separate disks if you want. It's a manual exercise but there is nothing to stop you from doing it.
But as Andrea mentioned, this is largely an exercise in futility given that XE is 4 Gb of data and a single CPU. If performance is an issue then you would probably be better to use Standard Edition or Standard Edition One that gives you greater control, and also includes advanced storage management techniques such as Automatic Storage Management.
The default install of XE should be more than adequate for the majority of usages that XE is targeted at. With one proviso - the production release will use a defined flashback recovery area (FRA) for some of the online redo logs, archived redo logs, and backupsets.
We would strongly recommend that if you have more than 1 disk, then the FRA should be placed on a seperate disk other than the one that holds the database.

Similar Messages

  • Linux performance for LVM vs independent partition on 10G XE?

    Hi groups,
    I am a programmer and now requested to evaluate using Oracle 10G XE to replace MySQL for some of running web application. I remember the old experience that when playing with oracle 8i with linux, the guideline said that datafile of oracle should be placed at a independent partition. I m now testing XE with SUSE Enterprise 9, which using LVM(logical volume management).
    So far there's not seen guideline that talking about if 10G XE should using dependent partition. And the case is that SUSE using LVM that application see multiple physical partitions as one logicial partition. This is totally an opposite to what Oracle intended for using independent partition. I would like is that the 4GB datafile limit make this not a concern?
    I m not a DBA, thus hoping some gurus can give me some advise. Thanks!

    You can separate the redo logs, tablespaces etc in XE onto separate disks if you want. It's a manual exercise but there is nothing to stop you from doing it.
    But as Andrea mentioned, this is largely an exercise in futility given that XE is 4 Gb of data and a single CPU. If performance is an issue then you would probably be better to use Standard Edition or Standard Edition One that gives you greater control, and also includes advanced storage management techniques such as Automatic Storage Management.
    The default install of XE should be more than adequate for the majority of usages that XE is targeted at. With one proviso - the production release will use a defined flashback recovery area (FRA) for some of the online redo logs, archived redo logs, and backupsets.
    We would strongly recommend that if you have more than 1 disk, then the FRA should be placed on a seperate disk other than the one that holds the database.

  • NNM iSPI Performance for Traffic silentInstall*.properties missing for Linux

    HP -- I've been trying to figure out a way to get this information to you, and this is the best I could find.  When performing a silent installation of HP NNM iSPI Performance for Traffic, you need the silentInstallExt.properties, silentInstallMaster.properties, and silentInstallLeaf.properties files.  These files are not supplied with the Linux installation DVD image (Software_NNM_iSPI_Perf_Traf_Linux_9.20_Eng_TB770-15009.iso) -- you might want to remedy that.  If anyone needs to find the files for a silent install on Linux, you can get them from the Windows installation DVD image (Software_NNM_iSPI_Perf_Traf_10.00_Win_TB770-15014.iso) in the Traffic_NNM_Extension, Traffic_Master, and Traffic_Leaf directories.

    HP -- I've been trying to figure out a way to get this information to you, and this is the best I could find.  When performing a silent installation of HP NNM iSPI Performance for Traffic, you need the silentInstallExt.properties, silentInstallMaster.properties, and silentInstallLeaf.properties files.  These files are not supplied with the Linux installation DVD image (Software_NNM_iSPI_Perf_Traf_Linux_9.20_Eng_TB770-15009.iso) -- you might want to remedy that.  If anyone needs to find the files for a silent install on Linux, you can get them from the Windows installation DVD image (Software_NNM_iSPI_Perf_Traf_10.00_Win_TB770-15014.iso) in the Traffic_NNM_Extension, Traffic_Master, and Traffic_Leaf directories.

  • Linux Performance Monitoring Scripts

    Hi Friends,
    My boss ask me to give weekly reports about the performance of the server.
    He wants the report in excel formant.
    I heard about vmstat, iostat,sar
    Are these the only command I need to monitor the performance of linux?
    Can you share me some scripts about monitoring linux performance that save data into txt file? and
    is being gathered (stats) every hour on top of the hour?
    Thanks a lot,
    MsK

    Thanks gentlemen,
    But I can not grasp either the ideas that you are explaining. :(
    It is not helpful that at some point or at all points, the report said that all the CPU and MEMORY were 100% used?
    At least there is a trigger or reason to start investigating was is running on the server.
    For example
    [root@oracleprod ~]# vmstat 5 10
    procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
    r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
    3  0 215040  21612  18548 8042292    3    4   406   129   12    13 14  1 82  3
    2  0 215040  25484  18480 8037940    0    0     2   192 1037   522 21  4 74  0
    1  0 215040  25476  18496 8037924    0    0     0    32 1013   443 21  5 75  0
    1  0 215040  25156  18512 8037908    0    0     0    58 1010   452 21  5 74  0
    1  0 215040  24772  18532 8038148    0    0    24    46 1008   482 21  5 74  0
    1  0 215040  24540  18548 8038132    0    0     0    45 1006   501 21  5 74  0
    1  0 215040  24540  18564 8038116    0    0     0    23 1006   439 22  3 75  0
    1  0 215040  24156  18580 8038100    0    0     0   302 1061   558 22  4 74  0
    2  0 215040  24028  18596 8038084    0    0     0    56 1014   449 24  1 74  0
    1  0 215040  23772  18604 8038076    0    0     2    22 1020   636 26  1 73  0Does vmstat not telling whats happening to system? or at these statistics useless :(
    Thanks a again

  • Is it possible to create Thread for Swing Components or for JApplet?

    Can i create a Thread by extending Thread class or implementing Runnable interface for Swing Components?
    Can i create a Thread by extending Thread class or implementing Runnable interface with JApplet?
    thanks

    Does your website live on a Windows server? The above link you posted will require a Windows server for that to work but if you do, then you should be able to just follow the links instructions.
    If your site is not on a Windows server (maybe it's on Linux?) then you would most likely need a PHP solution - something like this: http://www.w3schools.com/php/php_mail.asp. Depending on your host, they might actually have a ready-built form script for you to use so it might be best to ask them first.
    You might also want some kind of validation to ensure you receive the correct information so something like jQuery Validate could work.

  • Looking for icon collection for Swing

    Hi.
    I need some icons for Swing which are not present in
    http://developer.java.sun.com/developer/techDocs/hi/repository .
    Where could I download a collection of icons? On www.netbeans.org, I was unable to locate the file
    to download.
    N.B.: I'm not a netBeans user. I'm just insterested in the icon collection.
    Thanks in advance.

    sorry, it should be this one:
    http://www.iconfactory.com/ware.asp
    Hi kkwong00 !
    I need '.gif' or '.jpg' icons for Swing on Linux. On the site you told me, there are a lot of icons, but they
    are for Windows or Mac OS. I don't know how to use theses icon files under Swing/Linux. Follwoing is
    how I use the icon files :
    java.net.URL imageURL =
    <myclass>.class.getResource(imgLocation); //String imgLocation contains dirname/file.gif
    ImageIcon = ImageIcon(imageURL);
    Christophe.

  • Error Downloading Plugin for Swing Applet

    Dear Fellows!
    i am using following Java Script in HTML to download Java Plugin for Swing Applet.
    <b>But</b>
    During download and installation it gives the error that the file is corrupted try to download again...., I have checked it on more than one PC,s and platforms ....
    Please guide if there is problem in script or in the available plugin...
    Thanking you !!!!!
    /////////////////////// HTML /////////////////
    <html>
    <head>
    <title>Swing Applet</title>
    </head>
    <body BGCOLOR="#ffffff" LINK="#000099">
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.1 -->
    <SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;
    var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 600 HEIGHT = 500 codebase="http://java.sun.com/products/plugin/1.1.2/jinstall-112-win32.cab#Version=1,1,2,0"><NOEMBED><XMP>');
    else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.1.2" java_CODE = "Client.class" java_CODEBASE = "./Chat" java_ARCHIVE = "*.class" WIDTH = 400 HEIGHT = 50 pluginspage="http://java.sun.com/products/plugin/1.1.2/plugin-install.html"><NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE = "Client.class" CODEBASE = "./Chat" ARCHIVE = "*.class" WIDTH=600 HEIGHT=500 ></XMP>
    <PARAM NAME = CODE VALUE = "Client.class" >
    <PARAM NAME = CODEBASE VALUE = "./Chat" >
    <PARAM NAME = ARCHIVE VALUE = "Client.class" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.1.2">
    </APPLET>
    </NOEMBED></EMBED></OBJECT>
    </body>
    </html>

    I remeber there is an example in Sun java toturial,
    you may find the answer from there.
    peter
    JawaBeginer (A powerful JavaIDE tool for Java Programmer, exp: beginer)
    http://www.pivotonic.com

  • Which linux distro for ASM

    Hi,
    I have just purchased a new PC and would like to use oracle ASM, could anyone suggest the best free linux distro for this purpose.
    I have read recently that there are problems when trying to use ASM on Ubuntu,.... does anyone have any suggestions of a suitable distro?
    Thanks in advance

    806595 wrote:
    Hi,
    I have just purchased a new PC and would like to use oracle ASM, could anyone suggest the best free linux distro for this purpose.
    I have read recently that there are problems when trying to use ASM on Ubuntu,.... does anyone have any suggestions of a suitable distro?
    Thanks in advanceWhat do you plan on doing with it?
    If you're looking to learn Oracle then i would ditch ASM as a starting point (it'll complicate your life to begin with) and go with just installing the database, working from there. A simple and effective installation i've done a couple of times is Oracle XE on Ubuntu (very smooth installation, never a problem). This is a great lightweight installation suitable for learning.
    I have CentOS running Oracle 11.2 on a PC at home with ASM (did it for a learning experience) and it was quite a pain to get going (though i'm admittedly no DBA with minimal *nix experience ... was a great learning experience though). Once going it's pretty smooth, though every time the kernel gets upgraded i have to head out to find new RPM's for ASM to be able to properly communicate with the Kernel (if you don't do this, you perform a kernel upgrade and reboot your machine you're going to be without a database).
    So it really depends on what your level of experience is, how much patience you have, and what you're looking to get out of the experience.

  • JMF linux performance pack

    Does somebody knows how to install linux performance pack because me i didn't suceed and i think that maby archive is broken (i downloaded it many many times as it is always the same ) here i put what was in my console or maby if there is another site to download i will be happe for a tip. I need performance pack so cross-over platform is not for me.
    Do you agree to the above license terms? [yes or no]
    yes
    Permit recording from an applet? (see readme.html) [yes or no]
    yes
    Permit writing local files from an applet? (recommend no, see readme.html) [yes or no]
    yes
    Unpacking...
    tail: cannot open `+309' for reading: No such file or directory
    Extracting...
    ./install.sfx.7509: line 1: ==: No such file or directory
    ./install.sfx.7509: line 3: syntax error near unexpected token `)'
    ./install.sfx.7509: line 3: `5&#65533;&#65533;&#65533;3&#65533;&#65533;n&#65533;N&#65533;_&#65533;^&#65533;&#65533;&#65533;&#65533;[UQU599&#65533;&#65533;;&#65533;&#65533;&#65533;&#65533;r&#65533;&#65533;&#65533;&#65533;&#65533;_&#65533;&#65533;&#65533;&#65533;&#65533;KK)C{<>&#65533;&#65533;&#65533;<<&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;1vp&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;"&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;"QQR&#65533;&#65533;&#65533;&#65533;&#65533;rqp&#65533;&#65533;&#65533;&#65533;"&#65533;&#65533;&#65533;hj&#65533;&#65533;W&#65533;jYn&#65533;d!&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;L&#65533;&#65533;&#65533;L&#65533;&#65533;^  88&#65533;$&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;,&#65533;&#65533;&#65533;&#65533;i&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;V~&#65533;mn.&#65533;7w^&#65533;&#65533;&#65533;&#65533;,&#65533;;M&#65533;&#65533;`&#65533;&#65533;&#65533;&#65533;&#65533;A$D&#65533;&#65533;&#65533;&#65533;&#65533; @&#65533;&#65533;&#65533;wA'

    I have just come across this problem installing jmf-2_1_1e-linux-i586.bin.
    You can get around it by editing the installer BEFORE running it (use vim or gvim with the -b option as it is a partially binary file).
    On line 267 there is the offending command 'tail +309'. Change this to 'tail -n+309' i.e. tail from line 309 onwards, hence skipping the install script itself.
    Save the file and run it again.

  • Linux performance pack IOException: unexpected revents in poll

    I have the unsupported Linux performance pack running with WLS 5.1 +
    SP5. And because it is unsupported, all questions are to be on this ng.
    When garbage collecting (either via weblogic console or shutting down
    wls), I always get the exception shown below. Note that it always happen
    between the "Before" and "After" figures for the garbage collection:
    Mon Sep 18 10:47:26 GMT+10:00 2000:<I> <GC> GC: Before
    free/total=58111800/67108856 (86%)
    Mon Sep 18 10:47:26 GMT+10:00 2000:<E> <Posix Performance Pack> Failure
    in processSockets()
    java.io.IOException: unexpected revents in poll
    at weblogic.socket.PosixSocketMuxer.poll(Native Method)
    at
    weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java,
    Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
    Compiled Code)
    Mon Sep 18 10:47:26 GMT+10:00 2000:<I> <GC> GC: After
    free/total=63428680/67108856 (94%)
    Mon Sep 18 10:47:26 GMT+10:00 2000:<I> <WebLogicServer> Invoking garbage
    collection
    Regards,
    John Salvo

    Yes, the server does not seem to be affected.
    Here is my config:
    WLS 5.1 SP5
    Blackdown JDK 1.2.2 FCS
    RH 6.0 with the following updated:
    2.2.16 kernel
    glibc 2.1.3
    Rob Woollen wrote:
    >
    Interesting, I suspect that this message is benign. Does the server
    continue to function properly after the message?
    Also, what java vm are you using on Linux? I believe only the native
    threads jvms will work correctly with the performance pack. IBM's 118,
    IBM's 130, sun's 130, and Blackdown's 122 are all native thread
    implementations.
    -- Rob
    [email protected] wrote:
    I have the unsupported Linux performance pack running with WLS 5.1 +
    SP5. And because it is unsupported, all questions are to be on this ng.
    When garbage collecting (either via weblogic console or shutting down
    wls), I always get the exception shown below. Note that it always happen
    between the "Before" and "After" figures for the garbage collection:
    Mon Sep 18 10:47:26 GMT+10:00 2000:<I> <GC> GC: Before
    free/total=58111800/67108856 (86%)
    Mon Sep 18 10:47:26 GMT+10:00 2000:<E> <Posix Performance Pack> Failure
    in processSockets()
    java.io.IOException: unexpected revents in poll
    at weblogic.socket.PosixSocketMuxer.poll(Native Method)
    at
    weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java,
    Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java,
    Compiled Code)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
    Compiled Code)
    Mon Sep 18 10:47:26 GMT+10:00 2000:<I> <GC> GC: After
    free/total=63428680/67108856 (94%)
    Mon Sep 18 10:47:26 GMT+10:00 2000:<I> <WebLogicServer> Invoking garbage
    collection
    Regards,
    John Salvo

  • Linux performance pack jmf2.1.1e is damaged

    The download for the linux performance pack of the java jmf2.1.1e is damaged and needs repair.
    Does anyone know someone at Oracle to contact and report the error ?

    To report it you'll need to disclose the link to exactly which download you are trying to get, and the type of workstation you're installing to.
    You need to make sure you match the word size. e.g. 64bit download to 64bit workstation.

  • Install linux redhat for oracle 10g2

    Hi Friends,
    I will install linux redhat linux 5 for oracle 10g 2. How to created correct partition of linux to match oracle 10g 2.
    I install linux as server style. any advice?
    Thanks
    JIm

    Hi JIm
    It is true that for us DBA the OFA is the standard by excellence. You have also the quite good document on that gives you also a lot of examples.
    http://www.ss64.com/orasyntax/ofa.html
    What is a style server? Do you mean as a template server?
    Please note also that if you need to do more than 1 installation you can clone your binaries from your first installation. Ideally you should patch it to he latest release and then make your clone.
    1. tar your current binaries under /oracle/product/10.2.0/db_1
    2. copy the tar file on the target server under /export/home/oracle and then untar it.
    3. cd to new_oracle_home/oui
    4. ./runInstaller -clone -silent ORACLE_HOME="<new_oracle_home>" ORACLE_HOME_NAME="<unique_home_name>"
    read more on http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/app_cloning.htm
    You can also clone your database to other targets
    1 Duplicate from source to your targets     
    1.1 Perform a database backup including archive log
    1.2 Create an Oracle password file for the auxiliary instance
    1.3 Establish Oracle Net connectivity to the auxiliary instance
    1.4 Create an initialization parameter file for the auxiliary instance
    1.5 Start the auxiliary instance in NOMOUNT mode
    1.6 Mount or open the target database
    1.7 Ensure that backups and archived redo log files are available
    1.8 Allocate auxiliary channels if needed
    1.9 Execute the DUPLICATE script
    Hope this will help you to get the templates installed.
    Cheers
    Hubert
    Edited by: Hub on Oct 25, 2008 1:52 PM

  • Performance for table BKFP

    Hi,
    I would like to enquire is there anyway that i can improve the performance for table BKPF from the ABAP code point of view.
    Because we have customise one program to generate report for the asset master listing.
    one of the select statement are show as below:
          SELECT SINGLE * FROM BKPF WHERE BUKRS = ANEP-BUKRS
                                      AND GJAHR = ANEP-GJAHR
                                      AND AWKEY = AWKEYUS.
    I would like to know how it different from the select statemene below:
    SELECT SINGLE * FROM BKPF INTO CORRESPONDING FIELDS OF T_BKPF
          WHERE
          BUKRS = ANEP-BUKRS
      AND GJAHR = ANEP-GJAHR
      AND AWKEY = AWKEY.
    Which of the select statements above can enhance report,because currently we have face quite bad issue on this report.
    Can i post the ABAP code on this forum.
    Hope someone can help me on this. thank you.

    Hi,
    As much as possible use the primary keys of BKPF which is BUKRS, BELNR and GJAHR. Also, select only the records which are needed so to increase performance. Please look at the code below:
    DATA: lv_age_of_rec TYPE p.
      FIELD-SYMBOLS: <fs_final> LIKE LINE OF it_final.
      LOOP AT it_final ASSIGNING <fs_final>.
      get records from BKPF
        SELECT SINGLE bukrs belnr gjahr budat bldat xblnr bktxt FROM bkpf
        INTO (bkpf-bukrs, bkpf-belnr, bkpf-gjahr, <fs_final>-budat,
              <fs_final>-bldat, <fs_final>-xblnr, <fs_final>-bktxt)
        WHERE bukrs = <fs_final>-bukrs
          AND belnr = <fs_final>-belnr
          AND gjahr = <fs_final>-gjahr.
      if <fs_final>-shkzg = 'H', multiply dmbtr(amount in local currency)
      by negative 1
        IF <fs_final>-shkzg = 'H'.
          <fs_final>-dmbtr = <fs_final>-dmbtr * -1.
        ENDIF.
      combine company code(bukrs), accounting document number(belnr),
      fiscal year(gjahr) and line item(buzei) to get long text.
        CONCATENATE: <fs_final>-bukrs <fs_final>-belnr
                     <fs_final>-gjahr <fs_final>-buzei
                     INTO it_thead-tdname.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
            client                        = sy-mandt
            id                            = '0001'
            language                      = sy-langu
            name                          = it_thead-tdname
            object                        = 'DOC_ITEM'
          ARCHIVE_HANDLE                = 0
          LOCAL_CAT                     = ' '
        IMPORTING
          HEADER                        =
          TABLES
            lines                         = it_lines
         EXCEPTIONS
           id                            = 1
           language                      = 2
           name                          = 3
           not_found                     = 4
           object                        = 5
           reference_check               = 6
           wrong_access_to_archive       = 7
           OTHERS                        = 8.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
      if successful, split long text into start and end date
        IF sy-subrc = 0.
          READ TABLE it_lines TRANSPORTING tdline.
          IF sy-subrc = 0.
            SPLIT it_lines-tdline AT '-' INTO
                  <fs_final>-s_dat <fs_final>-e_dat.
          ENDIF.
        ENDIF.
      get vendor name from LFA1
        SELECT SINGLE name1 FROM lfa1
        INTO <fs_final>-name1
        WHERE lifnr = <fs_final>-lifnr.
        lv_age_of_rec = p_budat - <fs_final>-budat.
      condition for age of deposits
        IF lv_age_of_rec <= 30.
          <fs_final>-amount1 = <fs_final>-dmbtr.
        ELSEIF lv_age_of_rec > 30 AND lv_age_of_rec <= 60.
          <fs_final>-amount2 = <fs_final>-dmbtr.
        ELSEIF lv_age_of_rec > 60 AND lv_age_of_rec <= 90.
          <fs_final>-amount3 = <fs_final>-dmbtr.
        ELSEIF lv_age_of_rec > 90 AND lv_age_of_rec <= 120.
          <fs_final>-amount4 = <fs_final>-dmbtr.
        ELSEIF lv_age_of_rec > 120 AND lv_age_of_rec <= 180.
          <fs_final>-amount5 = <fs_final>-dmbtr.
        ELSEIF lv_age_of_rec > 180.
          <fs_final>-amount6 = <fs_final>-dmbtr.
        ENDIF.
        CLEAR: bkpf, it_lines-tdline, lv_age_of_rec.
      ENDLOOP.
    Hope this helps...
    P.S. Please award points for useful answers.

  • HOW TO USE A SINGLE PERFORM FOR VARIOUS TABLES ?

    perform test TABLES t_header.
    select
           KONH~KNUMH
           konh~datab
           konh~datbi
           konp~kbetr
           konp~konwa
           konp~kpein
           konp~kmein
           KONP~KRECH
           FROM konh INNER JOIN konp
                  ON konpknumh = konhknumh
           into table iTABXXX
            "ANY TEMPERARY INTERNAL TABLE.
           for all entries in t_header
           where
                 konh~kschl = t_header-kschl
             AND konh~knumh = t_header-knumh.
    endform.
    how can I use above perform for various internal tables of DIFFERENT LINE TYPES but having the fields KSCHL & KNUMH.

    u can use single perform....
    just see this example......hope this is what u r expecting....
    tables : pa0001.
    parameters : p_pernr like pa0001-pernr.
    data : itab1 like pa0001 occurs 0 with header line.
    data : itab2 like pa0002 occurs 0 with header line.
    perform get_data tables itab1 itab2.
    if not itab1[] is initial.
    loop at itab1.
    write :/ itab1-pernr.
    endloop.
    endif.
    if not itab2[] is initial.
    loop at itab2.
    write :/ itab2-pernr.
    endloop.
    endif.
    *&      Form  get_data
          text
         -->P_ITAB1  text
         -->P_ITAB2  text
    form get_data  tables   itab1 structure pa0001
                            itab2 structure pa0002.
    select * from pa0001 into table itab1 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
    select * from pa0002 into table itab2 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
    endform.                    " get_data
    Regards
    vasu

  • RDS Gateway 2012, RemoteApp Displays "A Revocation check could not be performed for the Certificate" via RDWEB

    I have searched through the forums and there are a number of posts that are similar but all the checks they list seem to not apply to this one.
    My current setup is as follows
    All Servers are 2012 R2
    1 x DC server
    1 x RDS Gateway server with RDS Web installed
    1 x Session Host Server
    Certificate supplied by godaddy with 5 names. (included is the name of the RDS Gateway/Web server in the certificate, the internal name of the session host server is not included as the internal names are differnet to the external)
    My tests are as follows
    Navigating to the RDSWEB page from a machine inside the same network (windows 7 sp1) but not on the same domain is fine no errors and logging in and launching any published application is fine with no errors.
    However logging in on another machine that is external from the network (windows 7 sp1) is ok up to the point of launching any of the published apps I get the error about ""A Revocation check could not be performed for the Certificate". this
    prompts twice but does allow you to continue and login and use the app till the next time. If I view the certificate from the warning message all appears to be ok with all certs in the chain.
    I have imported the root and intermediate certs to each of the gateway/rdsweb server and session host server into the computer cert store just to be on the safe side. This has not helped, I have also run the following command from both windows 7 machines
    with no errors on either
    certutil -f –urlfetch -verify c:\export.cer
    I cant seem to see where this is failing and I am beginning to think there is something wrong with godaddy cert itself somehow.
    If I skip rdsweb and just use MSTSC with the gateway server settings then I can login to any machine on the network with no errors so this is only related to launching published apps on the 2012 R2 RDWEB or session host servers.
    Any help appreciated

    Hi,
    1. Please make sure the client PCs have mstsc.exe (6.3.9600) installed.
    2. If you are seeing a name mismatch error, you can set the published name via this cmdlet:
    Change published FQDN for Server 2012 or 2012 R2 RDS Deployment
    http://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80
    To be clear, the above cmdlet changes the name that shows up next to Remote computer on the prompt you see when launching a RemoteApp.  You should have a DNS A record on your internal network pointing to the private ip address of your RDCB server. 
    Additionally, in RD Gateway Manager, Properties of your RD RAP, Network Resource tab, you should select Allow users to connect to any network resource or if you choose to use RD Gateway Managed group you will need to add all of the appropriate names to the
    group.
    For example, when launching a RemoteApp you would see something like Remote computer: rdcb.domain.com and Gateway server: gateway.domain.com .  Both of these names need to be on your GoDaddy certificate.
    Please verify the above and reply back so that we may assist you further if needed.  It is possible you have an issue with the revocation check but I would like you to make sure that the above is in place first.
    Thanks.
    -TP
    Thanks for the response.
    To be clear I am only seeing a name mismatch and revocation error if I assign a self signed cert to the session host as advised earlier in the thread by "Dharmesh Solanki", if I remove this and assign the 3rd party certificate I then
    just get the revocation error , I have already ran the powershell to change the FQDN's but this has not resolved the issue although the RDP connection details now match the external url for RDWEB when looking at one of the remoteapp files. The workspace
    ID still shows an internal name though inside this same file. 
    RD Gateway is already set to connect any resource, when connecting using remote app both names (RDCB/RDGateway) show as being correct and are contained within the same UCC certificate. I also already have a DNS entry for the Connection broker pointing to
    the internal ip.
    Do you know if the I need the internal name of the session host servers contained within the same UCC certificate seeing as they are different fqdn's than what I am using for external access ? I resigned the UCC certificate and included the internal name
    of the session host server to see if this would help but for some reason I am still seeing the revocation error. I will check on a windows 8 client pc this evening to see if this gets any further as the majority of the testing has been done on windows 7 sp1
    client pc's
    Thanks

Maybe you are looking for

  • Date format in oracle8i

    I want to store date in the format 2000-09-05 12:18:52 I have changed the NLS_DATE_FORMAT variable in the init.ora file. But still i get an exception i.e. java.sql.SQLException: ORA-01861: literal does not match format string Is there any other prope

  • Unknown error: there was a problem getting the status directory!

    Hi, Folks, I followed the instructions on this page :http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/AddingContent/chapte r_12_section_6.html#//apple_ref/doc/uid/AdminGuide-CH22-SW5, and try to upload a file to our university's Itunes U s

  • While Mapping from Idoc to Oracle Structure

    Hi Guys, while we  From IDOC to Oracle.. when we follow the  store procedure method to update the data  in oracle. statement   tablename action    table       access   Field1   Field2   Key   Field1   field2 Here where should we need to map the from

  • Editor, title, dialog box, position

    hi there; when i encounter an ora-xxxx error msg, a dialog box appears normally; but the title of the box appears nearly 5 pixel over where it must be displayed. how strange? what is the reason? i would like to paste an image, unfortunately i can not

  • How to optimize execution time of lot commands

    hello, in my plugin i do a lot of textinsert cmds, delete cmds, attribute setting cmds. now i wonder why this process is very slow. how can i execute many commands as fast as possible? disable a command/undo stack? how? thanks, juergen