Cann't connect to apex from sql developer

Platform: win8.
XE and SQL Dev work properly.
Connecting under XE database user "system" (it doesn't matter, the result will be the same).
Trying to connect to "localhost-1521-xe" I get
Status : Failure -Test failed: ORA-00604: error occurred at recursive SQL level 1
ORA-12705: Cannot access NLS data files or invalid environment specified
Trying to connect to "local/bequeath" I get
Status : Failure -Test failed: C:\oraclexe\app\oracle\product\11.2.0\server\bin\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Jari's right. Also see the following for more information;
Connect apex.oracle.com workspace schema using a developer tool
Kofi

Similar Messages

  • Connect to APEX /w SQL Developer

    Hi everyone,
    i've just created a free apex schema on apex.oracle.com.
    Can i connect to this database with my local SQL Developer somehow?

    Jari's right. Also see the following for more information;
    Connect apex.oracle.com workspace schema using a developer tool
    Kofi

  • Proble to connect oracle DB from Sql Developer

    1st I installed fedora 13 on VirtualBox 4.1 machine and then i installed a oracle 10g(the db run correctly and listener too).
    the listener paramater:
    LISTENER =(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.8)(PORT=1521))
    2nd in my local machine (Fedora 13 too) i installed a sql developer and when i trying connect to oracle on virutal machine i recived a next error
    using connection Basic:Status: Failure -Test failed: IO Error: The Network Adapter could not establish the connection.
    the parameter i settings are:
    connection name:XXXX
    username name:user_created
    password:XXXX
    Hostname = 10.0.0.8
    port = 1521
    SID = the_same_of_database
    i can make ping well to the virtual machine.
    using connection TNS: Status: Failure -Test failed. Required property 'hostname' is not set on the DatabaseProvider.
    But i don't know where is the tnsnames file for sql developer.
    i don't know if i have to install any JDBC for sqldeveloper.
    i can't make tnsping because on my local machine i don't have installed.

    Hi, excuse me, but mi trouble come from my listener.ora,
    Help me please, my listener settings is:
    Listener
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = ipc)(KEY = PNPKEY))
    (ADDRESS = (PROTOCOL = tcp)(HOST = fe13oracle01.localdomain)(PORT = 1521))
    ) #AFTER I RAN THE LSNRCTL START THOSE parentheses WAS BECAMED RED
    ) #AFTER I RAN THE LSNRCTL START THOSE parentheses WAS BECAMED RED
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = MY_SID)
    (ORACLE_HOME = /opt/app/oracle/product/10.1.0/db_1)
    (SID_NAME = MY_SID)
    (PROGRAM = extproc)
    lsnrctl start:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-JAN-2012 23:29:28
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    The command completed successfully
    [oracle@fe13oracle01 ~]$ lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-JAN-2012 23:29:36
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /opt/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /opt/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /opt/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fe13oracle01.localdomain)(PORT=1521)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 16-JAN-2012 23:29:36
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /opt/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fe13oracle01.localdomain)(PORT=1521)))
    Services Summary...
    Service "MY_SID" has 1 instance(s).
    Instance "MY_SID", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Tnsnames:
    PROPHET =
    (DESCRIPTION_LIST =
    (ADDRESS = (PROTOCOL = tcp)(HOST = 10.0.0.8)(PORT = 1521)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = MY_SID)
    On my (ORACLE_SID =) on my .bash_profile i put sid_name UPPER, i don't know if that point has any influences

  • Issue when connecting to database from SQL Developer tool

    Hi,
    I was trying to connect to a remote oracle database 10.2.0.5 (hosted at window 2008 R2 server) from my local SQL Developer tool.
    When setting up connection in SQL Developer tool, I was able to connect to the database by selecting TNS (Network Allias).
    However, it does not work when I choose Basic type with the same information (HOST, PORT, SID).
    What is the difference between TNS and Basic setting option? Please advise and assist.
    Thanks.
    Regards,
    Jia

    Hi JimSmith,
    Thanks for reply.
    TNS entry as below:
    ORCL_DB =
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 91.198.252.83)(PORT = 1521)) )
    (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) ) )
    It works fine if I choose TNS (Network Allias: ORCL_DB).
    For the Basic setting:
    Hostname = 91.198.252.83
    Port = 1521
    SID = orcl
    The error I received when connecting to db based on Basic option is Failure -Io exception: The Network Adapter could not establish the connection.
    Below are the entries of SQLnet.ora. Any entry should I add into sqlnet.ora?
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Appreciate your comment.
    Thanks.
    Regards,
    Jia

  • HTTP/1.1 302 Found error while trying to connect to Cloud database Trial version from SQL*Developer 4.0.3.16.

    Hi Oracle Cloud Gurus,
    I have signed up for Oracle Database Cloud Service Trial and activated the same. I am able to login to Apex applications, SQL Workshop etc but not able to connect from SQL*Developer on my local m/c.
    I configured the "Cloud Connection" by giving the provided username, password and URL. When I try to connect, I get the error - "HTTP/1.1 302 Found". Any ideas how to resolve this ?
    Here is the complete error stack:
    oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: HTTP/1.1 302 Found
    at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:162)
    at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:63)
    at oracle.dbtools.raptor.cloud.auth.basic.GUIBasicAuthenticationEngine.authenticate(GUIBasicAuthenticationEngine.java:26)
    at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
    at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
    at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
    at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
    at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
    at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
    at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
    at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.io.IOException: HTTP/1.1 302 Found
    at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationHandler.handleError(BasicAuthenticationHandler.java:250)
    at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationHandler.handleError(BasicAuthenticationHandler.java:24)
    at oracle.dbtools.raptor.cloud.connection.CloudHander.handleResponse(CloudHander.java:38)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
    at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:96)
    at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:153)
    ... 17 more

    Can you please post some of the values you are using to connect to your Schema Service? (please redact the hostname URL for security purposes)
    You can also follow this tutorial:
    Data Loading and the Oracle Database Cloud Service
    Format is usually:
    username used to sign up
    password giving at sign up
    Service Instance URL

  • Failure to connect to 11G XE from Sql Developer

    Hi Gurus,
    I have been trying for more than a week to make this work. Basically I am trying to install XE database 11.2.0 on my windows 7 64 bit computer.
    I have had problems with the getting the listener up , finally managed to get it up by deleting the Oracle_home and reinstalling 11g XE.
    Changed the listener.ora file to include the sid XE - restarted th listener so now its working.
    -- I am able to start the instance from command prompt as
    SQL> conn / as sysdba
    Connected.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1388352 bytes
    Variable Size 620757184 bytes
    Database Buffers 444596224 bytes
    Redo Buffers 4591616 bytes
    ORA-00205: error in identifying control file, check alert log for more info**
    When I checked the log files here are the details
    from C:\Oracle11XE\app\oracle\diag\rdbms\xe\xe\alert
    <txt>ORA-00210: cannot open the specified control file
    ORA-00202: control file: &apos;C:\ORACLE11XE\APP\ORACLE\ORADATA\XE\CONTROL.DBF&apos;
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    </txt>
    Please let me know how I can resolved this issue. The eventual goal is to get the database up and running and be able to conenct from Sql Developer installed on the same machine.
    any help will be greatly appreciated.
    Here are some details
    tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <Cumputername>)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = XE)
    (ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = <ComputerName>)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    lsnrctl status result
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 30-JAN-2013 11:35:47
    Uptime 0 days 0 hr. 0 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\Oracle11XE\app\oracle\product\11.2.0\server\network
    \admin\listener.ora
    Listener Log File C:\Oracle11XE\app\oracle\diag\tnslsnr\ZaidHP\listener\
    alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ZaidHP)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Thanks
    Edited by: user12026382 on Jan 30, 2013 10:57 AM

    Hi clcarter
    Thanks for your input. I actually did a complete de-install and re-install.
    The two things I did differently this time was
    1. Delete any ORACLE_HOME or ORACLE_SID variables that were existing and just to make sure check from cmd> set ORACLE_HOME - should return not defined.
    (This I found at a different forum)
    2. Run the setup (as administrator) this time.
    And you guessed it.. It worked. I was able to login to the database. Also could go to the database home page.
    Thanks for your inputs.
    On a side note.. since I am new to forums, I wanted to know how you quote things in the grey area as you did when you replied 'ORA-00205: error in identifying control file, check alert log for more info'.

  • Could not connect to a DATABASE with localhost as Hostname from SQL develop

    I am not able to connect to any Database from SQL Developer by providing "localhost" as Hostname. I could able to connect by providing the IP(192.168.1.50) of the system.
    The problem here is If I am out of internet, My system does not have IP, So I am not able to connect to DB
    But I need to submit a project wheere I will not have any internet. Could you please let me know how to connect to DB using localhost
    Following are the listener.ora and tnsnames.ora files.
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    =============================
    tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_2\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA9 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora9)
    ORA8 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora8)
    EMP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = emp)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Thanks in advance,
    Srini

    Oracle always uses DNS.
    DNS consults the local host file.
    Try in a command box
    ping localhost
    This should work.
    If this doesn't work you need to edit
    %WINDOWS%\'systems\drivers\etc\hosts
    The first line needs to read
    127.0.0.1 localhost
    Sybrand Bakker
    Senior Oracle DBA

  • Error while connecting database from SQL developer

    Hello experts,
    i have installed oracle 11g R2 database on WIN32 platform, and my database is working in sql plus but while connecting the same via sql developer am getting the following error:
    NO more data to read from socket
    Vendor code 17410
    Kindly suggest.
    Regards,
    KK

    I have restarted the listener service but still getting the same in sql dev
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JAN-2013 21:56:29
    Uptime 0 days 0 hr. 2 min. 44 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "OIMDB" has 1 instance(s).
    Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    LSNRCTL> start
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is d:\app\Karan\product\11.2.0\dbhome_1\network\admin\list
    ener.ora
    Log messages written to d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.xm
    l
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JAN-2013 21:59:45
    Uptime 0 days 0 hr. 0 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "OIMDB" has 1 instance(s).
    Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Edited by: 958122 on Jan 5, 2013 9:59 PM

  • Able to connect from SQL-Assistant BUT unable to connect from Sql Developer

    Hello,
    I have been troubling with this issue for the last two weeks...tried so much, but could not able to resolve....
    sqlplus username/password@IPAddress:port/ServiceName
    I am able to connect to DATABASE from SQLAssistant only when I provide string like ABOVE........If I dont mention the SERVICE, m unable to connect to DB...
    Now the biggest issue is with SQL Developer.....m not at all able to connect to DB using SQL Developer....I tried all options...but no use...
    waiting for your reply......
    Thanks Much in Advance.....

    What have you tried, and what error messages are you getting?
    When you create a connection in SQL Developer, you should specify IPAddress,port,ServiceName as in your sqlplus connect string.

  • Connect from SQL Developer to several SQL Server instances

    Our SQL Server has more than one instance, but I see only one instance of them trying to connect from SQL Developer 1.2 to SQL Server. How I should define the connection information? Usually we connect to SQL Server by <hostname>/<instancename> and then the database name as CatalogName (Initial Catalog). In the Oracle world you can give only the hostname, a port number and the database name. How I can convince the SQL Developer to choose one of our SQL Server instances?

    Hi user627927,
    Bug/Enhancement request already logged.
    We have not got this configuration in house, two people have suggested workarounds but we are unable to test them for now. The last person was unable to get these workarounds working, and we have not confirmed them in house.
    Can you get the instances connected through two different ports?
    It would be great if you could confirm either workaround.
    -Turloch
    *1/Suggestion 1 change the URL through SQLDevelopers xml connection store.
    *2/Overload the port field to have instance in the eventual url
    *1/Suggestion 1 change the url through SQLDevelopers xml connection store.
    [Note it is probably simpler to connect a dummy connection through the connection dialog as usual save it (you cannot connect) and then add the instance information rather than having to enter all the information in an unmanaged way.]
    Hi Naveen,
    I had same problem as you and user579801. I managed to resolve it by doing the following.
    1. Locate the file called IDEConnections.xml in the folder where you have installed SQL Developer (eg. c:\sql developer\sqldeveloper\system\oracle.jdeveloper.db.connection.11.1.1.0.11.42.62).
    2. Create the following entries under <connections> tag.
    <connection>
    <URL>jdbc:jtds:sqlserver://\\.\;namedPipe=true;instance=SQLDBNam;</URL>
    <ConnectionName>SQLServer</ConnectionName>
    <user>SQLUser</user>
    <ConnectionType>JDBC</ConnectionType>
    <DeployPassword>false</DeployPassword>
    <JdbcDriver>net.sourceforge.jtds.jdbc.Driver</JdbcDriver>
    <RaptorConnectionType>Microsoft SQL Server</RaptorConnectionType>
    </connection>
    3. Save the file; Close and re-open the SQL Developer and try connecting.
    Hope this will solve your problem. Good luck.
    Regards
    Raja
    *2/Overload the port field to have instance in the eventual url
    This took some figuring out but I cracked it in the end....
    SQLServer tab:
    Hostname: <servername>
    Port: <portnumber>/<databasename>;instance=<instancename>
    so for me the Port field looks like this: 1433/Gaffa;instance=SQL01
    That should now connect to a named instance SQL Server.
    Paul Fairhurst

  • APEX or SQL Developer?

    Hello,
    This is my first time posting here, I hope I have put it in the right section.
    I was told that in order to have SPARQL with Oracle, I should use either APEX or SQL Developer, and not to install Oracle Enterprise. (I have never worked with it, and am a bit lost).
    Is it possible to write SPARQL queries in this manner? Which is recommended for a beginner that only knows basics of SQL? Which has a more user-friendly interface?
    I would very much appreciate the help.
    Thank you :)
    Edited by: user13098869 on 14-Nov-2010 02:39

    Hi
    APEX - Oracle Application Express is a no-cost option of the Oracle database.
    SQL Developer is a tool that connects to the database to execute queries and PLSQL code
    I do not know how APEX or SQL Developer would work with SPARQL.
    One way to work with SPARQL with Oracle is using the Jena Adaptor. This is a set of tasks you would need to perform:
    1. Install Oracle Database Enterprise Edition
    2. Configure the database to use Semantic Technologies
    3. Install JDK
    4. Install Jena
    5. Install Jena Adaptor
    6. Review Jena Adaptor Demos that include SPARQL examples
    Jena Adaptor Tutorial:
    http://download.oracle.com/otndocs/tech/semantic_web/pdf/semtech11gr2_jenaadapt-tl.pdf
    From Test8.java on you can see some SPARQL examples
    This is the Oracle Semantic Technologies Web Page:
    http://www.oracle.com/technetwork/database/options/semantic-tech/index.html
    This is my scratch pad that I used when doing these tasks in case it helps:
    1. Install 11.2.0.2.0
    and
    2. Create database at time of installation.
    3. Create tablespace for Semantics:
    create tablespace RDF_TABLESPACE
    datafile '/.../rdf01.dbf' size 2000M
    autoextend on next 2000M maxsize 16000M;
    4. Setup Semantic Technologies:
    sqlplus / as sysdba
    @?/md/admin/catsem
    exec sem_apis.create_sem_network('RDF_TABLESPACE');
    5. Place files in working directory:
    JDK: jdk-6u22-linux-x64.bin
    Jena: jena-2.6.3.zip
    Jena Adaptor ./JenaAdaptor/jena_adaptor_for_release11.2.zip
    6. Unzip files:
    unzip jena-2.6.3.zip
    cd JenaAdaptor
    unzip jena_adaptor_for_release11.2.zip
    7. Install JDK:
    chmod u+x jdk-6u22-linux-x64.bin
    ./jdk-6u22-linux-x64.bin
    answer: yes
    8. You should have in your working directory:
    Wdir> ls -l
    total 70388
    drwxr-xr-x 8 ... Jena-2.6.2/
    drwxr-xr-x 7 ... JenaAdaptor/
    -rwxr--r-- 1 ... jdk-1_5_0_21-linux-i586.bin*
    drwxr-xr-x 9 ... jdk1.5.0_21/
    -rw-r--r-- 1 ... jena-2.6.2.zip
    9. Copy files:
    a. Copy ojdbc5.jar into <Jena_DIR>/lib (Linux) or <Jena_DIR>\lib (Windows). (ojdbc5.jar is in
    $ORACLE_HOME/jdbc/lib or %ORACLE_HOME%\jdbc\lib.)
    cp $ORACLE_HOME/jdbc/lib/ojdbc5.jar .../Jena-2.6.2/lib
    b. Copy sdordf.jar into <Jena_DIR>/lib (Linux) or <Jena_DIR>\lib (Windows). (sdordf.jar is in
    $ORACLE_HOME/md/jlib or %ORACLE_HOME%\md\jlib.)
    cp $ORACLE_HOME/md/jlib/sdordf.jar .../Jena-2.6.2/lib
    c. Copy sdordfclient.jar. It is in Work_dir/JenaAdpator/jar
    cp .../JenaAdaptor/jar/sdordfclient.jar .../user/Jena-2.6.2/lib
    10. Environmental variables:
    export JAVA_HOME=.../user/jdk1.5.0_21/bin
    export PATH=.../user/jdk1.5.0_21/bin:$PATH
    11. To compile the examples:
    copy the *.java examples to JENA_DIR/lib
    cp .../user/JenaAdaptor/examples/*.java .../user/Jena-2.6.2/lib
    -- To compile:
    cd .../user/Jena-2.6.2/lib
    javac -classpath ./:./jena-2.6.2.jar:./sdordfclient.jar:./ojdbc5.jar:slf4j-api-1.5.6.jar:log4j-
    1.2.13.jar:slf4j-log4j12-1.5.6.jar:arq-2.8.1.jar:xercesImpl-2.7.1.jar Test.java
    -- To run:
    cd .../user/JenaAdaptor/examples
    java -classpath ./:./jena-2.6.2.jar:./sdordfclient.jar:./ojdbc5.jar:slf4j-api-1.5.6.jar:log4j-
    1.2.13.jar:slf4j-log4j12-1.5.6.jar:arq-2.8.1.jar:xercesImpl-2.7.1.jar:iri-0.7.jar:icu4j-3.4.4.jar
    Test jdbc:oracle:thin:@caosspc46.ca.oracle.com:1521:orcl1102 rdfusr rdfusr Family
    You should see:
    | f | k |
    =========================================================
    | <http://example.com/John> | <http://example.com/Mary> |
    Regards!
    Jorge

  • I am not able to connect to database in sql developer.how to do?

    I downloaded sqldeveloper 1.5.4.59.40. iam not able to establish connection to database. Can anyone tell me ?

    Have you created a database (or have one you connect to)?
    Have you created the Net Service connections for SQL Developer to use?
    Does SQL Developer have access to this Net Serviice name?
    Have you created the connections from SQL Developer?
    Can you post an error message?
    See
    <br>
    Oracle Database FAQs
    </br>

  • Administration of APEX in SQL Developer with Proxy Authentication impossibl

    Hello!
    We are using latest version of SQL Developer to administer APEX. We are connecting to the database with proxy authentication. The syntax is:
    personal_user[apex_ws_owner]
    e.g.: mdecker[apex_demo]
    When trying to deploy APEX application I go to "Database Object" -> Application Express -> Application1 [100] -> right mouse click: "Deploy Application". Then I select the appropriate database identifier and next, I am presented with a screen showing import options. In second line, it says: "Parsing Schema: MDECKER".
    This is wrong: it has to be Parsing Schema: APEX_DEMO. It seems that managing APEX with SQL Developer does not support Proxy Authentication.
    Could you please confirm?
    Is there a way to formally ask for this enhancement?
    Best regards,
    Martin
    Update:
    I found out that if I check the flag "Proxy Authentication" in the connect details and provide both passwords, the deploy application parsing schema is set to the correct APEX_DEMO account. However, we are using Proxy Authentication in order to avoid having to know the application password.
    Edited by: mdecker on Jan 28, 2013 4:48 PM

    There is a write-up about connecting to APEX here: <a href ="http://www.oracle.com/technology/products/database/application_express/html/sql_dev_integration.html" >SQL Dev Oracle APEX Integration</a>
    <p>You do need to have updated to Oracle APEX 3.0.1.
    <p>Regards <br>
    Sue

  • How export datas with special characters from SQL Developer?

    Hi.
    I'm doing an import of datas of a table, but this table have special characteres in specific accents (á,é,í,ó,ú), my source table have for example "QRCN Querétaro, Candiles" but when I done an export from opcion Tool --> Export DLL (and Datas) from SQL Developer generate the next script
    Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
    How can I do for export my datas and generate the script correct?
    Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Querétaro, Candiles');
    thanks.

    Hi sybrand_b,
    1. In my SQL Developer I select Tool-->Export DDL (and Data).
    2. I Select name file, connection (this is a remote DB), objects to export in this case I select 'Tables and data' and table name to export
    3. Run the procedure and generate the script following:
    -- File created - jueves-julio-01-2010
    -- DDL for Table TABLEXXX
    CREATE TABLE "BOLINF"."TABLEXXX"
    (     "CADENA" VARCHAR2(50 BYTE),
         "NUMERO_FARMACIA" VARCHAR2(50 BYTE),
         "SUCURSAL_REFERENCIA" VARCHAR2(200 BYTE)
    -- DATA FOR TABLE TABLEXXX
    -- FILTER = none used
    REM INSERTING into TABLEXXX
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20281','QRCG Quer?ro, Corregidora');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20282','QRFU');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20283','QRFU');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20284','SAUN San Lu?P, Universidad');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20285','SAEV San Lu?P, Eje Vial');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20286','SALB San Lu?P, Los Bravo');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20287','SAAL San Lu?P, Alvaro Obreg?');
    Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20288','SACA San Lu? Callej?n de Cod');
    4. But my source table have the next datas.
    Select * from TABLEXXX.
    CADENA     NUMERO_FARMACIA     SUCURSAL_REFERENCIA
    C002     20280     QRCN Querétaro, Candiles
    C002     20281     QRCG Querétaro, Corregidora
    C002     20282     QRFU
    C002     20283     QRFU
    C002     20284     SAUN San Luís P, Universidad
    C002     20285     SAEV San Luís P, Eje Vial
    C002     20286     SALB San Luís P, Los Bravo
    C002     20287     SAAL San Luís P, Alvaro Obregó
    C002     20288     SACA San Luís, Callejón de Cod
    5. I have done a query to table nls_database_parameters.
    NLS_LANGUAGE     AMERICAN
    NLS_TERRITORY     AMERICA
    NLS_CURRENCY     $
    NLS_ISO_CURRENCY     AMERICA
    NLS_NUMERIC_CHARACTERS     .,
    NLS_CHARACTERSET     UTF8
    NLS_CALENDAR     GREGORIAN
    NLS_DATE_FORMAT     DD-MON-RR
    NLS_DATE_LANGUAGE     AMERICAN
    NLS_SORT     BINARY
    NLS_TIME_FORMAT     HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT     DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT     HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT     DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY     $
    NLS_COMP     BINARY
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_LENGTH_SEMANTICS     BYTE
    NLS_NCHAR_CONV_EXCP     FALSE
    NLS_RDBMS_VERSION     10.2.0.4.0
    6. I have revised in Regedit-->HKEY_LOCAL_MACHINE-->SOFTWARE-->ORACLE-->ORACLE HOME and value for NLS_LANG=AMERICAN_AMERICA.UTF8
    where should I change for export my datas correct?
    or exist any form for export my datas?
    thanks a lot.
    regards

  • Create trigger not audited when run from sql developer Version 3.2.20.09

    Creating or editing a trigger is not being stored in the audit table when run from sql developer.
    Here is a sample script to show the issue:
    Grant Connect,create table,create trigger To testuser Identified By testuser;
    create table testuser.testtab(t1 number);
    Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
    CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
      Insert
          ON testuser.testtab FOR EACH ROW
    begin
      null;
    end;
    Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';
    drop user testuser cascade;
    If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
    If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
    If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
    If I edit the trigger from  All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.

    DoyleFreeman wrote:
    Not sure what you mean by "perform the audit".
    Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
    Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
    https://forums.oracle.com/community/developer/english/oracle_database/general_questions
    Yes - and it works just fine once you ENABLE AUDITING. Your scripIt  does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
    Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
    Have you read any of the extensive documentation about auditing to learn how to use it?
    See the Database Security Guide
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
    Also see 'Auditing Functions, Procedures, Packages, and Triggers
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
    And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    0
    audit create trigger by scott
    CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
      Insert
          ON emp_copy FOR EACH ROW
    begin
      null;
    end;
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    1

Maybe you are looking for

  • Is there a way to change the view in genre so that artists are visible, not just songs?

    I would like to view my music by artist within the genres, but the only display I can see is a long list of songs. Is there a way to switch this?  I can get an artist view on my iPhone, but not on my iPad.

  • Syntax error in creating table

    Could some one plz help me as to what is wrong in creating below table structure: create table test as (select * from schema.tablename where 1=2) TABLESPACE PCR_ARCHIVE_DATA_04 PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXT

  • Problem helped me

    Face Time is not working  Could not log Please check your network connection and try again  Knowing that the device is connected to  Net

  • Printing with referenced images

    I have a print component in my Flex application which works fine if I embed the header image to be printed.  But if I merely link it as an external file, it appears to load, but somehow the print code creates the page too rapidly and the header does

  • Can I use an Image Map to link to an SLP

    I am working on a project starting with the Desktop Catalog with Homepage layout, and have created 4 additional generic SLPs.  I added an image to the homepage slp and would like to use an image map to link to the 4 generic slps that I created.  But