SqlDeveloper 1.5.1 Problems

Hi all.
I just installed the sql Developer 1.5.1 with the jdk oracle is proposing.
I have two problems
1.With 1.2.1 developer to view the tables in my database around 400-500 took 10-25 secs with the new one take minutes any ideas.
2.The code insight for table does't work in the followring case.
User A owns the table tA.
User B has a synonym to table tA and select/insert/update/delete priviledges.
When i connect as user A all code insight for the table tA works
When i connect as user B and try tA"." it doesn't bring me the collumns of the table.
In 1.2.1 it works ok
Any ideas.
Thanks a lot

Seems a shame that helping should be thought of like that "(distribution / reverse engineering)", but anyway, my solution was to update the table.xml file and repackage the jar with the new queries. The location of the jar and file are :
jar location on my machine: D:\dev\env\sqldeveloper\sqldeveloper\extensions\oracle.sqldeveloper.jar
path to the table.xml file within the jar : oracle->dbtools->raptor->navigator->table.xml
and the updated xml is :
<pre>
<?xml version="1.0" encoding="windows-1252" ?>
<navigator RESOURCE_FILE="oracle.dbtools.raptor.navigator.OracleNavigatorResource"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="navigator.xsd">
<objectType connType="Oracle" id="TABLE" weight="100.0" includesSyns="true">
<folder>
<icon RSKEY="TABLE_FOLDER_ICON"/>
<label RSKEY="TABLE_LABEL"/>
<queries id="nav.tables.queries">
<query minversion="10" id="nav.tables.query.10">
<sql constrained="false">
<![CDATA[
select * from (
select o.OBJECT_NAME,
o.OBJECT_ID ,
'' short_name,
( SELECT partitioned FROM sys.all_tables where owner(+) = o.owner and table_name(+) = o.object_name ) AS partitioned,
( SELECT iot_type FROM sys.all_tables where owner(+) = o.owner and table_name(+) = o.object_name ) AS iot_type,
o.OWNER OBJECT_OWNER,
o.CREATED,
o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O
WHERE 1=1
AND O.OWNER = :SCHEMA
AND O.OBJECT_TYPE = (select 'TABLE' from dual)
AND O.GENERATED = (select 'N' from dual)
AND O.OBJECT_NAME NOT IN ( SELECT OBJECT_NAME FROM RECYCLEBIN )
AND NOT EXISTS (SELECT 1 FROM SYS.ALL_MVIEWS WHERE MVIEW_NAME = O.OBJECT_NAME AND OWNER = O.OWNER)
     AND NOT EXISTS (SELECT 1 from all_queue_tables WHERE QUEUE_TABLE = O.OBJECT_NAME AND OWNER = O.OWNER)
AND not ( object_name like 'AQ$_%_G'
or object_name like 'AQ$_%_H'
or object_name like 'AQ$_%_I'
or object_name like 'AQ$_%_S'
or object_name like 'AQ$_%_T' )
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn,sys.all_tables t
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_name = t.table_name
and o.owner = t.owner
and o.object_type = (SELECT 'TABLE' FROM DUAL)
and :INCLUDE_SYNS = 1
and :SCHEMA = USER
AND O.GENERATED = 'N'
AND O.OBJECT_NAME NOT IN ( SELECT OBJECT_NAME FROM RECYCLEBIN)
]]>
</sql>
</query>
<query minversion="9" id="nav.tables.query.9">
<sql constrained="false">
<![CDATA[
select
* from (
select o.OBJECT_NAME,
o.OBJECT_ID ,
'' short_name,
( SELECT partitioned FROM sys.all_tables where owner(+) = o.owner and table_name(+) = o.object_name ) AS partitioned,
( SELECT iot_type FROM sys.all_tables where owner(+) = o.owner and table_name(+) = o.object_name ) AS iot_type,
o.OWNER OBJECT_OWNER,
o.CREATED,
o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O
WHERE 1=1
AND O.OWNER = :SCHEMA
AND O.OBJECT_TYPE = (select 'TABLE' from dual)
AND O.GENERATED = (select 'N' from dual)
AND NOT EXISTS (SELECT 1 FROM SYS.ALL_MVIEWS WHERE MVIEW_NAME = O.OBJECT_NAME AND OWNER = O.OWNER)
     AND NOT EXISTS (SELECT 1 from all_queue_tables WHERE QUEUE_TABLE = O.OBJECT_NAME AND OWNER = O.OWNER)
AND not ( object_name like 'AQ$_%_G'
or object_name like 'AQ$_%_H'
or object_name like 'AQ$_%_I'
or object_name like 'AQ$_%_S'
or object_name like 'AQ$_%_T' )
union all
SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
t.partitioned,t.iot_type, SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED, o.LAST_DDL_TIME
FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn,sys.all_tables t
WHERE syn.table_owner = o.owner
and syn.TABLE_NAME = o.object_NAME
and o.object_name = t.table_name
and o.owner = t.owner
and o.object_type = (SELECT 'TABLE' FROM DUAL)
and :INCLUDE_SYNS = 1
and :SCHEMA = USER
AND O.GENERATED = 'N'
]]>
</sql>
</query>
<query minversion="8" id="nav.tables.query.8">
<sql constrained="false">
<![CDATA[select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
                                OWNER OBJECT_OWNER, CREATED
              FROM SYS.ALL_OBJECTS O
              WHERE O.OWNER = :SCHEMA AND
              O.OBJECT_TYPE = 'TABLE' 
               union all
                 SELECT OBJECT_NAME, OBJECT_ID , syn.SYNONYM_NAME short_NAME,
                                SYN.TABLE_OWNER OBJECT_OWNER, o.CREATED
              FROM SYS.ALL_OBJECTS O, sys.user_synonyms syn
              WHERE  syn.table_owner = o.owner
              and :SCHEMA = USER
              and    syn.TABLE_NAME = o.object_NAME
              and    o.object_type = 'TABLE'
              and :INCLUDE_SYNS = 1 )
              ]]>
</sql>
</query>
<binds></binds>
<columns>
<column id="ID">
<colName>
<![CDATA[OBJECT_ID]]>
</colName>
</column>
<column filterable="true" sortable="true" id="NAME">
<colName>
<![CDATA[OBJECT_NAME]]>
</colName>
</column>
<column filterable="true" sortable="true" id="INTERNAL_NAME">
<colName>
<![CDATA[SHORT_NAME]]>
</colName>
</column>
<column filterable="false" sortable="false" id="SCHEMA">
<colName>
<![CDATA[OBJECT_OWNER]]>
</colName>
</column>
</columns>
<optionalBinds>
<bind filterable="true" sortable="true" id="CREATED">
<type>
<![CDATA[DATE]]>
</type>
<prompt>
<![CDATA[Created Date]]>
</prompt>
<tooltip>
<![CDATA[
Creation Date to search by.
]]>
</tooltip>
</bind>
<bind filterable="true" sortable="true" id="LAST_DDL_TIME">
<type>
<![CDATA[DATE]]>
</type>
<prompt>
<![CDATA[Modified Date]]>
</prompt>
<tooltip>
<![CDATA[
Date of the last modification to the DDL.
]]>
</tooltip>
</bind>
</optionalBinds>
     </queries>
</folder>
<node>
<icon RSKEY="OracleIcons.TABLE"/>
<childType id="COLUMN">
<icon RSKEY="OracleIcons.COLUMN"/>
<queries id="nav.columns">
<query minversion="8" id="nav.columns">
<sql>
<![CDATA[SELECT COLUMN_NAME
      FROM SYS.ALL_TAB_COLUMNS
      WHERE OWNER = :SCHEMA
      AND TABLE_NAME = :PARENT_NAME
      ORDER BY COLUMN_ID]]>
</sql>
<columns>
<column id="NAME">
<colName>
<![CDATA[COLUMN_NAME]]>
</colName>
</column>
</columns>
</query>
</queries>
</childType>
<childType id="PARTITION">
<icon RSKEY="TABLE_PARTITION_ICON"/>
<queries id="nav.partitions">
<query minversion="8" id="nav.partitions">
<sql>
<![CDATA[SELECT PARTITION_NAME
      FROM SYS.ALL_TAB_PARTITIONS
      WHERE TABLE_OWNER = :SCHEMA
      AND TABLE_NAME = :PARENT_NAME
      ORDER BY PARTITION_NAME]]>
</sql>
<columns>
<column id="NAME">
<colName>
<![CDATA[PARTITION_NAME]]>
</colName>
</column>
</columns>
</query>
</queries>
</childType>
</node>
</objectType>
</navigator>
</pre>
all i did was to edit the xml then repackage and replace the jar. I know the query is not the best but I did not have much time for the fix and hopefully the sqldeveloper team will update a solution soon enough :)
Edited by: wheelie on Nov 6, 2008 5:32 PM

Similar Messages

  • Install Sqldeveloper 1.5.1 problem

    Hello everybody.
    Im working with Fedora 9 and Oracle database 10GR2 also I have installed Dev Suite Forms & Reports.
    I have installed Sqldeveloper 1.5.1 and JDK-6.
    The install process is easy and fast. But , and here is the problem , when I try to run Sqldeveloper it read de jdk 1.4 that come with Forms & Reports and not the JDK 6 installed. Then , very serious say, You have jdk-1-4 in /x10/jre, you need JDK 6.
    I suppose that I must to inicialized a system variable or something similar.
    Anybody know where Sqldeveloper look for the path where is installed the JDK-6 ?
    Thanks in advanced & regards everybody.

    Easiest fix without interfering other installations is to set this inside +\sqldeveloper\bin\sqldeveloper.conf+:
    SetJavaHome C:\Archivos de programa\Java\jdk1.6.0_10 Have fun,
    K.

  • SQLDeveloper and MS SQLExpress problem

    Hello! My problem is that I cannot connect to SQLExpress with Oracle SQLDeveloper. My operatingsystem is Windows XP SP2 and SQLExpress is installed at localhost. SQLDeveloper is installed at the same machine as SQLExpress. Maybe somebody can give me a hint?!

    What error does it give you?
    Have you downloaded and installed the requried Third Party JDBC Drivers in SQL Developer? Have you created the connection?
    BTW - You can post your question in the SQL Developer Forum
    SQL Developer

  • SQLDeveloper 3.1 on Mac OS X Lion

    Hi guys,
    sorry for reposting, but this is really pressing -- doesn't anyone use SQLDeveloper on Mac OS X Lion?
    I have a pretty recent Mac OS X System (10.7.3, today updated from 10.7.2 -- the problem existed there as well) with Java 1.6.0_29:
    localhost:~ bgd$ /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11D50b)
    Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
    I installed SQLDeveloper 3.1.0.7.42 on this system and I've encountered the following two problems:
    1. the connections aren't saved. Everytime I delete the ".sqldeveloper" directory in my homedir, SQLDeveloper starts without any problems. I can add a connection, test it, connect to the database and even saving it doesn't show any errors. A "connections.xml" file is generated but empty:
    localhost:~ bgd$ find .sqldeveloper/ -name connections.xml -ls
    1733256 0 -rw-r--r-- 1 bgd bgd 0 Feb 9 17:43 .sqldeveloper//system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
    If I start the SQLDeveloper w/o deleting the "~/.sqldeveloper" directory I always get the following errors:
    oracle.jdeveloper.db.DatabaseConnections DatabaseConnections has no JNDI context so cannot list connections.
    oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/Users/bgd/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
    oracle.jdevimpl.db.adapter.DefaultContextWrapper Failed to create naming Context for db connections at url: file:/Users/bgd/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
    The connections.xml file remains empty, no matter how may connections I add and "save".
    2. After I make a connection to a database, I try the "SQL Worksheet" option (either by right-clicking the DB Connection or thru the menu "Tools->SQL Worksheet"). But nothing happens (except for the dialog "Select connection" when calling thru the "Tools" menu) -- no new window, no "SQL Workshop" space on the right canvas, nothing.
    I've googled the first problem (the second one is pretty hard to "formulate") and, based on the results, I also tried the following:
    - Set the right Java Home in sqldeveloper.conf and sqldeveloper-Darwin.com:
    SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    - tried to add the following lines to sqldeveloper.conf and sqldeveloper-Darwin.conf:
    AddJavaLibFile ../../lib/java/api/jaxb-api.jar
    AddJavaLibFile ../../lib/java/api/jsr173_api.jar
    AddJavaLibFile ../../j2ee/home/lib/activation.jar
    AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-xjc.jar
    AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb-impl.jar
    AddJavaLibFile ../../lib/java/shared/sun.jaxb/2.0/jaxb1-impl.jar
    - I checked, but there is no ORACLE_HOME variable set on my system
    - Right now the java process looks like:
    bgd 1411 0.0 3.9 3831552 326400 ?? S 6:11PM 0:23.03 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Xmx640M -Xms128M -Xverify:none -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Dsun.java2d.ddoffscreen=false -Dwindows.shell.font.languages= -XX:MaxPermSize=256M -Doracle.jdbc.mapDateToTimestamp=false -Dide.AssertTracingDisabled=true -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true -Djava.util.logging.config.file=logging.conf -Dsqldev.debug=false -Dcom.apple.mrj.application.apple.menu.about.name=SQL_Developer -Dcom.apple.mrj.application.growbox.intrudes=false -Dcom.apple.macos.smallTabs=true -Dapple.laf.useScreenMenuBar=true -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar -Dide.conf="/Users/bgd/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf" -Dide.startingcwd="/Users/bgd/Downloads/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin" -classpath ../../ide/lib/ide-boot.jar oracle.ide.boot.Launcher
    Any hints what could be wrong? I'm running out of ideas here...
    Regards,
    Bogdan

    Hello John, hello Brian,
    thanks for the fast answer!
    So, I've "cleaned up" the conf files. Now they look like this:
    SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper-Darwin.conf:
    AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
    AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
    AddVMOption -Dcom.apple.macos.smallTabs=true
    AddVMOption -Dapple.laf.useScreenMenuBar=true
    SetSkipJ2SDKCheck true
    SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    AddVMOption -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar
    SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf:
    IncludeConfFile ../../ide/bin/ide.conf
    SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true
    AddVMOption -Dsun.java2d.ddoffscreen=false
    AddVMOption -Dwindows.shell.font.languages=
    AddVMOption -XX:MaxPermSize=256M
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    IncludeConfFile sqldeveloper-nondebug.conf
    The properties in "About SQL Developer":
    sun.boot.class.path     ../../rdbms/jlib/ojdi.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
    java.ext.dirs     /Users/bgd/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext
    It is a new Mac OS X Lion installation, but I've restored my home directory from a previous Mac OS X installation -- it is possible that some "old" files from the old installation (where I've also used SQL Developer, but deleted it) are interfering with the new one.
    Greetings,
    Bogdan

  • Problems with sql developer and win 8 64 bit

    Hi there,
    It's my first time in this forum, I am a student programmer and I have many problems to install SQL Developer on Oracle Database 12c. I actually managed to install both, but I could not make them work. My question is SQL Developer works on the Windows 8 platform 64-bit?
    I'm going crazy, help me please .... Thanks for a while!!!

    SqlDeveloper should have no problem working in Win 8, but i do not think it's a supported platform yet.
    The Database could be a little more troublesome, if you only need a working database environment to make experiments you could find the "pre-built" Virtual Machines useful.
    For Win 8 and 12c try using the EA release of SQLDeveloper 4, because if I'm not mistaken the current 3.2.2 could have some problems with 12c.

  • BI Starting Services Issue in OBIEE 11g

    Hi,
    I have installed OBIEE 11g and it was working fine but today when i have started the BI services its showed this error
    *<Jan 7, 2011 6:42:52 PM UZT> <Error> <oracle.wsm.resources.policymanager> <WSM-02311> <Failed to retrieve requested documents due to underlying error*
    *"java.rmi.RemoteException: EJB Exception: ; nested exception is:*
    *oracle.mds.exception.MDSRuntimeException: MDS-00001: exception in Metadata Services layer MDS-00001: exception in Metadata Services layer*
    *weblogic.common.resourcepool.ResourceDisabledException: Pool mds-owsm is Suspended, cannot allocate resources to applications..".>*
    *<Jan 7, 2011 6:42:55 PM UZT> <Warning> <JDBC> <BEA-001129> <Received exception while creating connection for pool "mds-owsm": The Network Adapter could not establish*
    the connection>
    Because of the above error web login Page (http://masood:9704/analytics/saw.dll?bieehome&startPage=1) is not displayed and its showed an error below
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.5.1 500 Internal Server Error*
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    But the Console admin Page (http://masood:7001/console/login/LoginForm.jsp) and Map viewer admin Page (http://masood.:9704/mapviewer) working fine.
    Only the sample reports and Dashboards Area are not displayed. I have tried to find out the solution of this issue but i am not getting the right solution.
    If any one knows that whats the reason behind this issue, so Please help me. I will be very thankful, Thanks.

    Hi,
    I experienced the same problem, the exact errors you got. After much digging, i discovered that my database was not registering with the listener, so i could not connect to it from SQLDeveloper and other tools. After spending much time on the internet trying to solve the error "*ora-12154 tns could not resolve the connect identifier specified*" which was what SQLDeveloper was returning, the problem still persisted.
    A colleague of mine then gave told me to try and force my database to register with the correct listener from command line with these commands:
    net start OracleServiceDB1
    C:\oracle\product\11.2.0\dbhome_1\BIN\oradim.exe -startup -SID DB1 -usrpwd password -pfile C:\oracle\admin\DB1\pfile\init.ora
    It turned out that my windows events were full, so i had to clear all events and increased the log size and made sure they are overwritten as needed. And alas, everything was fine again!!!
    What a nightmare it was - or may be it was Windows to blame!!! I hope this helps somebody out there sometime.
    Obviously, you need to change the paths and other parameters to suite your system. OracleServiceDB1 is the name of my service and DB1 is the name of my database. By the way , i ran it on a Windows XP machine.
    Cheers
    Edited by: 842996 on 09-Mar-2011 04:48

  • LibXt loaded before libXm

    I have a problem with starting up the app on ubuntu 8.04 - gnome:
    I had a poblem with prior versions displaying the content of the 'root' window, so i used an environment variable to solve this:
    AWT_TOOLKIT="MToolkit" in /etc/environment did the trick
    With the 1.5 release this gives the above error... see end of msg.
    timo@beat:~$ env -u AWT_TOOLKIT /opt/sqldeveloper/1.5/sqldeveloper.sh
    solves this problem, but brings us back to seeing nothing in the main window.
    Ideas to fix this ?!
    ______________-LOG
    timo@beat:~$ /opt/sqldeveloper/1.5/sqldeveloper.sh
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0x7f2cc116197c]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x24) [0x7f2cc1161a84]
    #2 /usr/lib/libX11.so.6(_XReply+0x10f) [0x7f2cc19cef4f]
    #3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so [0x7f2cc25c1d4b]
    #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so [0x7f2cc257ebbc]
    #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so [0x7f2cc257ed1e]
    #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x9) [0x7f2cc257eee9]
    #7 [0x7f2cebc17f7b]
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0x7f2cc116197c]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7f2cc1161a15]
    #2 /usr/lib/libX11.so.6 [0x7f2cc19ce323]
    #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x2c) [0x7f2cc19c572c]
    #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so [0x7f2cc257dea7]
    #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so [0x7f2cc257e0e1]
    #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so [0x7f2cc257edb9]
    #7 /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/lib/amd64/motif21/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x9) [0x7f2cc257eee9]
    #8 [0x7f2cebc17f7b]
    Runtime link error - it appears that libXt got loaded before libXm,
    which is not allowed.
    java.lang.InternalError: libXt loaded before libXm

    Same problem here (blank main window), on FC9:
    Oracle SQL Developer
    Copyright (c) 2008, Oracle. All rights reserved.
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xd1a767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xd1a831]
    #2 /usr/lib/libX11.so.6(_XReply+0x244) [0x303ef64]
    #3 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so [0xb086edce]
    #4 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so [0xb0858d77]
    #5 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so [0xb0858ef3]
    #6 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xb0859136]
    #7 [0xb28fbc1b]
    #8 [0xb28f5b3b]
    #9 [0xb28f5b3b]
    #10 [0xb28f3219]
    #11 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7a332ec]
    #12 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7b47f08]
    #13 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7a3311f]
    #14 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb7a90bcd]
    #15 /usr/share/java/jdk1.5.0_16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb789230d]
    #16 [0xb28fb4bb]
    #17 [0xb28f5a64]
    #18 [0xb28f3219]
    #19 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7a332ec]
    Locking assertion failure. Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xd1a767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xd1a90e]
    #2 /usr/lib/libX11.so.6 [0x303e109]
    #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x30341f6]
    #4 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so [0xb08580b9]
    #5 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so [0xb0858303]
    #6 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so [0xb0858fa1]
    #7 /usr/share/java/jdk1.5.0_16/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xb0859136]
    #8 [0xb28fbc1b]
    #9 [0xb28f5b3b]
    #10 [0xb28f5b3b]
    #11 [0xb28f3219]
    #12 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7a332ec]
    #13 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7b47f08]
    #14 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so [0xb7a3311f]
    #15 /usr/share/java/jdk1.5.0_16/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb7a90bcd]
    #16 /usr/share/java/jdk1.5.0_16/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb789230d]
    #17 [0xb28fb4bb]
    #18 [0xb28f5a64]
    #19 [0xb28f3219]

  • Migrating Access 2003 DB to Oracle

    Hi.
    I’m trying to migrate an Access 2003 (*.mdb) database to Oracle using this tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/sqldev_migration/msaccess/migrate_microsoft_access_otn.htm , but i’m experiencing some problems.
    I’ve installed the Oracle Database XE and SqlDeveloper 3.0 without problems.
    In SqlDeveloper, i’ve succeeded in making the connections and users and making an XML export, but when I get to the pint of “Capturing the Microsoft Access Exported XML” I get into problems. The ‘Migration’ point in the menu is simply missing.
    I’ve have searched a bit to check out if I was fx missing an add-in but it seems not to be the issue.
    Can someone tell me how get the Migration point in the menu?
    Instead I’ve tried the Tools – Migration – Migrate Wizard and it seems to work, when I choose the Offline method. But I would like it to work as described in the tutorial. What am I doing wrong?

    Hello,
    The version 3 of SQL Dev introduces a new method to migrate from access :
    1. Create a new connection to this Access Database
    2. Right-click on the connection name and choose "Copy to Oracle".
    You will have then to choose where this database must be copied and if you want to include the data or not.
    Please have a try and keep me informed of the result.
    Cheers,
    Jean-Patrick

  • Sql developer issue using all_source

    Hello,
    New policies in my company have revoked access from developers to system tables which has caused a problem using sqldeveloper. Basically when I attempt to open a stored procedure, sqldeveloper uses sys.all_source to put together the code and now it cannot. A possible solution would be to change sqldeveloper to use user_source or create a view in my development schema called all_source and point sqldeveloper to that.
    Problem is i don't know how to do this - or if it is even possible.
    Can anybody help ?

    First off I'd say that's a pretty stupid restriction, as the ALL_ views just list what you have access to. You don't get any extra DB safety restricting those views.
    If your DBA doesn't reconsider, you could change all internal sqldev queries or create views, but I recon just creating synonyms will be faster and cleaner:
    CREATE SYNONYM ALL_SOURCE FOR SYS.USER_SOURCE;Hope that helps,
    K.

  • How to set the DISPLAY variable to run admsi.pl?

    Dear Experts,
    I'm trying to patch Oracle apps R12 using admsi.pl.
    hostname: black
    APPS db: VIS
    But I keep getting the error:
    Please set the DISPLAY variable and re-run this script
    This is what I did:
    VIS database and listener are already running.
    login to the linux server as unix user: applmgr
    cd /oapps/applmgr/VIS/apps/apps_st/appl/
    . APPSVIS_black.env
    cd /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/
    admsi.pl
    Invoking Oracle Patch Application Assistant....
    Please set the DISPLAY variable and re-run this script
    huh ?
    set | grep -i "display"
    DISPLAY=:0.0
    set | wc
    435 486 25235
    I notice that there are 36 .env files!
    For applmgr alone!!
    find /oapps/applmgr/ -type f -name "*.env" | wc
    36 36 2626
    For oracle, there are another 7 .env files!
    find /oapps/oracle/ -type f -name "*.env" | wc
    7 7 513
    Did I get the environment (env) file correct?
    Or do I need to run a few more env first?
    If so, which ones?
    What would the order of operations be?
    sqldeveloper has given me problems with Display sometimes.
    But even sqldeveloper works fine.
    What is the secret to get admsi.pl to run in the normal manner?
    Thank a lot!

    Thanks a lot, that worked! So the perl script was wrong.
    In the meantime, I had done this, and it seemed to work:
    admsi.pl -debug
    Gathering Information..
    Enter the patch_top : /oappsinstall/update12.1.1/7303030
    Enter the APPS user password:
    Logfile for this session is located at admsi.log
    Generating installation instructions for patch 7303030..
    Updating database....
    install_7303030.html generated successfully
    install_7303030.txt generated successfully
    cat /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/admsi.log
    Executing begin :value := ad_manual_step_object.is_step_already_done('per_hrglobal','120.2.12010000.1'); end;
    Generating installation instructions for patch 7303030..
    Updating database....
    install_7303030.html generated successfully
    install_7303030.txt generated successfully
    Performing final cleanup..
    Do you think this worked ok?
    Thanks again!

  • French characters, eastern european database

    Hi,
    I have a 11.2 database with the following settings:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_NCHAR_CHARACTERSET AL16UTF16
    Is there any way I could insert all the french accented characters into
    this database or the nls_characterset forbids that, even if the
    nls_nchar_characterset can handle french accents? I created a test
    table with one nvarchar2 column, but there are characters that lose
    their accent after creation. (è for example). I tried it from SQLDeveloper, to eliminate nls_lang problems.
    Thanks,
    Krisztian

    Using NVARCHAR2 or NCHAR for the character data types should work- the AL16 set should handle most characters, just not as many as UTF8. As long as client programs have the correct NLS_LANG setup.
    If the coding gets sloppy and (tries to) save unicode values into VARCHAR2 or CHAR data types it will very likely get incorrectly translated as the data is stored, and there won't be any way to get the proper character codes back to the client.
    The N{types} will also consume more storage space- up to 4 bytes per character- try this out, and see the user_segments.bytes for the tables:
    create table ctest ( chartest varchar2(1000) )
      -- tablespace <tblspc>
    create table ntest ( nchartest nvarchar2(1000) )
      -- tablespace <tblspc>
    begin
       for i in 1..50000 loop
          insert into ctest values (  rpad( 'z', 1000, 'a'));
          insert into ntest values (  rpad( 'b', 1000, 'b'));
       end loop;
    end;
    select SEGMENT_NAME, sum( BYTES ) / 1024 / 1024 as mb from user_segments
    where segment_name in ('CTEST','NTEST') group by SEGMENT_NAME

  • Problem: sqldeveloper 1.5 key bindings in mac os x

    Hi -
    I just installed the new sqldeveloper (1.5.0.53.38) on Mac OS X Leopard, and when I try to edit sql queries in the worksheet, I'm finding that many keys don't work. For example, the spacebar and delete keys do nothing.
    I tried loading various different accelerator presets:
    - after loading "Default MacOS X" set, neither space nor delete keys do anything
    - after loading "Default", "Classic" or "Brief" sets, the spacebar works, but not delete
    I tried to fix this by changing the accelerators through the Preferences UI, but I couldn't figure out how to assign the 'backspace' key to the 'delete-previous' accelerator (since it doesn't seem possible to type the actual backspace character in the keystroke box...). I was able to fix the delete key by editing settings.xml by hand, changing this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[0]</Item>
    </data>
    </second>
    </Item>
    to this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">delete-previous</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">[8]</Item>
    </data>
    </second>
    </Item>
    I was able to get the spacebar to work again by removing the association between the spacebar key and the completion-insight accelerator, using the Preferences UI.
    So, my questions are:
    - Do I have some weird setup where my delete key is [8] instead of [0]? I'm trying to tell if this is a problem with my environment or with the settings that are shipped with the product.
    - If it's the latter, could the default MacOS X accelerator settings be updated? I seem to remember this same problem happening the last couple of times I installed a new version of SQL Developer.
    Let me know if there's any other information I could provide that would be useful.
    Thanks!

    Another problem I found with the MacOS X key bindings: the 6 key doesn't work!
    In the config that ships with SQL Developer, I found this:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">6</Item>
    </data>
    </second>
    </Item>
    which should be:
    <Item class="oracle.javatools.util.Pair">
    <first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
    <second class="oracle.ide.keyboard.KeyStrokes">
    <data>
    <Item class="javax.swing.KeyStroke">meta 6</Item>
    </data>
    </second>
    </Item>

  • Problem Running SqlDeveloper RedHat Linux AS4

    hi
    I have downloaded latest sqldeveloper release rpm for linux it installs successfully in /opt/sqldeveloper folder but when i try to run sqldeveloper it did not run and shows messages as
    # sh sqldeveloper.sh
    Oracle SQL Developer
    Copyright (c) 2006, 2007, Oracle. All rights reserved.
    Warning: -Xmx512M not understood. Ignoring.
    Warning: -Xverify:none not understood. Ignoring.
    Warning: -XX:JavaPriority10_To_OSPriority=10 not understood. Ignoring.
    Warning: -XX:JavaPriority9_To_OSPriority=9 not understood. Ignoring.
    Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: oracle.ide.boot.Launcher
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __gcj_personality_v0 (/opt/sqldeveloper/sqldeveloper/bin/java.version=1.4.2)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    at JvRegisterClasses (/opt/sqldeveloper/sqldeveloper/bin/java.version=1.4.2)
    Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in [file:../../ide/lib/ide-boot.jar, file:../../jdev/lib/xmleditor.jar, file:../../ide/lib/oicons.jar, file:../../jlib/jewt4.jar, file:../../jlib/share.jar, file:../../sqldeveloper/lib/jle2.jar, file:../../sqldeveloper/lib/oracle.dbtools.logging.jar, file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    ...9 more
    ===
    Can any body guide me about this problem.
    Thanks in advance
    Ryasat Ali

    It looks as if you are picking up the wrong java version. Most linux distributions come with an out of date gnu implementation of java in /usr/bin.
    what does java -version show?
    what does which java show?
    You need to download a jdk (1.5_006 at least, but 1.6 would do), install it and put it at the beginning of PATH before running sqldeveloper

  • Problem installing SQLdeveloper. Cannot find a J2SE SDK error

    I am trying to install SQL developer in my windows 7 64 bit machine. It is asking for the java path when clickin the sqldeveloper.exe. I am giving the path of java as C:\Program Files (x86)\Java\jre6\bin where i have java application file available. but i am getting cannot find a j2se SDK installed in the above path error. Please help

    Hello,
    please ask this in the appropriate forum: {forum:id=260}
    It seems to be a common problem
    https://forums.oracle.com/forums/search.jspa?objID=f260&q=win+64bit
    Regards
    Marcus
    Edited by: Marwim on 12.10.2011 10:59
    added search link

  • [bug] SQLDeveloper 1.5.4.59.40 - Code Formatting problem

    I've installed SQLDeveloper 1.5.4.59.40 and I have found that the code formatting does not format the query with the right case that I choose. I mean, in the option I set to put "SQL words" in uppercase but the formatter ignore this and do not change any case in the query.
    Beretta Costantino

    Hi this works for me.
    -Are you using SQL Formatter Other -> Force formatter on difference ?
    -Are you non USA, there could be a problem with USA strings being assumed and being wrongly used internally?
    --Turloch                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for