Windows Terminal Services and Swing

My large swing application is being accessed remotely using Windows Terminal Services RDP protocol and is performing dreadfully in terms of screen updates. Is there an answer for this problem? Any suggestions?
Regards
David

In my opinion the real problem is not at all in your application.
1) Window terminal services (RDP)
Each time that the screen changes is send to client all the screen.
This is also for mouse moving.
Using more efficent software, like Citrix that is based on RDP, are
send to client only the dirrefernces, and mouse moving is managed
only by client side.
This gives advantages in performances.
Window terminal Server, also, needed a strong Server to run, in my
experiences more than 10 connections my cause a performances
problems in many cases.
2) The network
Is needed an efficient network for ship quicly all data traffic generated
for that fat application, minimum 100 Mbit.
If the network is just congestionated for others think (internet browsing,
an lot of file exchange and so on) the performances of terminal server
is bad. (terminal server ships a lot of information across the network)
3) Your application.
Control if too many repaint() or revalidate() are called.
For do that simply u can override that methods in this way in your costom components:
public void repaint()
super.repaint();
System.out.println("Repainting of MyComponent");
the same think for revlidate.
Now, lanching your application, u can control how many times for transaction those methods are invoked.
My doubt is that, every time that a repaint or a revalidate occurs,
Terminal Server reshape all the screen for client (not so sure about
that)
I say u that because I have had a similar problem (flickering).
I have see that flickering was caused by serval repaint invocation
by swing itself.
I had solved it simply do that
public void repaint()
if (!wBatchMode)
super.repaint();
The variable wBatchMode is setted to true (for example in my custom
JTable) util I append columns and rows.
If u look for swing code for each column added, the repaint methid is
invoked.
When i have finished to populate my component i set the wBatchMode
variable to false, so the repaint method occurs only one time and no
flickering occurs.
So, if is true that Terminal Server for every revalidate/repaint reship
the screen, this method may be help u.
Regards

Similar Messages

  • WINDOWS TERMINAL SERVICES AND ORACLE CLIENT 9,10.1,10.2 BUG

    PROBLEM:NON-ADMINISTRATOR USER UNABLE TO USE CLIENT SQLPLUS INSTALL
    FIX: NONE... REFER TO Bug No.     4684738     
    Filed     18-OCT-2005     Updated     06-DEC-2005     
    Product     SQL*Plus     Product Version      10.2.0.1     
    Platform     Microsoft Windows Server 2003     Platform Version
    HOW I FIXED:
    copied instant client basic, instant SqlPlus, instant ODBC (i need ODBC connection)
    step1:
    login to terminal server as administrator, unzip basic, SqlPlus, ODBC into a new directory on the server, make sure users have basic file rights read,view to new directory.
    step2:
    copy a working copy of tnsnames.ora (the databases you want to connect to) into the directory where all your instant client files are.
    step3:
    create SYSTEM ENVIRONMENT variables > click my computer, properties,advanced. create variable SQLPATH set value to path of your instant clent files. create variable TNS_ADMIN set value to path of your instant client files.
    step4:
    edit the PATH statement listed in SYSTEM ENVIRONMENT variables and add the path to your instant client files at the beginning of the PATH statement.
    step5:
    logout, login as administrator test instant sqlplus open command prompt enter > sqlplus username?/password?@mydatabase
    you should get connected to your database. Repeat step5 only login as a normal user. the normal user should be able to connect to the database.
    Issue: it appears instant ODBC not ready for prime time I get error 126, reading forums it appears there are files missing from the install package. The Microsoft ODBC connector for Oracle does work with my MSACCESS applications that connect to Oracle 10G using the afore mentioned process. I will continue to troubleshoot instant ODBC issue and post findings. Oracle has already wasted 12 hours of my time trying to get their junky software working might as well waste another day before throwing in the towel.

    You can download the latest JDBC drivers from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    You just need to place the jar somewhere and add the location to your classpath.
    Kuassi

  • WEBVPN and Windows Terminal Services

    Does anyone have a copy of a config to set up WEBVPN with Windows Terminal Services? I have opened port 3389, but something does not seem to be working correctly.

    Hi Paul,
    you don´t say exactly what is not working but anyhow here is example config:
    Under Configuration | Tunneling and Security | WebVPN | Port Forwarding you put the following into the fields:
    Name: Terminal Server
    Local TCP Port: 2000
    Remote Server: 10.172.24.100
    Remote TCP Port: 3389
    Now after the user has logged into the WebVPN and click-ed on Application Access he will see a window. In the window there are 6 columns. In the Local column you will see something like 127.0.0.1:2000 and in the Remote column 10.172.24.100:3389. The user will type 127.0.0.1:2000 in the computer field in the Remote Desktop Connection window
    Hope this helps,
    Vidir

  • SSGD vs. Windows Terminal Services

    I'm using one Windows Terminal Services server with 20 clients in my office. My question is, what advantages (ands disasvatages such as serial port forwarding) can I expect from using SSGD?
    Thanks in advance.
    Regards!

    I'm using one Windows Terminal Services server with
    20 clients in my office. My question is, what
    advantages (ands disasvatages such as serial port
    forwarding) can I expect from using SSGD?
    SSGD will also use the Terminal Services. The advantage you get is, that you can deposit the access also from the outside (= Internet) and not only to the inside.
    Markus

  • Microsoft SQL 2005, Terminal Services and Tiger

    We found a great application we need to use at work. Unfortunately, it runs only on Windows. We will need to run it on a Windows server, running SQL Server 2005, and Macs interacting with it using MS Terminal Server. At least that is what someone at Dell said. This ends up being a huge and complicated purchase for us.
    All this is totally foreign to me. I set up our Mac network, using OSX Server 10.2, migrating up to 10.4. We have 16 computers on the network, and it runs reasonably well. I did not need months of training to set it up. There are many things I do not understand and features that I have zero idea about...but for email, web, ftp and application serving, it works well.
    We have 13 Macs, 2 Windows boxes and one UNIX box on the network.
    Has anyone used SQL 2005? Has anyone had to connect thru Terminal Services to a Windows Server?

    Hi John!
    Using Terminal Services on a Windows server is common in corporate environments and solves a lot of issues where Macs can't run Windows-only software.
    Since the Windows server will be the only Windows machine on your network and you only need it for a specialized purpose, you can probably get by with purchasing Windows Small Business Server Premium, which comes with a SQL Server. You'll have to ask the vendor if this version will work with their product. See this link on Microsoft's website http://www.microsoft.com/windowsserver2003/sbs/default.mspx.
    Many third party database applications will facilitate the setup of the datbase with the SQL server, but they won't support the SQL software and its security. I'd advise hiring a contractor to help with the installation and setting up a backup (preferably someone that can become familiar with your environment and provide ongoing support).
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.3)  

  • Windows Terminal Services

    We use terminal services to provide our Db users with most of their tools, as it saves a lot of hassle with the desktop team when installing and upgrading applications. However, with SQL Developer, because the connections are locally stored in one folder, all the connections, when "Save Password" is checked, are available to all users. I know that the easy way out is to not check the "Save Password" option, but is there any way that the connection info can be moved or configured to use a user-specific folder, which under windows is locked down anyway?
    Other users have requested the inclusion of DBA tools, and I would support this.

    Martin,
    You will be able to configure this in SQL Developer 1.1.
    Regards
    Sue

  • Windows Deployment Services and Mikrotik

    I Have an active Directory setup within my office, and I wish to take advantage of Windows Deployment Services to deploy office workstations for our employees.
    I have 1 requirement.
    The DHCP server is an Mikrotik RouterBoard.
    I need to know what options I need to set to allow our clients to PXE boot into WDS.
    No one really seems to know what needs to be done.
    Since there are options for using a 3rd party DHCP server software, I cant see why this will not work.

    check here: http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server
    you will probably need to use these:
    Sub-menu: /ip dhcp-server network
    next-server (this may need to be set to the ip address of your WDS, so that your RouterBoard performs a referral to your WDS)
    [this may be the only thing you need, if all your computers are on the same subnetwork]
    otherwise you might need to explore these:
    boot-file-name (not sure about this one)
    dhcp-option (the usual options needed are option 66 and option 67)
    EDIT: this may help you:
    http://forum.mikrotik.com/viewtopic.php?f=2&t=18203
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Hydra (Windows Terminal Server) and Forte

    Is anyone aware of any attempts at using Forte with the windows
    terminal server software. I am interested in the possibility of using
    the terminal server concept for applications which are more of the
    "heads down data entry" type. The cost of a typical PC client (even a
    "thin" one) is not easily cost justified in these cases.
    It seems to me that using the terminal server concept would
    potentially be a lower cost approach to providing a Forte client in
    this type of application.
    If anyone has any thoughts or experience on this I'd appreciate
    hearing about it.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Frank,
    I dont know much about citrix and SBO (just see a presentation at the techsummit), but I will start here , and then go on here .
    In the Citrix forums are some issues related to yours:
    http://support.citrix.com/isearch.jspa?searchQuery=sapbusinessone&searchForums=true
    Hope helps,
    Ibai Peñ

  • Quicktime 7.04, Windows Terminal servers, and no sound

    Hi all,
    I suspect this is related to all those posts I've already read here about sound problems with QT 7.04...
    I look after a number of Windows 2003 terminal servers in schools. They used to have QuickTime 6.52 and played sound just fine. However, when I upgraded them to 7.04, the video played but no sound. Testing is easy; I just open up the SAMPLE.MOV in the QuickTime folder! On a terminal server with 6.52, it plays video AND audio just fine. But when I upgrade that same box to 7.04, the sound is then gone!
    I suppose the quick solution is to revert back to 6.52. Our concern of course was all the talk about 6.52 having various security vulnerabilities--the fix was to upgrade to 7.04.
    So now I have a secure version of QuickTime, but it doesn't play audio anymore. Not much of a solution!!!
    Thoughts? Am I stuck waiting for a 7.05 fix? On the terminal servers, the safe mode (wave out only) was already the default option for QT 7.04, and I've tried making various adjustments to no avail.
    Thanks for any help,
    Sir Timbit

    Sir Timbit,
    We are experiencing the exact same issue at our school. Most of our classrooms are thin client PCs connecting to a Win2003 terminal server. When we decided to go thin client, we tested all multimedia applications that we could think of. With the upgrade to QT 7, we now have stuttering audio. I certainly hope that Apple is woking on a fix for this as it is negatively impacting our instructors as well as creating a perception that Quicktime is not a good multi-media application.
    So, while I don't have a solution... I hope that someone at Apple will address our needs.
    John

  • Windows Deployment Services and Surface Pro 2

    The issue I am seeing is when trying load the Windows Boot Manager, before selecting a boot image. The boot manager is loading in the lower 1/4 of the screen. It will not move past this loading screen and seeing how it is not displaying correctly, I cannot
    see if there is an error. I am guessing this is a WDS server setting, we are running 2008 R2. However, I don't know what step this would be. It is before the boot image is loaded and I do not think this is a part of Windows PE.
    (see below)
    Thanks.

    check here: http://wiki.mikrotik.com/wiki/Manual:IP/DHCP_Server
    you will probably need to use these:
    Sub-menu: /ip dhcp-server network
    next-server (this may need to be set to the ip address of your WDS, so that your RouterBoard performs a referral to your WDS)
    [this may be the only thing you need, if all your computers are on the same subnetwork]
    otherwise you might need to explore these:
    boot-file-name (not sure about this one)
    dhcp-option (the usual options needed are option 66 and option 67)
    EDIT: this may help you:
    http://forum.mikrotik.com/viewtopic.php?f=2&t=18203
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Windows Stop Service and Hang - Uregent response Required .

    Dear Guruz.
    I am facing problem in my windows 2003 server sp2,  my windows server hangs my running exe file and application event log is updated with following error.
    Event Type:    Error
    Event Source:    Application Hang
    Event Category:    (101)
    Event ID:    1002
    Date:        5/16/2014
    Time:        5:10:51 PM
    User:        N/A
    Computer:    ENPRI01
    Description:
    Hanging application taskmgr.exe, version 5.2.3790.3959, hang module hungapp, version 0.0.0.0, hang address 0x00000000.For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 70 70 6c 69 63 61 74   Applicat
    0008: 69 6f 6e 20 48 61 6e 67   ion Hang
    0010: 20 20 74 61 73 6b 6d 67     taskmg
    0018: 72 2e 65 78 65 20 35 2e   r.exe 5.
    0020: 32 2e 33 37 39 30 2e 33   2.3790.3
    0028: 39 35 39 20 69 6e 20 68   959 in h
    0030: 75 6e 67 61 70 70 20 30   ungapp 0
    0038: 2e 30 2e 30 2e 30 20 61   .0.0.0 a
    0040: 74 20 6f 66 66 73 65 74   t offset
    0048: 20 30 30 30 30 30 30 30    0000000
    0050: 30                        0       
    Need an urgent response in this regards..
    Thanks
    Ali Muhammad

    Hi Ali,
    Please keep your server up-to-date  .
    Also please refer to the similar thread :
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/8b0f5f41-53ce-4cd8-a049-744a6298c0f8/hang-application-taskmgrexe?forum=winservergen
    Any further information please feel free to let us know .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows Deployment Services and Windows 8.1 Tablet Autorotation Issue

    Hi,
    I have been trying to deploy a vanilla Windows 8.1 image to Fujitsu Stylistic Q702 Hybrid Tablet using WDS, however this appears to prevent the automatic screen rotation functionality.
    When installed from the Windows DVD, automatic rotation is available without any additional driver installation.
    Are there any components that need to be added to the unattend files to allow this feature to work?
    Regards,
    So-Crates

    Hi,
    WDS provides PXE boot to install windows, it has nothing to do with windows component. I don’t think WDS is the culprit here.
    I recommend you ask in manufacture forum, they may give you more effective suggestions.
    Thanks for understanding.

  • Min.Internet bandwidth for SAP clients with Windows Terminal Services (RDP)

    Dear all,
    what is a minimum/recommended Internet bandwidth for client who are using SAP client with RDP (SAP client is connecting directly via RDP session to remote SAP server).
    regards
    GN
    Edited by: Grzegorz Niecka on Aug 4, 2011 10:36 AM

    Hi GN.......
    It is recommended to have 1 Mbps speed of Internet in order to connect SAP Client from its destination to server if you are using Terminal server or VPN.......
    If you still not getting proper connectivity you may increase it to 2 Mbps........
    Regards,
    Rahul

  • I am using terminal services and one of my users gets could not initialize the application's Security component.

    The only way I have been able to resolve this is to reboot the server. This is typically unacceptable since I have other users working on the same server.

    See https://support.mozilla.org/kb/Could+not+initialize+the+browser+security+component

  • Swing app in JDK6 continues to rendering slow in Windows Terminal Server

    Hi,
    Because Swing apps create interfaces internally and not using default OS APIs,
    when running into a Windows Terminal Server client, there is no way to optimize
    rendering. Windows Terminal Server and Linux FreeNX use a mechanism to send
    to client only commands to render the windows. But, because the way Swing works,
    not totally integrated to OS APIs, it's not possible for terminal servers to do this,
    and these servers render Swing like images, something like VNC do, very slower than.
    I have tested native apps and AWT apps, and the difference is very significant,
    something like 50-70% faster.
    Is there some project in Swing APIs or java.net open-sources to better this?

    We are also seeing this issue with a Compiere implementation. With 10 distributed sites across the US, our client wanted to use Windows Terminal Services to simplify the client desktop management of the Swing application.
    But performance is terrible...and screen painting issues a real problem. We are also on JDK5 still, so I'm discouraged to see that JDK6 doesn't appear to offer much improvement?
    Is there any project afoot to address this issue for installations using terminal services?
    Thanks,
    Peter

Maybe you are looking for

  • Safari quits unexpectedly whenever I try to open it

    For a while now, whenever I try to open Safari, it crashes, or "quits unexpectedly". As soon as I click the Safari button on my dock, the icon jumps up and down a couple of times, but then suddenly, the page pops up with "Safari quit unexpectedly". I

  • Values in CK13N not matching with cost element report

    Dear SAP Experts, when I go to t code CK13N in the column (Itemization of column) I can see for the cost elemnt total values as 241023 with the Qty as 10000, but when I check in the material & the report FBL3N not sure from where its taking 241023. W

  • Imported PO exchange rate - commitment amount reduction on GR

    Hello Experts, I have created imported PO with account assignment to WBS element and changed the foreign exchange rate (FER) to 50. Since the unit rate was $100 (Foreign Currency) and Qty. was 2 nos., system had increased commitment value by value 10

  • Deleting archives with RMAN when physical database is in place

    hi all, i want to backup and remove archvie logs using RMAN on one of my system which is having a physical standby database.how can i ensure RMAN backup and delete only archive logs which are shipped to DR site(physical standby database).when ever i

  • WSRMacros on Win8 - how to get it to work???

    I've very recently (in the last couple of days) discovered the Windows Speech Recognition tool and quickly found the accompanying Macro tool.  My husband (running Win 7) successfully installed and can make/run his own macros using this tool.  Using t