Sql is hanging
I am using linux and oracle10g.
When i connect the sqlplus in the server, it hanges... It will login only if i hit ENTER two times...
sqlplus / as sysdbaSQL*Plus: Release 10.2.0.3.0 - Production on Fri Jan 20 12:47:04 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
After hitting ENTER Two times, i am able to connect...
sqlplus / as sysdbaSQL*Plus: Release 10.2.0.3.0 - Production on Fri Jan 20 12:47:04 2012
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
@>
what is the root cause? Any help is appricated...
my problem solved...
my db is in mount mode... i modifed the glogin.sql and it worked.
Similar Messages
-
Sql developer hangs when saving pl/sql external package or package body fil
When I open a package body file I can modify the contents of the file.
Compilation of the file works fine but when I want to close or save the file SQL developer hangs. I use version 1.2 (previous version did have the same problem.)
Somebody has an idee what I'am doing wrong?Are you using 1.2.1.32.13?
Sue -
SQL*Plus hangs when connecting to remote DB (Solaris, 10gR2)
First of all the particulars:
Local System:
Solaris 8, Oracle 10.2.0.4, October CPU
Remote System:
Solaris 10, Oracle 10.2.0.4, July CPU
We are trying to initiate a connection from our local system to our remote system using a DB Link. After opening SQL*Plus, we log in with <user>@<dblink>, are asked for a password, and after entering the password, SQL Plus hangs indefinitely (we typically have to kill the sqlplus process to regain our session). Also, logging into the local system with a local account, and then querying using the db link (select * from dual@<link>) gives the same result.
From the remote system, we CAN log into the local system using the same process, and we can also query the local system. in other words, it works in one direction, but not the other.
We have checked all the usual suspects: tnsnames, sqlnet, db_domain, global_names, and all are set correct for our setup (although I of course welcome suggestions to check something else in the files). Also have confirmed validity of /etc/hosts entries, and permissions on those files for the 'oracle' user. A 'tnsping' and 'ping' are both successful in both directions, though I understand these only check the listener and hardware layer.
Our Sys Admin has checked firewall connections between the two systems, and stated that they're open on the listener port (1521).
Listener log files on the remote host, when the hang happens, show an established connection from the local host.
Does anyone have any suggestions as to what to check for next?
Thank you in advance for the assist!Whew, that truss output is enough to make your eyes bleed!
This system is on a closed network, so I cannot post the files here, nor would I wish reading those things on anyone nice enough to spend a minute here helping me out!@
But comparing the truss from the "broken" system, and the working one, the sqlplus that hangs returns a:
ERR #134 ENOTCONN on a getpeernam() thread.
The other truss (working side), does not throw that particular line, and the truss output varies widely after that line in the output fille.
After a few moments letting the sqlplus process "hang", I get:
ERR #62 ETIME
Outside of that, lust a lot of hex values! -
SQL Developer hangs when expanding table node
Hello All,
One of my schemas has 3035 tables. When I expand the "Other Users" node, then the schema owner, then expand "Tables", SQL Developer hangs. I have allowed it to run (as it indicates it is working) for 45 minutes, but it never returns.
I have one user with nearly the same behavior, but theirs returns after waiting 5 minutes.
Any ideas?
About
Oracle SQL Developer 1.5.1
Version 1.5.1
Build MAIN-5440
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.35
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.54.40
Version
Component Version
========= =======
Java(TM) Platform 1.5.0_06
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.5.0_06; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 624463503772965
ide.build MAIN-5440
ide.conf C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 66660
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Documents and Settings\ckell\Application Data\SQL Developer
ide.pref.dir.base C:\Documents and Settings\ckell\Application Data
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\oracle\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\oracle\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\Oracle\sqlDeveloper
ide.user.dir C:\Documents and Settings\ckell\Application Data\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir q:\\SQL Developer
ide.work.dir.base q:\
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 49.0
java.endorsed.dirs C:\oracle\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\oracle\sqldeveloper\jdk\jre\lib\ext
java.home C:\oracle\sqldeveloper\jdk\jre
java.io.tmpdir c:\temp\
java.library.path C:\oracle\sqldeveloper;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\DevSuite\bin;C:\oracle\DevSuite\jdk\jre\bin\classic;C:\oracle\DevSuite\jdk\jre\bin;C:\oracle\DevSuite\jdk\jre\bin\client;C:\oracle\DevSuite\jlib;C:\oracle\DevSuite\jre\1.4.2\bin\client;C:\oracle\DevSuite\jre\1.4.2\bin;C:\Program Files\Java\jre1.6.0_03;C:\oracle\Client10g\bin;c:\oracle\10g\jdk\jre\bin\classic;c:\oracle\10g\jdk\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\Novell\ZENworks\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Diskeeper Corporation\Diskeeper\;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\IDM Computer Solutions\UltraEdit-32\;C:\Program Files\CollabNet Subversion Server
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version 1.5.0_06-b05
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.5
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.5.0_06
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 1.5.0_06-b05
jdbc.library /C:/oracle/sqldeveloper/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\oracle\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/oracle/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\oracle\sqldeveloper\jdk\jre\lib\rt.jar;C:\oracle\sqldeveloper\jdk\jre\lib\i18n.jar;C:\oracle\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\oracle\sqldeveloper\jdk\jre\lib\jsse.jar;C:\oracle\sqldeveloper\jdk\jre\lib\jce.jar;C:\oracle\sqldeveloper\jdk\jre\lib\charsets.jar;C:\oracle\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\oracle\sqldeveloper\jdk\jre\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 2
user.country US
user.dir C:\oracle\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\ckell
user.language en
user.name ckell
user.timezone America/New_York
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.35 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.35 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.35 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.35 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.35 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.35 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.35 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.35 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.35 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.35 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.53.38 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.35 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.35 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.35 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.35 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.35 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.35 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.35 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.54.40 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.35 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.54.40 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.54.40 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.53.38 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.53.38 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.53.38 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.54.40 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.54.40 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.54.40 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 11.1.1.54.40 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.54.40 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.54.40 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.1.1.2 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.54.40 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.54.40 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.54.40 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.35 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.35 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.35 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.54.40 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.54.40 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.53.38 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.53.38 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.54.40 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.35 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.35 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.35 Disabled by user
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.35 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.35 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.35 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.35 Loadedhi...
Same problem, but as many tables as Chris.
Pat
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.5.0_06
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
here is the dump
Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):
"ProgressBarThread" prio=6 tid=0x04665e20 nid=0x2ac8 runnable [0x079af000..0x079
af9e8]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at oracle.net.ns.Packet.receive(Packet.java:239)
at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1023)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:999)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:584)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallabl
eStatement.java:782)
at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCalla
bleStatement.java:857)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1186)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java:3425)
- locked <0x11eaa750> (a oracle.jdbc.driver.T4CConnection)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(Oracle
PreparedStatementWrapper.java:1202)
at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:512)
at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:540)
at oracle.dbtools.raptor.navigator.ObjectQueryInstance.executeQuery(Obje
ctQueryInstance.java:76)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.getChildren(Xml
FolderInstance.java:122)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.listChildren(Xm
lFolderInstance.java:67)
at oracle.dbtools.raptor.navigator.ObjectFilter$1Loader.doWork(ObjectFil
ter.java:147)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
at java.lang.Thread.run(Thread.java:595)
"TextBufferScavenger" prio=6 tid=0x03a86620 nid=0x2ac4 in Object.wait() [0x078af
000..0x078afa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x11f73798> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x11f73798> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(Tex
tNode.java:1886)
"pool-1-thread-1" prio=6 tid=0x04a1eee8 nid=0x29f8 waiting on condition [0x071af
000..0x071afa68]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
.await(AbstractQueuedSynchronizer.java:1767)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.jav
a:359)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
va:470)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:674)
at java.lang.Thread.run(Thread.java:595)
"IconOverlayTracker Timer" prio=6 tid=0x039b5878 nid=0x29f4 in Object.wait() [0x
070af000..0x070afae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x11971f98> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x11971f98> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Timer-2" prio=6 tid=0x04a21540 nid=0x29f0 in Object.wait() [0x06faf000..0x06faf
b68]
at java.lang.Object.wait(Native Method)
- waiting on <0x11972010> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x11972010> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Native Directory Watcher" prio=2 tid=0x047c64c8 nid=0x29d4 runnable [0x05a8f000
..0x05a8fd68]
at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
at java.lang.Thread.run(Thread.java:595)
"IconOverlayTracker Timer" prio=6 tid=0x048b01d8 nid=0x29cc in Object.wait() [0x
0528f000..0x0528f9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x1105d9f0> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x1105d9f0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"IconOverlayTracker Timer" prio=6 tid=0x03876cc8 nid=0x29c8 in Object.wait() [0x
04fbf000..0x04fbfa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x1105da68> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:474)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x1105da68> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"TimerQueue" daemon prio=6 tid=0x03b23470 nid=0x2954 in Object.wait() [0x0436f00
0..0x0436fb68]
at java.lang.Object.wait(Native Method)
- waiting on <0x10733728> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:233)
- locked <0x10733728> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:595)
"AWT-EventQueue-0" prio=6 tid=0x03b047a0 nid=0x2950 in Object.wait() [0x041ff000
..0x041ffbe8]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:474)
at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
- locked <0x106c2968> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:189)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:208)
at oracle.ide.dialogs.ProgressRunnable.start(ProgressRunnable.java:116)
at oracle.dbtools.raptor.navigator.ObjectFilter.getChildren(ObjectFilter
.java:192)
at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer
.java:358)
at oracle.ideimpl.explorer.BaseTreeExplorer.open(BaseTreeExplorer.java:1
016)
at oracle.ideimpl.explorer.BaseTreeExplorer$4.run(BaseTreeExplorer.java:
2003)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
"AWT-Windows" daemon prio=6 tid=0x03ad7188 nid=0x2948 runnable [0x03fff000..0x03
fffce8]
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:269)
at java.lang.Thread.run(Thread.java:595)
"AWT-Shutdown" prio=6 tid=0x03ad6cb0 nid=0x2944 in Object.wait() [0x03eff000..0x
03effd68]
at java.lang.Object.wait(Native Method)
- waiting on <0x106c2a60> (a java.lang.Object)
at java.lang.Object.wait(Object.java:474)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x106c2a60> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)
"Java2D Disposer" daemon prio=6 tid=0x03acf268 nid=0x2940 in Object.wait() [0x03
dff000..0x03dff9e8]
at java.lang.Object.wait(Native Method)
- waiting on <0x106c2ae8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x106c2ae8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)
"Low Memory Detector" daemon prio=6 tid=0x00c64a48 nid=0x2934 runnable [0x000000
00..0x00000000]
"CompilerThread0" daemon prio=6 tid=0x00865008 nid=0x2930 waiting on condition [
0x00000000..0x034df84c]
"Signal Dispatcher" daemon prio=6 tid=0x00c612b0 nid=0x292c waiting on condition
[0x00000000..0x00000000]
"Finalizer" daemon prio=8 tid=0x00c58e58 nid=0x2928 in Object.wait() [0x032df000
..0x032dfce8]
at java.lang.Object.wait(Native Method)
- waiting on <0x106601f0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x106601f0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=6 tid=0x00c583b8 nid=0x2924 in Object.wait() [0x
031df000..0x031dfc68]
at java.lang.Object.wait(Native Method)
- waiting on <0x10660270> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x10660270> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00868828 nid=0x2914 waiting on condition [0x00000000..0x0012
fb70]
"VM Thread" prio=6 tid=0x00c188f0 nid=0x2920 runnable
"VM Periodic Task Thread" prio=6 tid=0x00c60fb8 nid=0x2938 waiting on condition -
SQL developer hangs on Win XP if not admin user
Hi, I just installed Oracle 11g on Win XP sp2, as admin user.
Things appear working, except for SQL Developer which runs fine only when logging in to XP as administrator.
If I log in as a normal user, then SQL Developer hangs forever just after being started up, eating 50% of CPU. Task manager is required to stop it.
A few more details: it hangs just after asking about file name associations, showing on the left panel the connection I did while being admin.
SQL Plus runs just fine in any case.
If I run the alternative version (sqldeveloper.exe), the involved window reports:
WARNING: Unknown directive: SetSkipJ2SDKCheck
Using oracle.home=C:\oracle\app\Admin\product\11.1.0\db_1\sqldeveloper
Using ide.user.dir=null
Addin: Translator PlSql is trying to register a input type (.plsql) which confli
cts with translator PlSql who already using this input type
28-gen-2009 16.49.18 oracle.jdbc.driver.OracleDriver registerMBeans
GRAVE: Error while registering Oracle JDBC Diagnosability MBean.
javax.management.InstanceAlreadyExistsException: com.oracle.jdbc:type=diagnosability,name=main11.0
at com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
then the ide windows hangs as reported above.
Any help is appreciated.- sqldev is slower - and yes my machine is fast
- sqldev needs a mouse; the keyboard shortcuts are severely lacking
- output window is separated from SQL window
- It doesn't show me anything I couldn't get to before by typing commands & using TextPad
As far as sqlplusw.exe vs sqlplus.exe, I won't get into that discussion- all I'll say is that the "workarounds" on the Internet have not addressed my concerns. (control-c exits by accident, having to edit every shortcut on every computer/server I touch which either needs admin elevation or shortcut copy/paste or both, etc)
Either way- thanks again to sperkmandl for the solution (running sqldev as non-administrative user)! I never run on my machine as local admin; I only elevate when needed. -
SQL Developer Hangs when connecting for Remote Debug
Hello,
I've been trying to use the Remote Debug feature of SQL Developer. We are writing a Web Application that connects to Oracle and I would like to debug a package function on the database server (which is not the same machine as my SQL Developer client).
To test my configuration, I tried connecting on SQLPlus creating a connection (by calling exec dbms_debug_jdwp.connect_tcp('xxx.xxx.xxx.xxx', 'xxxxx'); ) and calling a function which had a breakpoint and the debugging started immediately on SQL Developer. Then I tried putting the dbms_debug_jdwp.connect_tcp('xxx.xxx.xxx.xxx', 'xxxxx'); call inside the stored procedure I was debugging (prior to the line with the breakpoint) and it connected and got to the breakpoint successfully as well. So I'm pretty sure my firewall / user privileges are set up correctly.
So I modified the function that my web application eventually calls to create the connection (in order to remain in the same session) but whenever it gets to the connect_tcp line SQL Developer hangs and I'm unable to debug. I've realized that it only hangs if I have a breakpoint there. If I don't have a breakpoint then it creates a connection just fine. Of course without a breakpoint it's a bit difficult to debug isn't it? :)
My Sql Developer version is 3.0 and I'm connecting to Oracle 11.1.0 Below you can find a dump when running SqlDeveloper with console. My OS is windows XP and my Oracle instance is running on Linux.
I appreciate any help you can provide.
2012-01-27 16:08:30
Full thread dump Java HotSpot(TM) Client VM (11.0-b16 mixed mode):
"JDI Target VM Interface" daemon prio=6 tid=0x3398f800 nid=0x1574 runnable [0x3702f000..0x3702fa14]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at com.sun.tools.jdi.SocketConnection.readPacket(SocketTransportService.java:393)
- locked <0x097d3528> (a java.lang.Object)
at com.sun.tools.jdi.TargetVM.run(TargetVM.java:99)
at java.lang.Thread.run(Thread.java:619)
"JDI Internal Event Handler" daemon prio=6 tid=0x34a82c00 nid=0x15ac in Object.wait() [0x355ef000..0x355efa94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(EventQueueImpl.java:171)
- locked <0x097218d0> (a com.sun.tools.jdi.EventQueueImpl)
at com.sun.tools.jdi.EventQueueImpl.removeInternal(EventQueueImpl.java:106)
at com.sun.tools.jdi.InternalEventHandler.run(InternalEventHandler.java:36)
at java.lang.Thread.run(Thread.java:619)
"JPDA Listener" prio=6 tid=0x35806400 nid=0x7b8 runnable [0x3533f000..0x3533fd94]
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked <0x095ec870> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.sun.tools.jdi.SocketTransportService.accept(SocketTransportService.java:330)
at com.sun.tools.jdi.GenericListeningConnector.accept(GenericListeningConnector.java:136)
at oracle.jdevimpl.debugger.jdi.DebugJDIConnectorListen.run(DebugJDIConnectorListen.java:127)
at java.lang.Thread.run(Thread.java:619)
"Native Directory Watcher" prio=2 tid=0x35e47c00 nid=0x170c runnable [0x34fef000..0x34fefa14]
java.lang.Thread.State: RUNNABLE
at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
at java.lang.Thread.run(Thread.java:619)
"Background Parser" prio=6 tid=0x35c4a800 nid=0x17e0 waiting on condition [0x3832f000..0x3832fa14]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:139)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:619)
"status-0" prio=2 tid=0x35d54400 nid=0x1208 waiting on condition [0x3812f000..0x3812fc14]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x064a8cf0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:160)
at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:329)
at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:291)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"Background Parser" prio=6 tid=0x35dde800 nid=0xa00 waiting on condition [0x3782f000..0x3782fb14]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:139)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:619)
"WeakDataReference polling" prio=2 tid=0x35f59c00 nid=0x1144 in Object.wait() [0x3802f000..0x3802fb14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x08554ba8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x08554ba8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at oracle.ide.util.WeakDataReference$Cleaner.run(WeakDataReference.java:88)
at java.lang.Thread.run(Thread.java:619)
"Background Parser" prio=6 tid=0x35d00400 nid=0xe1c waiting on condition [0x37e2f000..0x37e2fc94]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:139)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:619)
"TextBufferScavenger" prio=6 tid=0x35df1c00 nid=0xabc in Object.wait() [0x37c2f000..0x37c2fd94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x0842dfe0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x0842dfe0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(TextNode.java:1949)
"pool-4-thread-1" prio=6 tid=0x33a11c00 nid=0x444 waiting on condition [0x33f0f000..0x33f0fa94]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x07ba2040> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"IconOverlayTracker Timer" prio=6 tid=0x3491a000 nid=0x1750 in Object.wait() [0x3792f000..0x3792fb94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x07b36968> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Timer queue for AWT thread" daemon prio=6 tid=0x34913c00 nid=0xdfc in Object.wait() [0x3772f000..0x3772fd94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x075b5cc8> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
- locked <0x075b5cc8> (a java.lang.Object)
at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
"WaitCursor-Timer" prio=6 tid=0x35ca5800 nid=0x1230 in Object.wait() [0x3752f000..0x3752fa14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x0719c1c0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Timer queue for AWT thread" daemon prio=6 tid=0x35a1f800 nid=0x1444 in Object.wait() [0x3692f000..0x3692fb14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x0719c240> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at ice.util.awt.TimedAWTExecutor.nextElem(TimedAWTExecutor.java:108)
- locked <0x0719c240> (a java.lang.Object)
at ice.util.awt.TimedAWTExecutor.runScheduler(TimedAWTExecutor.java:130)
at ice.util.awt.TimedAWTExecutor$1.run(TimedAWTExecutor.java:19)
"pool-2-thread-1" prio=6 tid=0x35a75800 nid=0x135c waiting on condition [0x3742f000..0x3742fc14]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x06d72e80> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x359c6800 nid=0x1618 waiting on condition [0x3732f000..0x3732fc94]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x06d492a8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"Scheduler" daemon prio=6 tid=0x35a44400 nid=0x131c in Object.wait() [0x3722f000..0x3722fd14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x06d493e0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
at java.lang.Object.wait(Object.java:485)
at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
- locked <0x06d493e0> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:429)
"Thread-8" daemon prio=6 tid=0x35a01400 nid=0x1390 in Object.wait() [0x3712f000..0x3712fd94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x06d49460> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x06d49460> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at org.tmatesoft.svn.core.javahl.SVNClientImplTracker.run(SVNClientImplTracker.java:65)
at java.lang.Thread.run(Thread.java:619)
"ChangeSetService" prio=2 tid=0x3595dc00 nid=0x11d8 in Object.wait() [0x3682f000..0x3682fa94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x06a26d80> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
at java.lang.Object.wait(Object.java:485)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
- locked <0x06a26d80> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
at java.lang.Thread.run(Thread.java:619)
"Thread-6" daemon prio=6 tid=0x3590e400 nid=0x1520 runnable [0x36b2f000..0x36b2fb14]
java.lang.Thread.State: RUNNABLE
at sun.print.Win32PrintServiceLookup.notifyPrinterChange(Native Method)
at sun.print.Win32PrintServiceLookup.access$100(Win32PrintServiceLookup.java:32)
at sun.print.Win32PrintServiceLookup$PrinterChangeListener.run(Win32PrintServiceLookup.java:302)
"TimerQueue" daemon prio=6 tid=0x330a9c00 nid=0x11b0 in Object.wait() [0x3672f000..0x3672fc94]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at javax.swing.TimerQueue.run(TimerQueue.java:236)
- locked <0x06887680> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:619)
"TimedCache-Timer" daemon prio=6 tid=0x33a85000 nid=0x76c in Object.wait() [0x3460f000..0x3460fa94]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x05f36890> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x05f36890> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"JarIndex Timer" daemon prio=6 tid=0x33a83c00 nid=0x15a8 in Object.wait() [0x3410f000..0x3410fb14]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x05e824b0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"AWT-EventQueue-0" prio=6 tid=0x33a6a400 nid=0x15e8 in Object.wait() [0x3400f000..0x3400fb94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:281)
- locked <0x02fa0320> (a com.sun.tools.jdi.Packet)
at com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:1015)
at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:51)
at com.sun.tools.jdi.JDWP$Method$LineTable.waitForReply(JDWP.java:3651)
at com.sun.tools.jdi.JDWP$Method$LineTable.process(JDWP.java:3627)
at com.sun.tools.jdi.ConcreteMethodImpl.getBaseLocations(ConcreteMethodImpl.java:343)
at com.sun.tools.jdi.ConcreteMethodImpl.getLocations(ConcreteMethodImpl.java:262)
at com.sun.tools.jdi.ConcreteMethodImpl.locationsOfLine(ConcreteMethodImpl.java:120)
at com.sun.tools.jdi.ReferenceTypeImpl.locationsOfLine(ReferenceTypeImpl.java:893)
at oracle.jdevimpl.debugger.jdi.DebugJDI.getLocationsOfLine(DebugJDI.java:5254)
at oracle.jdevimpl.debugger.jdi.DebugJDIBreakpointFileLine.verify(DebugJDIBreakpointFileLine.java:71)
at oracle.jdevimpl.debugger.jdi.DebugJDIBreakpointPackageFileLine.verify(DebugJDIBreakpointPackageFileLine.java:83)
at oracle.jdevimpl.debugger.jdi.DebugJDI.breakpointAfterChange(DebugJDI.java:2546)
- locked <0x09721d70> (a oracle.jdevimpl.debugger.jdi.DebugJDI)
at oracle.jdevimpl.debugger.jdi.DebugJDIBreakpoint.afterChange(DebugJDIBreakpoint.java:386)
at oracle.jdevimpl.debugger.jdi.DebugJDI.putBreakpoint(DebugJDI.java:2426)
- locked <0x09721d70> (a oracle.jdevimpl.debugger.jdi.DebugJDI)
at oracle.jdevimpl.debugger.jdi.DebugJDI.putBreakpointPackageFileLine(DebugJDI.java:893)
- locked <0x09721d70> (a oracle.jdevimpl.debugger.jdi.DebugJDI)
at oracle.jdevimpl.runner.debug.Breakpoint.putBreakpoint(Breakpoint.java:1701)
at oracle.jdevimpl.runner.debug.DebuggingProcess.afterConnection(DebuggingProcess.java:1352)
at oracle.jdevimpl.runner.debug.DebuggingProcess.accept(DebuggingProcess.java:1704)
at oracle.jdevimpl.runner.debug.DebuggingListener$2.run(DebuggingListener.java:231)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
"AWT-Windows" daemon prio=6 tid=0x33a64000 nid=0x12e8 runnable [0x33e0f000..0x33e0fc94]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:291)
at java.lang.Thread.run(Thread.java:619)
"AWT-Shutdown" prio=6 tid=0x33a31c00 nid=0xd4c in Object.wait() [0x33d0f000..0x33d0fd14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x05e826a0> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x05e826a0> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" daemon prio=10 tid=0x33a41400 nid=0x1294 in Object.wait() [0x33c0f000..0x33c0fd94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x05e82730> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x05e82730> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)
"Low Memory Detector" daemon prio=6 tid=0x33076000 nid=0x688 runnable [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x3306fc00 nid=0x910 waiting on condition [0x00000000..0x336df7bc]
java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x3306e400 nid=0x162c runnable [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x3306d000 nid=0x17a4 waiting on condition [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x3305d400 nid=0xe3c in Object.wait() [0x333df000..0x333dfc94]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x05e00298> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x05e00298> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x33058800 nid=0x1228 in Object.wait() [0x332df000..0x332dfd14]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x05e00320> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00bc7c00 nid=0x10e0 waiting on condition [0x00000000..0x0012fae8]
java.lang.Thread.State: RUNNABLE
"VM Thread" prio=10 tid=0x33055000 nid=0x194 runnable
"VM Periodic Task Thread" prio=10 tid=0x33077800 nid=0xfd0 waiting on condition
JNI global references: 2649
Heap
def new generation total 9216K, used 3904K [0x02cd0000, 0x036c0000, 0x05e00000)
eden space 8256K, 35% used [0x02cd0000, 0x02fb0330, 0x034e0000)
from space 960K, 100% used [0x035d0000, 0x036c0000, 0x036c0000)
to space 960K, 0% used [0x034e0000, 0x034e0000, 0x035d0000)
tenured generation total 121024K, used 61455K [0x05e00000, 0x0d430000, 0x2acd0000)
the space 121024K, 50% used [0x05e00000, 0x09a03eb0, 0x09a04000, 0x0d430000)
compacting perm gen total 71168K, used 70950K [0x2acd0000, 0x2f250000, 0x32cd0000)
the space 71168K, 99% used [0x2acd0000, 0x2f219bf8, 0x2f219c00, 0x2f250000)
No shared spaces configured.
Edited by: 910659 on Jan 27, 2012 7:45 AMWhat I mean is that I put the connect_tcp command inside the package function I want to debug in order to ensure it's going to remain in the same session. e.g.:
Function GetValue Return Varchar2 Is
Begin
dbms_debug_jdwp.connect_tcp('xxx.xxx.xxx.xxx', '25255');
return 'My Value';
End;
I'm afraid I cannot post our code which causes this problem due to our information security policies and simple console and web applications failed to replicate the problem. The function creates a connection to Oracle SQL Developer (which can be seen in the environment with the small ladybug icon) if no breakpoints are set which obviously doesn't allow breaking into the function. However if a breakpoint is also specified in the Return line the connection seems to freeze Oracle SQL Developer. No ladybug icon is shown and no Remote Debug Session seems to open. -
Folks,
I'm running production SQL Developer on Oracle Linux 5.8 and whenever I click the Java link in the Connections Navigator with a SYS AS SYSDBA connection SQL Developer hangs.
Oracle Enterprise Edition 11.2.0.1.0
SQLDeveloper 4.0.0.13.80
Oracle Linux 6
JDK Version 1.7.0_45
Doing the same thing with user SCOTT (no SYSDBA) works fine (although there are not any Java objects).
Thanks,
RichThis has been logged as a bug.
The bad plan/performance has been logged as a bug. SQL Developer didn't hang for me - I was able to cancel the query using the Task Progress panel. -
SQL Developer hangs periodically
Hi,
I'm connecting to my test instance (Oracle XE) and each 5mins-10mins SQL Developer hangs. It doesn't matter what I'm doing, I can be executing a big query or I wasn't doing anything for a while and then simply consulting Columns of a table and hangs...
I saw the underlying error is:
oracle.javatools.util.CanceledException
at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:568)
at oracle.dbtools.raptor.utils.DBObject.getConnection(DBObject.java:323)
at oracle.dbtools.raptor.utils.DBObject.getConnection(DBObject.java:435)
at oracle.dbtools.raptor.oviewer.base.ViewerEditorAddin.getEditorWeight(...
What may I check?
Any help will be appreciated.
JosepIs this what you mean?
bq. Oracle SQL Developer \\ + Copyright (c) 2008, Oracle. All rights reserved.+ \\ + Locking assertion failure. Backtrace:+ \\ + #0 /usr/lib/libxcb-xlib.so.0 [0x8c900767]+ \\ + #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x8c9008b1]+ \\ + #2 /usr/lib/libX11.so.6(_XReply+0xfd) [0x8bdb31bd]+ \\ + #3 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x8c0738ce]+ \\ + #4 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x8c050067]+ \\ + #5 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x8c050318]+ \\ + #6 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0x8c05061f]+ \\ + #7 [0xb4d413aa]+ \\ + #8 [0xb4d39f0d]+ \\ + #9 [0xb4d39f0d]+ \\ + #10 [0xb4d37249]+ \\ + #11 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x637338d]+ \\ + #12 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x64fd168]+ \\ + #13 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x6373220]+ \\ + #14 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x363) [0x63c90d3]+ \\ + #15 /opt/middleware/jdk160_05/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7d5296d]+ \\ + #16 [0xb4d413aa]+ \\ + #17 [0xb4d39da7]+ \\ + #18 [0xb4d37249]+ \\ + #19 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x637338d]+ \\ + Locking assertion failure. Backtrace:+ \\ + #0 /usr/lib/libxcb-xlib.so.0 [0x8c900767]+ \\ + #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0x8c90081e]+ \\ + #2 /usr/lib/libX11.so.6 [0x8bdb2518]+ \\ + #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x8bda90a6]+ \\ + #4 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x8c04f319]+ \\ + #5 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x8c04f565]+ \\ + #6 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so [0x8c0503c9]+ \\ + #7 /opt/middleware/jdk160_05/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0x8c05061f]+ \\ + #8 [0xb4d413aa]+ \\ + #9 [0xb4d39f0d]+ \\ + #10 [0xb4d39f0d]+ \\ + #11 [0xb4d37249]+ \\ + #12 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x637338d]+ \\ + #13 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x64fd168]+ \\ + #14 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so [0x6373220]+ \\ + #15 /opt/middleware/jdk160_05/jre/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x363) [0x63c90d3]+ \\ + #16 /opt/middleware/jdk160_05/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7d5296d]+ \\ + #17 [0xb4d413aa]+ \\ + #18 [0xb4d39da7]+ \\ + #19 [0xb4d37249]+ \\ + Parse time = 258+ \\ + Incremental Parse time = 99+ \\ + Incremental Parse time = 7+ \\ + InsightableOracleDatabase.fetch() time = 49+
Thanks
Josep -
Hi All,
I have a java program which runs sql loader in a timer. That is the sql loader is used to load some tables with the data contained in a flat file. And I want this to be run every night.
I am using Runtime class to initiate a process which will invoke the sql loader. This works fine when I directly call my function in main.
But since I want this to run every night, I decided to invoke it thru the timer class. And when I do that the sql loader hangs and I have to terminate the process manually.
Is there any solution for the above problem?
Any help will be appreciated.
Regards,
ChitraJust to give a lil bit more added clarity on the issue.
The requirement is like this. I have a flat file which needs to be uploaded to a database periodically. Every 24hrs. Now I am using Oracles SQL Loader to upload the data flat file. I am calling SQL loader from with a java program using Runtime class. Now I initiated this using a standard Java application and put it in the main class. It works fine. Now since I needed to have this running every 24hrs I used a Timer class to set the timer and to have it running evry 24 hrs. Now if I execute the same class above within the timer class, the SQL loader pops up in a new window and the program does not complete the execution. It just hangs. Which requires for me to terminate the process manually. All the data in the flat file is uploaded to the database but that is shown only after the proecess is treminated. Is there any solution for this ? Or does anyone have any idea as to why this is happenin ?
heres the code that I have written.
public class RmsDataLoader
Toolkit toolkit;
Timer timer;
public RmsDataLoader()
toolkit = Toolkit.getDefaultToolkit();
timer = new Timer();
timer.schedule(new RMSJobThread(),
0, //initial delay
24*60*60*1000); //subsequent rate
public static void main(String[] args)
RmsDataLoader rms = new RmsDataLoader();
class RMSJobThread extends TimerTask
public RMSJobThread()
public void run()
RMSJob rmsjob = new RMSJob();
rmsjob.runJob();
and the function in runJob is
public void runJob (String errorlog) {
try {
// Validation 1 : The datafile exists and the file size is not 0
String strDataFile = "W:\\rms_amps\\" + todayDate + "\\inv_company_label.dat";
File dataFile = new File(strDataFile);
if(!dataFile.exists()){
rmsExp.createLog(filename, filename, " Data File does not exist", todayDate);
} else {
long len = dataFile.length();
if (len <= 0) {
rmsExp.createLog(filename, filename, " File size is 0 ", todayDate);
// End of Validation 1
// create a process to invoke sql loader
Process process = Runtime.getRuntime().exec("sqlldr USERID=scott@umidb/tiger CONTROL=load_company_label.ctl LOG=load_company_label.log BAD=inv_company_label.bad DATA=inv_company_label.dat");
return ;
} catch (Exception ei) {
rmsExp.createLog(filename, filename, ei.getMessage() , todayDate);
ei.printStackTrace();
System.out.println (" Error while initiating the data loading " );
return ; -
SQL Developer hangs for a few minutes after being idle for a while.
Is anyone aware of any issues with SQL Developer hanging for several minutes after being idle for several hours? After being idle for several hours (and probably minimized), when we bring up SQL Developer we just get a blank white window for several minutes before it becomes functional. Obviously, this isn't a critical issue, but sure is annoying when you run into it.
Thanks in advance!!
RobThis is fairly typical java application behaviour. For whatever reason, they are particularly prone to being swapped out by the operating system and take time to swap back in.
There is an add-in around called "keepresident" which helps this but I thought it had been superceded in later JDK version. -
Calling a remote procedure with db link - SQL Plus hangs
I am trying to call a procedure from a remote database with a db link, within a local procedure. The purpose of the calling the procedure is to get the server time from that database. When I try to compile this procedure on the local database SQL Plus hangs without giving any error message, I have to close SQL Plus. Below are my two procedures:
Local procedure:
CREATE OR REPLACE PROCEDURE get_server_time(p_remotetime IN OUT VARCHAR2)
IS
/*Grabs the system time from remote database .
l_remotetime varchar2(16) ;
BEGIN
get_remote_time(l_remotetime);
p_remotetime := l_remotetime;
END ;
Remote procedure:
CREATE OR REPLACE PROCEDURE get_remote_time(p_remotetime in out VARCHAR2)
IS
/* Grabs the system time from remote database and returns it to the
calling proc.
l_remotetime varchar2(16) ;
BEGIN
SELECT to_char(sysdate,'YYYYMMDDHH24MISS')
INTO l_remotetime
FROM dual ;
p_remotetime := l_remotetime ;
END ;
I personaly do not see anything unusall with the two procedures, but cant figure out what is making SQL*Plus hang.
Any help would be much appreciated.
Thanks In AdvanceHello
Are you able to run the procedure connected to the livetolocal database directly? It looks as if you either have a missing table or the permisions for the user associated with the database link are not sufficient.
As for calling the procedure, it would probably be more managable if you created a public synonym for it to hide the actual location. That way if you want to change the name of the DB link, or where it points to, no-one has to change their code, you just have to change the synonym.
HTH
David -
SQL*PLUS Hangs when I have the Listener running?
HI,
I have Oracle 8i Personal Edition running on Win 98. I am using the default starter database (Global Name: oracle, SID orcl).
If I connect via SQL*Plus with the listener running i.e. connect scott/tiger@oracle, and then try to compile or call a stored produre SQL*Plus hangs. If I connect without the listener running i.e. connect scott/tiger everything works fine.
Does anyone have any ideas why this is happening?
Thanks in advance
Marktry posting your code here, that way we might be able to help you more.
-
Sql statement hanging in prod. fast in dev.
Hi,
Sql statement is hanging in production.
In development it is executing in 2 secs.
From explainplan , noticed that taking different indexes.
I have posted the staement and explain plan (prod and dev) below.
Statement:
SELECT
REP_V_SERVICE_REQUEST.SERVICE_REQ_ID,
REP_V_ACTIVITY.EXTERNAL_REF,
REP_V_ACTIVITY.VENUS_PROBLEM_START,
REP_V_ACTIVITY.VENUS_ALERT_ISSUED,
REP_V_ACTIVITY.VENUS_NOTIFIED,
REP_V_ACTIVITY.ACTIVITY_ID,
REP_V_ACTIVITY.CREATED_BY_WORKGROUP,
REP_V_ACTIVITY.ABSTRACT,
REP_V_ACTIVITY.TIME_TO_VENUS_ALERT,
REP_V_ACTIVITY.TIME_TO_VENUS_ISSUE,
REP_V_ACTIVITY.TIME_TO_VENUS_NOTIFIED,
REP_V_SERVICE_REQUEST.TYPE,
REP_V_SERVICE_REQUEST.SUB_TYPE,
REP_V_SERVICE_REQUEST.CLASSIFICATION_TYPE,
REP_V_SERVICE_REQUEST.CLASSIFICATION_SUB_TYPE,
( REP_V_SERVICE_REQUEST.TIME_OPENED ),
REP_V_SERVICE_REQUEST.CREATED_BY_WORKGROUP,
REP_V_ACTIVITY.VENUS_SENT_TO_SDN,
SR_RESOLVER_WG.WORKGROUP
FROM
REP_V_SERVICE_REQUEST,
REP_V_ACTIVITY,
REP_V_WORKGROUP SR_RESOLVER_WG
WHERE
( SR_RESOLVER_WG.WORKGROUP_ID=REP_V_SERVICE_REQUEST.RESOLUTION_GROUP_ID )
AND ( REP_V_ACTIVITY.SERVICE_REQUEST_ROW_ID=REP_V_SERVICE_REQUEST.SERVICE_REQUEST_ROW_ID )
AND (
REP_V_ACTIVITY.PLANNED_START_TIME BETWEEN '01-JAn-2006' AND '19-Jun-2006'
AND REP_V_ACTIVITY.VENUS_PROBLEM_STATUS NOT IN ('Information', 'Planned')
AND REP_V_ACTIVITY.VENUS_ALERT_STATUS != 'Withdrawn'
AND REP_V_ACTIVITY.CREATED_BY_WORKGROUP LIKE '%SSHD%'
AND REP_V_ACTIVITY.STATUS != 'Cancelled'
AND REP_V_ACTIVITY.CREATED_BY_WORKGROUP NOT LIKE 'GLO_SSHD_MTC'
Exp. plan(prod)
24 SELECT STATEMENT
23 NESTED LOOPS (OUTER)
21 NESTED LOOPS (OUTER)
19 NESTED LOOPS
16 NESTED LOOPS
13 NESTED LOOPS
10 NESTED LOOPS (OUTER)
8 NESTED LOOPS
5 NESTED LOOPS
2 TABLE ACCESS (BY INDEX ROWID), S_ORG_EXT (SIEBEL)
1 INDEX (FULL SCAN), S_ORG_EXT_F13 (SIEBEL)
4 TABLE ACCESS (BY INDEX ROWID), S_BU (SIEBEL)
3 INDEX (UNIQUE SCAN), S_BU_P1 (SIEBEL)
7 TABLE ACCESS (BY INDEX ROWID), S_SRV_REQ (SIEBEL)
6 INDEX (RANGE SCAN), S_SRV_REQ_U2 (SIEBEL)
9 INDEX (UNIQUE SCAN), S_SRV_REGN_P1 (SIEBEL)
12 TABLE ACCESS (BY INDEX ROWID), SERVICE_REQUEST (CRMREP_REP)
11 INDEX (UNIQUE SCAN), PK_SR (CRMREP_REP)
15 TABLE ACCESS (BY INDEX ROWID), S_EVT_ACT (SIEBEL)
14 INDEX (RANGE SCAN), S_EVT_ACT_F14 (SIEBEL)
18 TABLE ACCESS (BY INDEX ROWID), ACTIVITY (CRMREP_REP)
17 INDEX (UNIQUE SCAN), PK_A (CRMREP_REP)
20 INDEX (RANGE SCAN), S_EVT_MAIL_U1 (SIEBEL)
22 INDEX (RANGE SCAN), S_EVT_ACT_X_U1 (SIEBEL
Exp plan(Dev):
24 SELECT STATEMENT
23 NESTED LOOPS (OUTER)
21 NESTED LOOPS (OUTER)
19 NESTED LOOPS
16 NESTED LOOPS
13 NESTED LOOPS (OUTER)
11 NESTED LOOPS
8 NESTED LOOPS
5 NESTED LOOPS
2 TABLE ACCESS (BY INDEX ROWID), S_EVT_ACT (SIEBEL)
1 INDEX (RANGE SCAN), S_EVT_ACT_M8 (SIEBEL)
4 TABLE ACCESS (BY INDEX ROWID), S_SRV_REQ (SIEBEL)
3 INDEX (UNIQUE SCAN), S_SRV_REQ_P1 (SIEBEL)
7 TABLE ACCESS (BY INDEX ROWID), S_ORG_EXT (SIEBEL)
6 INDEX (UNIQUE SCAN), S_ORG_EXT_U3 (SIEBEL)
10 TABLE ACCESS (BY INDEX ROWID), S_BU (SIEBEL)
9 INDEX (UNIQUE SCAN), S_BU_P1 (SIEBEL)
12 INDEX (UNIQUE SCAN), S_SRV_REGN_P1 (SIEBEL)
15 TABLE ACCESS (BY INDEX ROWID), SERVICE_REQUEST (REPORT)
14 INDEX (UNIQUE SCAN), PK_SR (REPORT)
18 TABLE ACCESS (BY INDEX ROWID), ACTIVITY (REPORT)
17 INDEX (UNIQUE SCAN), PK_A (REPORT)
20 INDEX (RANGE SCAN), S_EVT_MAIL_U1 (SIEBEL)
22 INDEX (RANGE SCAN), S_EVT_ACT_X_U1 (SIEBEL)
I checked the v$session_wait while it is hanging,
It is waiting for table s_evt_act (prod. 1.6 crores,dev. 1 crore)
In development it is accessing S_EVT_ACT_M8 (SINGLE COLUMN)index,in production
it is accessing S_EVT_ACT_F14(COMBN. TWO COLUMNS BUT DIFFERENT FROM PRODUCTION).
Thanks,
kumar.This query is not executing for last 5 to 6 months.
I am new to this issue.
pls find the outof v$session_event for this session.
It is waiting for db file sequential read and the wait is keep on increasing.
SID EVENT TOTAL_WAITS TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAIT MAX_WAIT TIME_WAITED_MICRO
43 db file sequential read 141459 0 130565 1 66 1305647401
43 db file scattered read 77437 0 54259 1 466 542587342
43 direct path write 1222 0 867 1 26 8671937
43 buffer busy waits 570 0 318 1 4 3175286
43 SQL*Net message to client 339 0 0 0 0 866
43 SQL*Net message from client 338 0 84716 251 32623 847156015
43 latch free 14 12 6 0 2 59905
43 direct path read 6 0 1 0 0 12290
43 log file sync 1 0 0 0 0 2268 -
Sql Developer hangs/ crashes while debugging
While happily debugging a piece of an SQL package using the remote debugger, I get a hang/crash on SQL devleoper. This occurs when I highlight a piece of code in the debugging window. The application freezes and has to be restarted using WindowsTaskManager.
Is this a reported bug? I was not able to find any discussion on the OTN forums or a quick google.
Regards,
Bill
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
Version
Component Version
========= =======
Java(TM) Platform 1.7.0_17
Oracle IDE 3.2.20.09.87
Versioning Support 3.2.20.09.87
OS is Windows XP
Edited by: BillArms_GS on May 30, 2013 12:41 PMWe monitor these forums, but it's a unofficial place for bugs to be reported. Enhancements and bugs can be reported to My Oracle Support. You can also post your ideas up for other users to vote up at http://sqldeveloper.oracle.com
And thanks -
RWB status 'delivering' and SQL process hangs
I am sending an IDOC to SQL Server thro XI using JDBC adapter. I am triggering a stored procedure to update SQL tables. The RWB status says 'delivering', sxmb_moni says 'successful' and all the steps are success in audit log. The status 'delivering' is not changing to sucessful.
When i look at SQL-server side, the process is in sleeping mode. I have verified the stored procedure and it was executed sucessfully. After the COMMIT TRAN, RETURN(0) statments, the process is going to 'sleeping' mode. The @@trancount is 2. If I double click the process, the sql statement is 'IF @@TRANCOUNT > 0 COMMIT TRAN'. This process hangs at this step and it is not accepting the next message. If I kill the process, the stored procedure is executed once and its going to sleep mode and not returning the status to XI to make the flow complete or to change the status to successful.
Thanks.HI Shankar ,
Its seems that there might be some problem in your srored procedure.Did u tried to use some other stored procedure.I assume that you have uploaded the right version of driver for SQL server you are using.Remember JDBC adapter is vendor and version dependent.
You can also look at the JDBC : FAQ at service market place.
Thanx & Regards
Vinod -
SQL Developer hangs after each query
I have a strange situation that just started. After every query, SQL Developer 3.0.02 just hangs for about 20 seconds and then returns to normal. The times displayed for the query completion are correct - it's just the UI freeze. I am running under Vista against a 10R2 database. All was working fine since 1/13/11 until last Friday. Running with the included JDK.
Any idea what changed?This could be related to a problem with SQL History. If you have SQL History open, it can slow things down drastically.
Maybe you are looking for
-
when i try to display some special char, e.g '�' (ascii code 196 )in java it cannot display. The char is correctlly store in java. why cannot dispaly ?? could any one give my some idea ?
-
DIFFERENT type of mms problem (receivers can't view)
Hey all, I have a different mms problem after updating my 3GS to ios 4... Seems I can send mms and videos just fine, however the end receiver just sees a still image and hears the audio. I've done a lot of tests with this, and my wife's 3GS does the
-
Access Oracle Service Bus objects from within a PBL program
Followed instructions from Studio Reference documentation for cataloging Oracle Service Bus objects and embedded sample code but encountered http 404 not found error. Is there anyway to trace the call made to the Service Bus? I change the log message
-
Problem in task list uploading through lsmw
Hi, Can someone please tell me how to upload a task list through lsmw wherein my description for the task list has been maintained in English but the operation description is maintained in Thai language.Due to description being maintained in Thai la
-
CS4 eye dropper values disappear after grouping mask layer with next layer
Have an adjustment/curve with a mask (layer1). Under layer 1 is a second layer with just an image needing color correction(layer2). When I group the top layer1 with image layer2, the colour values disappear in the info pallette. Never did this in