Oracle XE GUI locks up frequently

Hello,
My Oracle XE 10g GUI (browser) keeps pending endlessly in the status bar (processing the SQL statement),
after I did some statements (be it DDL, DML or a simple select). It makes me think there is an implicit lock going on,
though when I go to the locks screen, I see none active. I do see various sessions active.
I simply do this (nr 1):
SELECT *
FROM emp;
I press turn autocommit off and I press ctrl+enter.
I get the full emp list as expected.
then I do this (nr 2):
SELECT ename, sal, hiredate
FROM emp
WHERE empno = 20;
followed by ctrl+enter.
I get my results as expected.
Then I go back to repeat these steps using SQL History and it locks up at nr 2.
This behavior seems to occur sporadically because I was never able to reproduce identical scenarios in succession.
It only happens when I run the statements from SQL History.
When I copy paste my previous statements without using SQL History, everything works fine.
Is this a bug, or what's going on?
Thank you
Edited by: 898322 on Nov 21, 2011 6:15 AM

Hi,
Are you using Apex 2.1 that comes with XE 10G?
That version Apex is old and might/have bugs. Also it not support well latest browsers.
It is better use tool like SQL developer to run queries
http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
Or you can upgrade Apex and see does problem go away
http://www.oracle.com/technetwork/developer-tools/apex/upgrade-apex-for-xe-154969.html
But note if you upgrade Apex, you lose database admin web interface
>
Once you upgrade Application Express within your Oracle Database XE, you will lose the Oracle APEX interface to perform some of your database management functions. This includes the ability to create and alter users, set database parameters, etc. To perform these functions, you will need to use either SQL Developer or SQL*Plus.
>
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

Similar Messages

  • GUI locks up when trying to read output from server

    I have a client built in MVC fashion and have two GUI views. One view is for output from the server and input from the keyboard. The other view is for changing connection settings and starting the conection. The problem is when I make the call to connect from the connection GUI it is able to connect and set up the streams but both GUIs lock up once I start trying to output the text received from the server. The strange thing is that when I call these methods just from the Model and not via the GUI and its actionListener the whole thing works. I think it may have something to do with the loop locking up the GUI but don't how to resolve this.
    public void monitorServer()
    try
    char inputChar = (char)fromServer.read();
    while (socket.isConnected()==true && inputChar >-1 )
    inputChar = (char)fromServer.read();
    if ( ( (inputChar >= '0') && (inputChar <= 'z') )
    ||(inputChar == '\n')||(inputChar == '\r')
    ||(inputChar == ' ') )
    String tempString = (""+inputChar);
    mv.addText(tempString);
    catch(IOException ioException)
    JOptionPane.showMessageDialog(null,
    "Error: Failed to read message. Corrupt data sent by server",
    "Connection Error", JOptionPane.ERROR_MESSAGE);
    mv.addText("\nMessage not read.\n");
    The code above is the bot that screws it all up. mv is the other view that it is outputting the text to.
    Please help! I'm gonna fail my degree. :)

    you need to run your server connection part in another thread.

  • GUI lockes even though socket in in different thread

    I have a very simple GUI interface which is designed to simply display the data received from a server socket. The problem is that once I accept the client socket connection the GUI locks until the client socket is closed. This occurs even though I'm creating the socket in a new thread. What am I missing? Thanks
    The server socket:
        Runnable startServerSocket = new Runnable() {
            public void run() {
                try {
                ServerSocket srv = new ServerSocket(port);
                System.out.println("socket waiting");
                // Wait for connection from client.
                Socket socket = srv.accept();
                BufferedReader rd = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                System.out.println("socket got connection");
                String str;
                String text;
                while ((str = rd.readLine()) != null) {
                    outputArea.setText(outputArea.getText()+str);
                    System.out.println("got msg");
                rd.close();
                socket.close();
            catch (IOException e) {
                System.out.println("Exception: " + e.toString());
    };The socket is run in this manner:
    Action onaction = new AbstractAction("On") {
            // This method is called when the button is pressed
            public void actionPerformed(ActionEvent evt) {
                SwingUtilities.invokeLater(startServerSocket);
        };Any help you could give me would be very much appreciated. Thank you

    This occurs even though I'm creating the socket in a new thread.Actually SwingUtilities.invokeLater causes your Runnable to run in the Swing event thread, which is exactly what you want to avoid doing. Try this instead:public void actionPerformed(ActionEvent evt) {
      new Thread(startServerSocket).start();
    }

  • I have a second generation iPad that has started locking up frequently. What causes this

    I have a second generation 32gb Ipad that has started locking up frequently. All updates are current. It is on IOS 7.06 A soft boot is required to restart. Over 9.0 gb memory remaining. Any known causes?

    There are some bugs in iOS 7 that can cause problems. An update to 7.1 which is in Beta test make help increase overall stability.

  • Office 2011 Locking UP Frequently

    Since I installed Lion, all of the Office Products (Email, Word, Excel) are locking up frequently.  Is there a solution?  I am considering reverting back based upon the # of issues with office and some new issues with VMWare Fusion being really slow on Lion.
    any suggestions or thoughts?
    Tx

    Hi,
    Are you using Office for Mac 2011? If yes, please note the current forum supports Office for Windows, post the question to Office for Mac forum to get further support:
    http://answers.microsoft.com/en-us/mac
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • BO XI Causing Oracle DB to lock user

    Please help me track down what is causing this.
    We have various Crystal Reports publishing on our BOE environment.  Few of those reports have a dynamic prompt which constantly prompts users to enter the database information for the dynamic parameters.
    The only way getting around that was to go in to the Business View manager and change the Data Connector settings for each of those reports.  What was changed was to change the "Runtime Prompt Mode" to Never Prompt and enter the database credentials.
    I am pretty sure this MAY be causing the Oracle database to lock up.  We have a specific schema login set for the Crystal Reports to pull data from the Oracle DB.  The schema login allows 10 login failure attempts before it locks up.
    I am more than sure that the login information for the data connectors set in Business View Manager is correct (otherwise the report wouldn't run).  However, over time, anywhere between 1-3 days after the data connectors are set, the database schema login is locked.
    Is there any way to find out which data connectors or report may cause this?  Our DBA can only see which server (our BOE server) the login failure is coming from.
    This is driving me nuts!
    Thanks in advance.

    you have to revise all the connections created by this user, there is some connection uses a wrong password, thats why it locks the oracle user.
    good luck

  • Question about BC4J data tags, Oracle sessions and Locking!

    Hi ,
    I have seen numerous examples of JSPs using data tags and in all the examples the data tag for the application module has the "username" and "password" harcoded in it.
    My questions are:
    1) For a stateful application should we be including the username and password in every JSP page. I personally believe that we should not.
    2) If we have a username and password in every JSP page will it not start a new ORACLE user session and if so will it not cause locking problems?
    3) If we don't hard code the username and password in every JSP page, will it reuse the same ORACLE session ?
    4) How do we avoid locking problems when we use data tags?
    5)I can understand the inclusion of username and password in every JSP page if it is a stateless application but again Is there a way we can avoid hardcoding the username and password in every single page?
    I would appreciate if some one can let me know if any of my assumptions are incorrect.
    JDeveloper Team/Juan any advice?

    The username and password are optional. They can be provided via the connections.properties file. The multple entries for username and password don't mean that separate connection are made. The first time the ApplicationModule tag is encountered, your application instance is created. If you are running in reserved mode (look at your releasePageResources tag) the application instance is kept until your Http session times out. If you are running in Stateful or Stateless mode, you application instance is returned to the application pool and retrieved the next time you need an instance. Please refer to the application pool documentation and to the source in oracle\jbo\common\ampool provided in jbohtmlsrc.zip.

  • Oracle PW getting Locked + ABAP Kernel Update through the JSPM

    Hi Gurus,
    #1
    After resetting the PW ( ABAP + JAVA System ) at  ABAP Side ( SU01 ) and at the Config Tool Secure Store Level + Restart the SDM Server THEN : first time
    I am able to connect to DB for ConfigTool and I am also Able to Connect to JSPM, Change the PW and then for the Next Time( even though no changes made to SAPSR3DB ) the Oracle User SAPSR3DB Acc gets locked again - immediately and o repeated bases eventhough it is unlocked at the DB Level !!!
    Being ABAP + JAVA Is there anything else I need to do while I reset the  PW of J2EE Admin ?
    I have referred the notes 701654, 669848 and as it is ABAP+JAVA I don'e need to go for SAP* Emergency User Activation.
    #2
    Can we update the ABAP Kernel ( CAR Files ) through the JSPM ?
    Your inputs are very much appreciated.
    Thanks,
    Best Regards,
    - Rupen

    Hello,
    I think JSPM can be used to update only the support packs and not SAP Kernel.
    Also,
    In the Oracle directory, there is a script which changes the database password.
    Don't recollect the name though.
    Regards,
    Siddhesh

  • Oracle.exe keeps locking a file after connection has been closed.

    Hi,
    I've written a windows service in .net that monitors a directory for new uploaded files that need to be synchronized with the database. When it detects a new file it moves the file to a another directory from which oracle can reach the file. When the file is moved. I open a connection with the database that performs a select * ... on the external table which reads the file. This all works like a charm and afterwards i dispose of the connection.
    Then i try to move the file again to another directory because it has been processed, but then i got an System.IO.IOException because the file is locked by a process. When i check by which process it is oracle.exe and the lock stays untill i terminate my service. When i debug the service i double checked and the connection state is closed before i try to move it again. For some reason oracle.exe locks the file untill i kill the service that opened the connection.
    If i need to give more specific information please ask, any help would be greatly appreciated.
    Pieter

    Do you see the same behavior is you select * from sqlplus instead of the odp app, but don't disconnect the sqlplus session?
    ODP has pooling on by default, so even though you close and dispose the connection, the underlying hard connection stays open.
    I dont know if there's a way to unlock the file without disconnecting which may be the ideal solution, but if not you could probably just disable connection pooling (set pooling=false in the connect string) to get around it.
    Hope it helps,
    Greg

  • GUI  locking.

    I need help !!!!
    I have an java Applet that call web services.That applet has a button wich when is pressed it send a request to the SOAP server.The request is an asynchron call because we are invocating a web service wich will return some results. When I make the call the soap server before of send the response to my applet it send a RPC call to a thread listener that I have runing in my applet. That listener is listening for request in a port . My listener got fine the soap server request but an acction wich the listener must to do is display a dialog message . The problem is that because of the applet GUI es locked waiting for the SOAP server response the dialog shows locked again an it is disabled. the soap server would expect for a response from the listener buto as the dialog shows freezed the response cannot be send to the soap server. after some time the soap server get timed out and send the response to the applet sending a error code. The question is somebody knows how can i display a dialog in a Applet when the GUI is locked due to is waiting for a IO operation be completed ????'
    I will tank you very much for your help.

    more threads. have the soap request in one thread, the response listener in another thread, and the GUI dialog in another.

  • Oracle VM aquire lock issues

    I have been trying to manage an Oracle VM environment (1 Master server, 3 VM servers) for several months. THe main issue we have is that every so often when we have to reboot a VM guest either when the guest is going down or coming up we will see the following error in the master server /var/log/ovs-agent/ovs_root.log file:
    "2011-06-08 22:28:44" ERROR=> OVSPolicyServer.execute_policy(): error. => errcode=00001, errmsg=CDS accquire lock /etc/ovs-agent/db/cluster.lock timeout. locker process is 14070
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSPolicyServer.py", line 38, in execute_policy
    pool_ha_enable = db_load("cluster", "pool_ha_enable", get=True)
    File "/opt/ovs-agent-2.3/OVSCDS.py", line 159, in db_load
    cds = CDS(db_name)
    File "/opt/ovs-agent-2.3/OVSCDS.py", line 119, in __init__
    raise CDSLockTimeout(ERR_CDS_LOCK_TIMOUT, {
    The only way to get the VM guest to come back online is to shutdown all other VM guests running on the assigned VM server, reboot the VM server, then try again.
    I have tried many different avenues to get a resolution:
    1. Enabled the server pool/vm servers/vmguests to have HA. This was a disaster because every time the aforementioned error occurred the Master server would be affected and bring down the entire environment.
    2. Rebuilt the Oracle VM DB (remove all files in /etc/ovs-agent/db/ and restart/add servers to server pool)
    3. Disable HA and rebuild DB again.
    Still these errors occur and is really causing many customer issues with constant maintenance reboots. Has anyone seen this and discovered a solution?

    Hi,
    is your storage repository on NFS?
    And do you expirence short neworkt outage on the NFS storage maybe, before this error occurs?
    You can try with the following workaround:
    Stop all OVS-Agents: /etc/init.d/ovs-agent stop --disable-nowayout
    Delete the locks on the master: rm /OVS/.ovs-agent/db/*.lock
    Start all OVS_Agents: /etc/init.d/ovs-agent start
    Regards
    Sebastian
    Edited by: ssolbach on Jun 9, 2011 6:06 AM

  • The Oracle Host command locks up XP occasionally after returning from LabVIEW app.

    Here's the scenario:
    The Oracle Host command calls a LabVIEW exe I created called LVSMS.exe. LVSMS than calls a Campbell Scientific app called SMS.exe that reads data from a storage device through the serial port COM1. SMS is closed by LabVIEW through the use of the SMS app pull down menu using keystrokes generated by LabVIEW keystroke commands. The data obtained by SMS initially gets stored to the local drive and is than copied to the network. LabVIEW than exits. Upon exiting LabVIEW and returning to Oracle control under the Oracle HOST command which is running in the background the whole time, WinXP will occasionally lock up.

    Thanks. WinXP only locks up when returning from LabVIEW to Oracle. The app is running on 12 computers 2,000 miles away. I found out that 4 of the 12 have locked up. I'm still working on determining if the lock up happens on 4 specific computers or if it's random. It never locks up on my development machine which is supposed to be identical to the machines at the other facility. I've changed timing intervals between when the Campbell SMS.exe program closes and when the LabVIEW LVSMS.exe program closes, and changed the WinXP performance properties. We're evaluating the results now; the process is used only once every 4 hours, so evaluation is slow. The Oracle HOST command appears to be the culprit. Haven't tried it from Win2000, but my WinXP development system
    works flawless.
    I'm hoping for information regarding the Oracle HOST command and WinXP. Posssibly what to tweak.
    Shooting in the Dark! Thanks for your response!

  • Firefox locks up frequently

    Firefox locks up, which then locks up my whole computer for about 30-45 seconds when browsing websites. Sometimes it happens over and over and over, sometimes I can go a week without a problem. It's not a particular website...just random. I've tried with and without my addons. This is a brand new computer I built with Win7, no other issues.

    I had the same problem. The solution: New mainboard. ALL mainboards using NVidia chipsets are likely to crash every hour or so because of crappy programmed drivers and hardware that's operating beyond save limits. I had all kinds of problems: USB-devices disconnecting frequently, system refusing to boot every now and then, all browsers crashing and all sorts of other neat problems. I just swapped the mainboard to an AMD-Chipset and now everything works fine. No crashes the last two months. I'm still using the same Windows7 installation, the same firefox and my old profile that previously crashed 10 times a day. I just swapped the mainboard, deinstalled the nvidia drivers, then installed new network and sound-drivers. That's it.

  • GUI locking up, why?

    The attached example VI replicates how my VI ended up, I know it needs to be completely redone but I'd like to know whats messing up here.  On running, if the user immediately goes to Page 3 the slider is unresponsive and so are the tabs.  This doesn't seem to be a race condition.  On starting if the user changes the slider, or goes to page 2 before going to Page 3 this doesn't happen.  So what is locking up the GUI.   Note on Page 3 the loop that is poling the slider is still working as the numeric is still being updated.  The GUI gets locked up other ways too.  I have also have noticed that on aborting this VI are restarting the GUI seems to be locked out until one of the event structures runs, at least that is what I think is going on but is not included in this example.
    For those wanting the scoop before downloading.  There are three tab pages.  The controls on one are monitored by one event structure, it runs all the time.  Monitoring the controls on the other two pages are turned off and on with a change of the tab control using a case structure.
    Attachments:
    tab and event structure testing.vi ‏20 KB
    just slider.vi ‏7 KB

    phillman wrote:
    From what my testing seems to show is that if the event structure is within a case structure, and even though the case that includes the event structure is never executed, the event structure is still activated? 
    Why the question mark at the end if you tested and verified it yourself?
    (The user interaction queues up the event in the event queue and locks the front panel (if so configured) and the event structure will handle the oldest event once it is able to execute.)  
    phillman wrote:
    It just seems to me that an event structure shouldn't be activated until it is actually executed. 
    No, it's the other way around. You need to write your code with the knowledge in mind that events are aways queued up.
    Without that feature you would not be able to write a useful program. What if a button is pressed while the previous event has not finished? What if a button is pressed while it is doing an FFT? Should it just ignore the button or should it service it once the event is available to be processed?
    For more fancy requirements you can use dynamic event and register/unregister them depending on the program state. It is all possible, but requires significantly more code.
    If you really think you have a much better idea how events should behave, please write it up and post it in the ideas exchange. If it is a good idea, it will collect votes.
    (More information, for example read rule #1. Once the while loop has completed, the event structure is no longer in a running while loop, violating that rule )
    LabVIEW Champion . Do more with less code and in less time .

  • Oracle Installer GUI Issue ...

    I tried installing oracle 8.1.6 on RH 7.3. I'm not able to get any GUI of the installer. The konsole gives the message about extracting the jre from the CD and then nothing happens. No error is reported. How do I solve this problem ?

    Look at thread Installer hangs on Red Hat 7.2
    The trick for me was setting:
    LD_ASSUME_KERNEL=2.2.5

Maybe you are looking for

  • Problems with an external hard drive (not Time Machine related)

    First, I'll clarify that I'm using an internal hard drive inside an external enclosure, incase that makes a difference to my problem. I got this drive to store my music on, since I've run out of room on my main hard drive. I've transfered all my musi

  • Windows 8.1 update Developer Preview from Microso...

    If i update Windows 8.1 update for Nokia Lumia 925 from  Developer whether it affects the warranty of the device. If any problems whether  nokia will support us. I have device having warranty for another 9 months. If i update it now whether we will g

  • Maximum cable lengths for USB / FW / DVI & sVGA?

    I've hunted around on the net and can't find any kind of definitive answer regarding maximum cable lengths for USB, Firewire 400/800 and DVI / sVGA monitors. Can anyone shed some light? I'm about to shift my studio into a new room, and have the oppou

  • Solaris 10 x86 setting wrong netmask at startup

    Hello one of our servers when it reboots set wrong netmask in the network interfaces; the network interfaces should have 255.255.255.240 as netmask but upon reboot they have 255.255.255.0. the /etc/netmask entries as subnet netmask let's say that my

  • BI Integrated Planning - Error config logon tickets

    Hi, I am trying to use the Integrated Planning module in 2004s, when I select the start modeler, I get an error relating to the configuration of SAP logon tickets. Both the required profile parameters are set to the correct value: login/create_sso2_t