Failed session with Java Thread error message

Hi:
We are using Oracle Forms 10g (application server 10.1.2.0.2).
One of our users sessions just went unresponsive and when we took a look at the Java Console we captured the following:
Exception in thread "AWT-EventQueue-2" java.lang.IllegalStateException: cannot open system clipboard
at sun.awt.windows.WClipboard.openClipboard(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.<init>(Unknown Source)
at sun.awt.datatransfer.SunClipboard.getContents(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent._pasteImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.paste(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.processKeyEvent(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWCommonText.processKeyEvent(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextField.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextField.processEventImpl(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Has anybody seen this before and found a solution for it?
I searched the forum and found nothing that seems to apply.
Thanks,
USA

Bug 4520121 is about a java.lang.OutOfMemoryError or performance degradation when large amounts of data (megabytes) is on the system clipboard. Not sure if that's related to your problem as the call stack seems to indicate you're getting this when pasting information from the clipboard to an item
Update: searching on metalink quickly reveals Note 301618.1 which refers to the bug Jan mentions and also to "Bug 4290580 JAVA.LANG.ILLEGALSTATEEXCEPTION: CANNOT OPEN SYSTEM CLIPBOARD"
From the metalink Note:
The both bugs are fixed in 10.1.2.2 of Forms. In order to implement the full fix for Bug 4290580 / 4170518, the following modifications must be made:
1. formsweb.cfg:
a. Locate forms90/server (9.0.4) or forms/server (10.1.2)
b. Add allowAlertClipboard=true
2. Add the "allowAlertClipboard" to the following HTML templates used by Forms:
base.htm
baseie.htm
basejini.htm
basejpi.htm
* Syntax for the <OBJECT> </OBJECT> and <APPLET> </APPLET>
<PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">
* Syntax for the <OBJECT> </OBJECT>
allowAlertClipboard="%allowAlertClipboard%"
This paramter is added so that user has a choice of disabling the Clipboard alert Dialog is added so that user has a choice of disabling the alert Dialog by setting this parameter value to false in case of System Clipboard is used by some other Application.

Similar Messages

  • Pages failing with Java Heap errors

    We are running CF 8,0,0,176276 on a Windows 32 bit 2003
    server, with IIS 6 and Java Runtime version 6 ( it's really version
    1.06).
    We started getting the java heap error messages two weeks
    ago. Now we are also getting the 'GC overhead limit exceeded'
    error, which is concerned with the Java garbage collection. I tried
    to change the JVM heap size from 1GB to 2GB, but CF wouldn't start
    up. I've since found out that Windows 32bit servers can't use 2GB
    for Java.
    One java article I found said to turn off the Java garbage
    collection using -XX:-UseGCOverheadLimit (
    http://forums.java.net/jive/message.jspa?messageID=228596).
    It seems like turning off the garbage collection would be the
    opposite of what I am trying to do. Are there any thoughts about
    this?
    Are there any hotfixes for CF8? and where are they located?
    Scott

    Scott, the error is a symptom, not the cause of your
    problems. Turning off that option won't "solve" the problem, which
    is that you're running out of memory. More on that option in a
    moment.
    Let's talk first about your observation of trying to change
    the max memory from 1 to 2 gig. Since you're on Windows (32 bit),
    as you say, you can't use more than 2g per process (it's not really
    a Java limit, but rather a Windows one).
    But as you found, you can't set CF to 2g because the JVM
    won't start. Again, this is not a CF-specific issue. You can see
    discussions of the same problem with plain old Java apps, as at
    http://forums.java.net/jive/message.jspa?messageID=228596.
    So, similar to what they say, the consensus seems to be that
    you can set it to somewhere between1.3 and 1.7 gb, before the JVM
    won't start. You have to try different values for yourself.
    Now, that extra few hundred meg may be all you need to get
    past your problem, but really that's often just forestalling the
    inevitable. You need to find why CF is using so much memory. You
    say you're using CF8 but don't say if it's Enterprise or Standard.
    If the former, then you have the CF8 Server Monitor (accessible in
    the CF Admin, and discussed in a multipart series I wrote for the
    Adobe Dev Center, as discussed at
    http://carehart.org/blog/client/index.cfm/2008/7/30/45page_server_monitor_guide).
    That, as well as tools like FusionReactor and SeeFusion, can help
    you to better see how CF is using memory.
    All three offer a graphical interface to show how memory use
    is trending. You may see if it grows steadily throughout the day,
    or grows in spikes. People tend to say "I have a memory leak", when
    in fact it may be just that they have either a few requests that
    use too much memory (so you'll see a stair stepping rise in memory
    use concurrent with their execution), or it may be that they're
    sticking stuff into shared scopes (session, application, or server)
    and those are living well beyond the live of each request.
    The CF8 Server Monitor even has a memory tracking feature,
    but it has to be used carefully. If you enable it, you may find it
    brings your server to its knees.I'll do a blog entry soon on how to
    use it most effectively (something I learned since writing the
    articles last year).
    One thing that the monitor can tell you, without any of the
    "start" buttons enabled at the top of the monitor, is how many
    sessions you have. That may be very enlightening. You may have
    thousands of them, and not realize it, because of bots, spiders,
    and other crap requests. See the "active sessions" page of the
    Server Monitor, and its graph icon in particular (discussed in more
    detail in one of my articles).
    Sadly, neither FusionReactor nor SeeFusion can tell you how
    many sessions are currently running, so if you're on CF8 Standard
    (or if others reading this are on 6 or 7, where they can use FR or
    SF), you can't easily see how many sessions there are. (There are
    undocumented, unsupported methods, such as discussed at
    http://rewindlife.com/2003/09/08/undocumented-application-scope-functions/.
    Just be aware some techniques work differently depending on whether
    J2EE sessions are enabled in th CF admin.)
    Finally, about your observation of the usegcoverheadlimit
    option, and the recommendation to turn it off: the article you
    point to doesn't say doing so would disable GC. I'm curious how you
    may have concluded that.But digging into things more, I see that
    disabling it (using the - before it) will turn off a feature
    (introduced in 6) which limits the proportion of the VM's time that
    is spent in GC before an OutOfMemory error is thrown. That's the
    error you're seeing, that the JVM has detected too much time is
    being spent in doing GC.
    So turning off the option doesn't "turn off the Java garbage
    collection". It just changes whether an OOM error will be thrown
    even before being really out of memory, simply because too much
    time is being spent in GC.
    And even then, how this option works (if enabled, which it is
    by default) changes depending on whether you're using a parrallel
    or concurrent collector (as discussed in two places in
    http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html,
    if you search for that switch).
    Hope some of that helps.

  • Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.

    Hi!
    We have 5 Exchange 2013 servers and when I’m trying to run a script that includes the cmd-let Get-MessageTrackinglog with StartDate = the first of the month and with EndDate = the end of the month I get the following error message after
    a couple of hours. The script is run on the server SERVER01 and goes through the Message Tracking logs of all Exchange servers. I have tried the script on other servers and get the same result.
    Processing data for a remote command failed with the following error message: Error occurred during the Kerberos reponse.
    [Server=SERVER01, TimeStamp = 918/2014 19:32:34]
    For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo         
    : OperationStopped: (server01.domain.com:String) [], PSRemotingTransportException
        + FullyQualifiedErrorId : JobFailure
        + PSComputerName       
    : server01.domain.com
    I have gone through “about_Remote_Troubleshooting Help topic”, but can’t find anything related to my issue. There is nothing in the Application or the Windows PowerShell log either.
    /Henrik

    Hi Henado 
    Check the time on your Exchange server(s) relative to the DCs and ensure they are in correct sync
    Use another account which is assigned the Organization Management permission and log to to the server run the command in shell and see the results
    Run 
    Add-PSSnapin -Name Microsoft.Exchange.Management.PowerShell.E2010
    Set-Adserversettings -ViewEntireForest $True and then run message tracking command and see the results
    If none of the above helps you may need to remove and re-install the WinRM and see the results
    Good Luck :)
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentV

    I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation  when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
    to solve this problem.
    Initialization Failed
    The following error occurred while searching for the on-premises Exchange server:
    [win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
    $true -CurrentVersion 'Version 14.1 (Build 218.15)''.
    Thanks Vivek
    SharePoint Foundation 2010 Book
    http://www.redpipit.com

    Hi,
    Please have a look at the article below:
    Troubleshooting Exchange 2010 Management Tools startup issues
    http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
    Resolving WinRM errors and Exchange 2010 Management tools startup failures
    http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
    Besides, please run the cmdlet below:
     set-user alias -remotepowershellenabled$true
    Xiu Zhang
    TechNet Community Support

  • I have two versions of Pr, one is the latest 2014 and when trying to open a Pr2014 session, I get an error message saying the project was saved in a newer version and cannot be opened. Help

    I have two versions of Pr, one is the latest 2014 and when trying to open a Pr2014 session, I get an error message saying the project was saved in a newer version and cannot be opened. Could there be an issue with an older Pr application on the computer? Please help!

    You need to be very careful which project you open in which version.
    For 2014 make sure its on 2014.1 build 81.

  • I tried to install the latest version of iTunes on my Windows PC, but the installation failed and I have the error message "Runtime Error R6034 An application has made an attempt to load the C runtime library incorrectly."

    I tried to install the latest version of iTunes on my Windows PC, but the installation failed and I have the error message "Runtime Error R6034 An application has made an attempt to load the C runtime library incorrectly."  When I then tried to run iTunes (assuming that, since the new install failed, my older version was still OK) I got the message "iTunes was not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 1114".  I tried then uninstalling iTunes and reinstalling it fresh, but encountered the same problems. Help!

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Java.lang.error message after updating blackberry protect

    I took the update for Blackberry Protect today on my Blackberry Bold 9900 with OS 7.1.0.391 and now I get the java.lang.error message on re-boot. Anyone know what this is?
    I've tried uninstalling BB Protect and still get it, also tried re-installing it and message is still there.
    What is this error, how will it hinder-impact device and is there a way to fix it?
    Thanks in advance.

    Ok I figured this out
    1) alt lglg - this will show the entire event log
    2) click the blackberry key then select "options"
    what we want to do is basically see what application or applications in the event log is causing the error,
    In order to do that...
    3) Click the blackberry key again... Select "hide all types"
    Now we don't see anything in the event log, all the filters are unselected,
    Scroll down in the list till you find the "java exception" filter, click it... You will see a small menu , select "toggle filter"
    Now you will see exactly what application or applications is causing the java exception error :-)
    Mine was facebook, it could be anything you never know,
    Now.... Open up blackberry desktop , go to applications, remove the application or applications causing the error,
    Select Update
    Your device will now update then reboot, this might take over ten minutes, be patient
    This will work :-)

  • Java.exe error message

    I am getting a java.exe error message after installing Oracle 8i Enterprise Edition on a Windows XP home edition. Can anyone help?

    Hi,
    Oracle usually installs it's own JDK for it's usage. Probably the paths are updated so that iAS is not able to use java that is bundled along with it. Please check the version of java at the command prompt by issuing..."java -fullversion". Please let me know the outcome for me to help you further on this.
    Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/devlopers/support

  • I have recently bought an iPhone 4S and I am trying to install iOS7. The install initially failed and I received an error message. I attempted a restore, however, the progress bar is now stuck at "Restoring iPhone software.."

    I have recently bought an iPhone 4S and I am trying to install iOS7. The install initially failed and I received an error message. I attempted a restore, however, the progress bar is now stuck at "Restoring iPhone software.."
    I'm still attempting to restore it, but the process goes as follows
    - Extracting software.
    - Waiting for iphone.
    - Preparing iphone software for restore.
    - Verifying iphone software.
    - Restoring iPhone software.
    It is at this point where it begins to load approxiamtely 10% and then freezes. I have had the handset connected 7 hours with no progress and this is my third attempt since Friday. Please help.

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.
    Unauthorized modification of iOS  >  http://support.apple.com/kb/HT3743

  • I had a itune update fail, now I get an error message (windows error 2). what do I need to do?

    I had an itune update fail. now I get an error message. "windows error 2". I can not open itunes!

    With the Error 2, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
    Does it install properly for you?
    If instead you get an error message during the install, let us know what it says. (Precise text, please.)

  • My Premiere Pro won't open and keeps coming up with a 0xc000007b error message!! I have uninstalled

    My Premiere Pro won't open and keeps coming up with a 0xc000007b error message!! I have uninstalled and reinstalled it but it will still not open.

    It worked for me, any way we have to do following things now, I have seen this happens becasue of the corrupt dll for Visual C++ packages. if the following thing will not work, I am affraid we have to reinstall the windows 7
    Good Luck
    Try to remove all the Visual C++ 2010 Redistributable and Visual C++ 2008 Redistributable Packages (both x86 and x64) from the Control Panel
    Download and install following Visual C++  Redistributable Packages
    Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
    Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
    Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
    Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)

  • When syncing with itunes, got error message saying had error and now ipad2 will not do anything other than showing the USB cable with arrow pointing to Itunes on screen.  have done the reset and restart, but still get same thing.

    when syncing with itunes, got error message saying had error and now ipad2 will not do anything other than showing the USB cable with arrow pointing to Itunes on screen.  have done the reset and restart, but still get same thing.  Ipad does not show up in itunes even though cable plugged in.  Have shut down and restarted Windows 7 computer.

    I had done all of that to no avail.  I did call Apple Tech Support and after he suggested I try a USB port in the rear of the Win 7 computer, things starting working again.  I had tried switching the USB port at the front of the machine but that had not helped.  Everything is good to go again.  thanks for  your reply

  • Updated to Firefox 35.0 recently and I keep getting a Java Application error message everytime I pull up a new page

    This is more of a heads-up rather than a ques
    tion.
    I recently update Firefox to version 35. My computer operating system is Windows 7 Starter. Since adding the update every page I pull up I get a Java script error message "Error: 'console' getter called on an object that does not implement window interface."
    I followed the steps for trouble shooting extensions and managed to isolate the problem. It was an add-on extension for Youtube Auto HD 1.4. The message no longer pops up.
    I hope others out there find this helpful.

    Sorry didn't noticed it was solved.

  • Moving files to another directory got an error message [File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".

    Hi all,
    I am having a list of files in a folder named datafiles and I am processing them one by one when I finish each one I want to move the file into a folder archive.
    I am having a variable named filename and archivefilename and two fileconnections  one is originalfiles and archivefiles
    archivefilename=replace( @[User::filename],"datafiles","archive")
    orginalfiles connection is an expression [email protected]:filename
    archivefies connection is an [email protected]:archivefilename
    the filename comes from reading the folder that contains those files
    public void Main()
                string[] filenames;
                filenames = Directory.GetFiles(@"C:\luminis\datafiles\");
                Array.Sort(filenames);
                Dts.Variables["filelist"].Value = filenames;
                Dts.TaskResult = (int)ScriptResults.Success;
    The folder c:\luminis\archive\ exists
    why I am getting this error
    My filesystem task : destinationpathvariable =false
    destinationconnection:archivefile
    overwrite=true
    operation=movefile
    issourcepathvariable=false
    sourceconnection=original file
    why am i getting this error[File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".
    sohairzaki

    there may be 2 problem...
    1> specify a target directory only, not with the file name. 
    OR
    2> Try using the unc,path format \\computername\sharename\
    let us know your observation...
    Let us TRY this | Mail me
    My Blog :: http://quest4gen.blogspot.com/

  • I updated my Itunes to the latest version(11.1.4) and it isn't running on my laptop. The current OS is a W7 ultimate 64bits, when i try to run it, opens a message box with the following error message: error 7 (windows error 1114) . What should I do?

    I updated my Itunes to the latest version(11.1.4) and it isn't running on my laptop. The current OS is a W7 ultimate 64bits, when i try to run it, opens a message box with the following error message: error 7 (windows error 1114) . What should I do?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for

  • How do I organize / reorganize / redo my own Web email address?

    GL CS. Mac G5. Final Tiger. I'll try to be organized and explain clearly. Some questions re the Web site email address. The Web URL is "listenwritedesign.com." I enclose two screenshots for the material below. If only one shows, I'll send the other w

  • I deleted icloud from my iphone and i lost my contact and photos. how do i get it back?

    I deleted icloud and lost my all my contact & photos

  • Abap + Java

    Hi Gurus, we have a netweaver application which is based onwebdynpro java [ java as well as abap ( RFC calls ).. ] Regarding this netweaver webdynpro java.. Can someone explainn the architecture as well as Abap - Java linking in detail. also the tran

  • Local flash pop up window HELP!

    Hi, I'm trying to open an html popup window locally from a flash button. Can anyone help? The issue seems to be specific to local machine because I have managed to get this working on the web. Unfortunately the project we are working on will also be

  • Can't delete design note

    I've created a Design Note reminding to fix an error on the page. I fixed it and now I can't delete the note. I've tried the minus sign and deleting all the text. In both cases, the note comes back unchanged. How do you delete a note?