Link to home
Start Free TrialLog in
Avatar of craigalbritton
craigalbrittonFlag for Afghanistan

asked on

How do I connect to a remote Oracle 9i database from Windows 7?

I recently upgraded my laptop to Windows 7, and I am now unable to connect to a legacy Oracle 9i database with the Oracle 10g Client or the Oracle 9i Client.  The 9i client would never fully install for compatibility reasons, and the 10g client yields this error -->

ORA-03134: Connections to this server version are no longer supported.

I have been digging around this issue for a week or so to no avail, so any help would be greatly appreciated.
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Unless some other expert knows some tricks I can't think of a way around this.

If you have the horsepower on the laptop you can create a virtual machine with a supported OS for 9i and connect through it.
Avatar of craigalbritton

ASKER

slightwv - That's the answer I was dreading, but I will wait a few days to see if any solution surfaces. Thanks!
Not correct...

I connect to a Oracle 9i and 10b from windows 7 using the clients Oracle provide..

Then use Toad or C#..
You will NEED to run it in compatibility mode for Vista if you download the vista client.
You can do this with the help of SQL Developer tool provided by Oracle itself. It is java based and it does not have hassles of installations. In that you can do a direct connect by specifying the IP and SID and no need for TNS configuration. I think SQL Developer can solve your problem easily.
After installing the SQL Developer v2.1.1.64, I created a connection for an Oracle 9i database with Connection Type: Basic.  Everything else is correct as I have done this many times on pre-Windows7 OS's without any issue.  Any ideas?

Here is the error I receive:
java.lang.NullPointerException
      at oracle.jdbc.driver.T4C8TTIdty.marshal(T4C8TTIdty.java:465)
      at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:329)
      at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
      at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
      at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:465)
      at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:153)
      at oracle.dbtools.raptor.standalone.connection.RaptorConnectionCreator.getConnection(RaptorConnectionCreator.java:195)
      at oracle.dbtools.raptor.dialogs.conn.ConnectionPrompt.promptForPassword(ConnectionPrompt.java:67)
      at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:321)
      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.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:562)
      at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.getDatabase(Connections.java:149)
      at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:896)
      at oracle.dbtools.raptor.utils.Connections.getConnection(Connections.java:877)
      at oracle.dbtools.raptor.navigator.DatabaseConnection.openConnectionImpl(DatabaseConnection.java:117)
      at oracle.dbtools.raptor.navigator.AbstractConnectionNode.getConnection(AbstractConnectionNode.java:30)
      at oracle.dbtools.raptor.navigator.ConnectionFilter.getFactory(ConnectionFilter.java:92)
      at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:117)
      at oracle.dbtools.raptor.navigator.ConnectionFilter$1.doWork(ConnectionFilter.java:102)
      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:492)
      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:619)
Probably you have not downloaded the sql developer which comes bundled with java. You might be using the one where you have to install java. Try using the bundled one.
Hi
for example right click on sqlplus and then properties
and change the  compatibility mode  to windowsXP/2000 ......
ASKER CERTIFIED SOLUTION
Avatar of craigalbritton
craigalbritton
Flag of Afghanistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial