SQL Developer 1.1 : cannot connect to 9.2.0.7 database

Hi,
Windes XP SP1.
Donloaded sqldeveloper 1.1 with JDK.
Afer unzipping, when I open connection and setup new connection with userid/password and using connection type TNS and specifying 9.2.0.7 database service name as connect identifier,
pressing test button returns success (We use OID for name resolution),
when I press connect, it displays the box "Testing connection" then
displays "Connecting to system" and then
the application closes abruptly... (I did this n times today).
I have been using SQL Developer 1.0 successfully from my laptop.
Please help.

I could redirect the screenout to a log file and it contained this :
Using oracle.home=C:\sqldeveloper11\sqldeveloper
Using ide.user.dir=null
Addin: Translator PlSql is trying to register a input type (.plsql) which conflicts with translator PlSql who already using this input type
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x61d3efe8, pid=436, tid=2624
# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode)
# Problematic frame:
# C [OraClient10.Dll+0x11efe8]
# An error report file with more information is saved as hs_err_pid436.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
Any suggestions?

Similar Messages

  • SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

    look at this post am getting the same
    http://social.msdn.microsoft.com/Forums/en-US/sqlkjmanageability/thread/4c8ca86c-105f-4f0a-ac18-6e33dda2bc46
    but when I tried the solution given there , It is not working
    the error I am getting is mofcomp is not recognized as internal or external command
    I tried in  C:\program files\Microsoft sql server\90\shared  and in Windows\system32
    I am getting the same error

    Hi sql393,
    Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid class [0x80041010].
    The solution is to go to a command prompt and then run mofcomp.
     C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
    For more information, please refer to
    http://blogs.msdn.com/b/echarran/archive/2006/01/03/509061.aspx
    http://msmvps.com/blogs/martinpoon/archive/2009/11/27/sql-server-configuration-manager-cannot-connect-to-wmi-provider-invalid-class-0x80041010.aspx.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

  • SQL developer download - unable to connect

    Hello, I'm a beginner at Oracle SQL developer. I just downloaded the sql developer 3.2.20.09.87 one which includes zip file JDK. However it is not letting me connect. This is the error I'm getting.
    failure- test failed: IO error: The network adapter could not establish the connection.
    How do I fix it.

    Welcome to the forum!
    >
    Hello, I'm a beginner at Oracle SQL developer. I just downloaded the sql developer 3.2.20.09.87 one which includes zip file JDK. However it is not letting me connect. This is the error I'm getting.
    failure- test failed: IO error: The network adapter could not establish the connection.
    How do I fix it.
    >
    How would we know? That's about the same as saying 'help, my car won't start. why won't my car start?'. Maybe you didn't put it in park, maybe you didn't put the key in the ignition, maybe you dont' have any gas. How would we know?
    You have to provide detailed information about
    1. what you are doing
    2. how you are doing it
    3. any errors or messages you are getting.
    All you did is provide #3.
    What are you doing? What database and version are you trying to connect to? What connection parameters did you use?

  • Sql developer closes when testing connection

    I have windows 7 64 bit, but, also have ms office 32 bit, so, do need the 32 bit drivers.
    If my path starts with the location of the 32 bit drivers and I test my oracle connection in sql developer with the oci thick driver checked, I get the error stating can't use the 32 bit drivers with a 64 bit machine (Status : Failure -Test failed: C:\app\32BitDrivers\product\11.2.0\client_3\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform).
    If the thick driver is unchecked, I get:
    Status : Failure -Test failed: ORA-01017: invalid username/password; logon denied
    I believe this is due to this database being set up to use something like a name validation server(?), because I can connect to another database that does not have that special authentication.
    If I have the path set to the 64 bit driver, sql developer will close when I try to test the connection with either the oci thick driver checked or un-checked (and testing either of the 2 databases).
    any ideas?
    sql developer Version 3.2.20.09
    jdk1.6.0_45 (came in the d/l with sql developer)
    oracle 11gR2
    sqlplus does connect to both databases
    Happen to have toad and was finally able to get it to connect to both databases.
    oh, btw, is the 32 bit driver sqora32.dll?
    what would the 64 bit driver be named?
    thanks,
    Alan
    Edited by: user1219396 on May 10, 2013 9:36 AM

    So, checking what java is running:
    C:\>java -version
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
    However, I have C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf showing
    SetJavaHome C:\oracle\sqldeveloper\jdk1.6.0_45
    Also, I thought that the loading 32 bit on 64 bit system message meant that sql developer was 64 bit. Does it matter is sql dev is 64 or 32 bit and how do I tell which it is?
    Also, there is a log file that shows up in the sql dev bin folder that matches the time when the program closes, like hs_err_pid12380.log. It's showing:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d9fd904, pid=13208, tid=8988
    # JRE version: 6.0_45-b06
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # V [jvm.dll+0x11d904]
    So, appears that it is using the version specified in the .conf file. However, not seeing useful info in the log file, probably cause there's so much there.
    thanks
    When I try to get it to use the 64 bit driver, sql developer just closes. So, not sure if I'm actually pointing to the right location or what.

  • SQL Developer 3.1 JDBC connect to Teradata fail

    I have the 3.1 release of Oracle SQL developer. I have the JDBC drivers for Teradata. I am tyring to get it to connect but it is failing. The error is very nondescript and of not much benefit. When I create the connection and put in the host name, user ID, default db, and password and click Test I get:
    Status: Failure - Test failed: (null)
    Below is the detail.
    I put this same info into another SQL editor to test the drivers and it connected fine. So the driver and the info I am passing do not seem to be the problem.
    Is there any insight into this error. ( I did see a thread about turning off SSO, except it is already turned off so that is not my issue)
    Please help.
    java.lang.NullPointerException
         at com.teradata.tdgss.jtdgss.TdgssConfigApi.GetMechanisms(Unknown Source)
         at com.teradata.tdgss.jtdgss.TdgssManager.<init>(Unknown Source)
         at com.teradata.tdgss.jtdgss.TdgssManager.getInstance(Unknown Source)
         at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getGSSM(GenericTeraEncrypt.java:623)
         at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getConfig(GenericTeraEncrypt.java:641)
         at com.teradata.jdbc.jdbc.GenericTeraEncrypt.getUserNameForOid(GenericTeraEncrypt.java:734)
         at com.teradata.jdbc.AuthMechanism.<init>(AuthMechanism.java:50)
         at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:121)
         at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:209)
         at com.teradata.jdbc.jdk6.JDK6_SQL_Connection.<init>(JDK6_SQL_Connection.java:30)
         at com.teradata.jdbc.jdk6.JDK6ConnectionFactory.constructConnection(JDK6ConnectionFactory.java:22)
         at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:130)
         at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:120)
         at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:220)
         at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:153)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:153)
         at oracle.dbtools.thirdparty.teradata.TeradataConnectionCreator.getConnection(TeradataConnectionCreator.java:31)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:325)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:254)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:60)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:534)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:208)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:607)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:156)
         at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1043)
         at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:1024)
         at oracle.dbtools.raptor.navigator.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:115)
         at oracle.dbtools.raptor.navigator.AbstractConnectionNode.getConnection(AbstractConnectionNode.java:30)
         at oracle.dbtools.raptor.navigator.ConnectionFilter.getFactory(ConnectionFilter.java:94)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:119)
         at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:104)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)

    Hi,
    I did a web search for TdgssConfigApi.GetMechanisms null pointer and got lots of hits, but couldn't find any one specific cause. Some had issues with the version of the driver, some with placement of jar files in the correct location (depending on the version, there are 2 or 3), others with the format of the jdbc connect string.
    Try searching for and reading over some of these. Perhaps you can determine if any match your situation.
    Good luck,
    Gary

  • SQL Developer, how to save connections in a Citrix envrionment

    We have SQL Developer deployed in Citrix. The user creates new connections and saves them and exits the applicaiton. When they return to the applicaiton the connections are gone. How can I make these persistent? Where are these connections stored, in a file somewhere?
    Thanks for your patience and support

    Not exactly but very close. You pointed me in the right direction, thank you for your assistance
    I found the file at Application Data\SQL Developer\system2.1.1.64.45\o.jdeveloper.db.connection.11.1.1.2.36.55.30\connections.xml
    I guess this might be version specific, we are running, Oracle SQL Developer (2.1.1.64)
    JLH

  • SQL Developer "visits" each defined connection on startup

    I am using SQL Developer 2.1.1.64. When I start it, it "visits" each defined connection. I'm using the term "visits" rather than "connects" because it doesn't auto-expand the entries in the Connections list, and it doesn't open up any SQL Worksheets. But it is DEFINITELY doing something which causes it to attempt to access each of the database servers (perhaps only to determine if a connection is possible).
    Is there any way to turn this off?
    The reason I ask: I have a number of connections pre-defined, for accessing customers' systems through a corporate VPN. Each time I access a customer system, the VPN prompts me to login and indicate a reason for access. I don't want to have to loop through all of those prompts every time I start SQL Developer.
    Some of my colleagues are using older versions (1.2, 1.5), and they don't have this issue.

    Hi kilsen,
    Laptop have 4 connections which are on local vm and 7 connections on local database.
    Local database not started, only started database on vm at 192.168.0.211.
    Data from wireshark after starting SQL Developer.
    No.   Time         Source            Destination          Protocol Info
    374 35.733516   Dell_ac:3b:49         Broadcast             ARP      Who has 192.168.0.4?  Tell 192.168.0.199
    375 36.233705   Dell_ac:3b:49         Broadcast             ARP      Who has 192.168.0.34?  Tell 192.168.0.199
    376 36.272571   Dell_ac:3b:49         Broadcast             ARP      Who has 192.168.0.2?  Tell 192.168.0.199
    377 37.233707   Dell_ac:3b:49         Broadcast             ARP      Who has 192.168.0.34?  Tell 192.168.0.199
    378 37.233756   Dell_ac:3b:49         Broadcast             ARP      Who has 192.168.0.2?  Tell 192.168.0.199
    379 37.387648   Dell_ac:3b:49         Broadcast             ARP      Who has 192.168.0.211?  Tell 192.168.0.199
    380 37.387816   Vmware_ac:de:2e       Dell_ac:3b:49         ARP      192.168.0.211 is at 00:0c:29:ac:de:2eIt's broadcasting every 10 to 30 seconds looking for my local vm destinations where IP addresses are 192.168.0.2 , 4, 34 and 211.
    When i login to vm 211 connection, data from wireshark:
    384 37.388488   192.168.0.199         192.168.0.211         TNS      Request, Connect (1), ConnectFrom my limited observations, laptop only broadcast for local vm IP addresses and do not actually send request to connect.
    Indeed there is no visible side effects felt on my laptop.
    Because of my VPN, I get prompted each time an application initially accesses a remote server+
    which would mean that it indeed send request to connect for vpn connection.
    Unable to test as i have no vpn connection.
    Would be interesting if you can install wireshark and check it out.
    HTH
    Zack

  • 30EA1 - SQL-Developer 3.0.02 Connection Folder Bug

    hi,
    there are several treads concerning the poor "connection folder" (no sub-folders, folder-structure not in connection export,...) functionality...
    Today i found an new annoying "feature". If you rename a connection within a folder and restart SQL Developer, you will find the connection outside at the bottom of the folders. If you rename all connections within a folder, the folder disappears after restart.
    Its essential to reimplement the connection pane. The storage of the folder-structure outside "connections.xml" in "product-preferences.xml" will always be unmanageable!

    Bug 9734466: RENAME CONNECTION MOVES IT OUT OF THE CURRENT FOLDER
    see also Rename Connection
    I will add reference to this post in the bug.
    Brian Jeffries
    SQL Developer Team

  • Sql developer is able to connect, but NO toad or sqlplus or tns ping

    Hi folks,
    Come across an interesting situation, able to connect using sql developer, but no tns ping or toad or even sql plus too, what do you think, what is the problem and how to fix too.
    Guidance/assistance will highly be appreciated.
    Thanks.

    user8604530 wrote:
    Sorry folks, for not providing complete info ... apologize for this inconvenience, here is error + version too:
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 11 16:30:05 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Enter user-name:
    Error for tnsping too, where as, able to ping the server, but not to db.
    As told earlier too, able to work via sql developer.we still do not know what exactly you did that throws the error!
    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • How to use Oracle SQL Developer 4.0 to connect to Ms Access file with .accdb extension

    Hi all,
    I am using Oracle SQL Developer 4.0 and Ms Access 2013 under Windows 7 (64 bits)
    After browsing and selecting MS Access file with accdb extention, I got  an error message  :[Microsoft] " Data source name not found and no default driver specified".
    On Administravitve Tools=> ODBC Data Source Administrator=>Drivers I have                                                File                                date
    Name :                                                                               Version
    Microsoft Acess Driver (*.mdb, *accdb)                                 12.00.4518.1014                                        ACEODBC.DLL                    26/10/2006
    Would you please advise?
    Thank you very much in advance

    That MS Access driver is 64-bit, I think.  If SQL Developer, or JDK is 32-bit you need to use the 32-bit driver.   You can see if you have a 32-bit driver installed using  c:\windows\system32\odbcadm32.exe

  • EA3 and EA2 - bug - cannot connect to global accounts in 10g databases

    It is not possible to connect using a global account (LDAP-authenticated) for a 10.1 or 10.2 database. It works fine with 9.2, and all such connections work fine in SQL Dev 1.2.
    The EA2 thread for this bug is at EA2 - Cannot connect LDAP-authenticated users in 10.1 and 10.2, OK in 9.2 It includes all of the other relevant details.

    I should probably add that I am able to make successful connections via sqlplus and other tools (SQL Navigator) with the users that fail to connect in SQL Developer.

  • Upraded Sql Developer and can't connect to Oracle

    I just updated to the Dec 2009 release and now I can't connect
    When I click the plus or right click on Connections and select "New Connection" nothing happens.
    If I monitor processes in task manager it shows a brief spike in cpus and a small increase in memory usage but nothing happens in the app.
    I also noticed that when I close the application it does not leave memory. I have to kill the process via the task manager to get rid of it.
    If I go back to version 1.5.1 it works fine. It also leaves memory when terminated
    Using winxp r3.

    Here is the beginning of the output:
    E:\sqldeveloper\sqldeveloper\bin>sqldeveloper
    Feb 24, 2010 8:30:27 AM javax.ide.extension.ElementVisitor log
    SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.snippet.jar!/META-INF/extension.xml:16: Duplicate declaration of addin
    oracle.dbtools.raptor.snippet.SnippetAddin. Previously defined in extension oracle.dbdev.snippet
    Feb 24, 2010 8:30:27 AM javax.ide.extension.ElementVisitor log
    SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.snippet.jar!/META-INF/extension.xml:17: Duplicate declaration of addin
    oracle.dbtools.raptor.snippet.SaveSnippetAddin. Previously defined in extension oracle.dbdev.snippet
    Feb 24, 2010 8:30:27 AM javax.ide.extension.ElementVisitor log
    SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.jar!/META-INF/extension.xml:16: Duplicate declaration of addi
    n oracle.dbtools.migration.workbench.core.MigrationAddin. Previously defined in extension oracle.dbtools.migration
    Feb 24, 2010 8:30:27 AM javax.ide.extension.spi.SAXManifestParser$Handler endElement
    SEVERE: jar:/file:/E:/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.jar!/META-INF/extension.xml:22: Exception processing manifest
    : java.lang.NumberFormatException:For input string: "VIEW_CATEGORY_MENU"
    java.lang.NumberFormatException: For input string: "VIEW_CATEGORY_MENU"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:447)
    at java.lang.Integer.parseInt(Integer.java:497)
    at oracle.ide.util.ArrayResourceBundle.handleGetObject(ArrayResourceBundle.java:495)
    at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
    at java.util.ResourceBundle.getString(ResourceBundle.java:344)
    Here is a snip from partway down:
    Exception initializing 'oracle.jdevimpl.runner.profile.ProfilerShell' in extension 'Database Developer': oracle.classloader.util.AnnotatedNoClassDefFo
    undError:
    Missing class: oracle.jdevimpl.runner.profile.ProfArb
    Dependent class: oracle.jdevimpl.runner.profile.ProfilerShell
    Loader: ide-global:11.1.1.0.0
    Code-Source: /E:/sqldeveloper/jdev/extensions/oracle.onlinedb.jar
    Configuration: extension jar in E:\sqldeveloper\jdev\extensions
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2180) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.
    jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1733) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.ja
    r (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.java:143) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from
    system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClassLoader.java:331) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.j
    ar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
    at java.security.AccessController.doPrivileged (Native method) [unknown, by unknown]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1692) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from
    system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1674) [/E:/sqldeveloper/modules/oracle.classloader_11.1.1.jar (from
    system property java.class.path), by sun.misc.Launcher$AppClassLoader@24216257]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:320) [jre bootstrap, by jre.bootstrap:1.6.0_10]
    at oracle.jdevimpl.runner.profile.ProfilerShell.createRunMenuItem (ProfilerShell.java:193) [/E:/sqldeveloper/jdev/extensions/oracle.onlinedb.j
    ar (from extension jar in E:\sqldeveloper\jdev\extensions), by ide-global:11.1.1.0.0]
    There are around 500 lines of output none of which tells me what is wrong

  • Cannot connect and run query for Access database

    Hi,
    I have a html file and a servlet file which contains code to connect to a database. I also have a sales database with customer table along with other tables in Access. I have created a DSN in Windows named sales which connects to the sales database. Now, when I am running the html form, the servlet does not run the query "Select * from Customer". It seems it cannot make any connection to the database.
    Any help is appreciated. I am very new to JDBC technology. Thanks.
    HTML FORM CODE:
    <html>
    <head><title>Sales</title></head>
    <body>
    <form action="http://localhost:8100/servlet/SalesServlet" method=POST>
    <strong>Select:</strong>
    <textarea cols=50 rows=8 name=select></textarea><p>
    <input type=submit value="Query">
    <input type=reset>
    </form></body></html>
    SALESSERVLET CODE:
    //Copyright (c) 2000, Art Gittleman
    //This example is provided WITHOUT ANY WARRANTY either expressed or implied.
    /* Queries the Sales database. Needs to be modified
    * to use metadata to correctly output the result set.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import sun.jdbc.odbc.JdbcOdbcDriver;
    public class SalesServlet extends HttpServlet {
    Connection con;
    Statement stmt;
    public void init(ServletConfig sc) throws ServletException {
    super.init(sc);
    try{
    new JdbcOdbcDriver();
    String url = "jdbc:odbc:Sales";
    String user = "";
    String password = "";
    con = DriverManager.getConnection(url, user, password);
    stmt = con.createStatement();
    }catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    public void doGet(HttpServletRequest req,
    HttpServletResponse resp)
    throws ServletException, IOException {
    resp.setContentType("text/html");
    PrintWriter out = resp.getWriter();
    try{
    String query = req.getParameter("select");
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsMetaData = rs.getMetaData();
    int cols = rsMetaData.getColumnCount();
    while(rs.next()) {
    String s = "";
    for(int i=1; i<=cols; i++)
    s += rs.getString(i) + ' ';
    s += "<br>";
    out.println(s);
    }catch(Exception e) {
    e.printStackTrace();
    out.close();
    public void doPost(HttpServletRequest req,
    HttpServletResponse resp)
    throws ServletException, IOException {
    doGet(req,resp);
    }

    String url = "jdbc:odbc:Sales";
    String user = "";
    String password = "";
    con = DriverManager.getConnection(url, user, password);This might be causing your problem, but not sure. Since you don't need a username or password for the ODBC connection, you can just use
    con = DriverManager.getConnection(url);
    The username and password aren't needed, so you can just use the above call instead. Perhaps the ODBC is trying to find a user called "" with a password "" and puking on itself, who knows... but you should post whatever exceptions or specific problems you're having that make you think you're not connecting.

  • SQL Developer 1.5.4 failed to migrate MS Access 2002 database

    Hello,
    I tried to migrate a MS Access 2002 Database to Oracle.
    Migration of tables failed in both ways:
    Exporter for MS Access Rel. 3.2.0.00.13 displayed the following error:
    Error #5 - XMLExporter - Ungültiger Prozeduraufruf oder ungültiges Argument c:\Access\Stammdaten_Beton_test.mdb Database Schema Export did not complete successfully.
    (translated German parts: "Invalid procedure call or invalid argument")
    When using quick migration wizard also an error "Ungültiger Prozeduraufruf oder ungültiges Argument" is raised after Access starts.
    AutoExec, "ShowSplashScreen("_OracleSplashScreen",3)".
    Any ideas?
    Access version is MS Access 2002 SP3 (German) on a German Windows XP SP3 system.
    Thank you and best regards
    Volker Ricke

    There was a similar issue logged here
    Migrating MS Access database error
    They downgraded the mdb file to 2000 and they where able to capture it then.
    We will be looking at this issue for a future release.
    Regards,
    Dermot.

  • Cannot connect HTTP Server for oracle 9i database

    I tried starting the HTTP Sever for oracle 9i, but i keep getting this error:
    Could not start the OracleOraHome92HTTPServer service on Local Computer.
    The service did not return an error. This could be an internal Windows error or an intrenal service error.
    If the problem persists, contact your system administrator.
    Any thoughts??
    Also I get an ORA- 12535 TNS:timed- out error when I try accessing oracle 9i to create a new database...
    Help....
    Thanks in advance

    Hi Jim,
    the command is 'apachectl start'. You find the executable apachectl under $ORACLE_HOME/Apache/Apache/bin .
    Best regards
    Werner

Maybe you are looking for