Hai, ich versuche gerade eine DB-Verbindung zu einer Oracle 8er DB aufzubauen.
Hier der Code für das Öffnen der DB:
Folgende Fehlermeldung beim Zugriff auf eine 8er wird ausgegeben:
Siehe Fehlercode com.borland.dx.dataset.DataSetException: BASE+66
com.borland.dx.dataset.DataSetException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.throwException(Unknown Source)
at com.borland.dx.dataset.DataSetException.SQLException(Unknown Source)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at TC_Dialogpflege.TC_Dialogpflege.dbopen(TC_Dialogpflege.java:131)
at TC_Dialogpflege.TC_Dialogpflege.init(TC_Dialogpflege.java:81)
at com.borland.jbuilder.runtime.applet.AppletTestbed.startApplet(Unknown Source)
at com.borland.jbuilder.runtime.applet.AppletTestbed.main(Unknown Source)
Exception-Kette:
java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:288)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:357)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at TC_Dialogpflege.TC_Dialogpflege.dbopen(TC_Dialogpflege.java:131)
at TC_Dialogpflege.TC_Dialogpflege.init(TC_Dialogpflege.java:81)
at com.borland.jbuilder.runtime.applet.AppletTestbed.startApplet(Unknown Source)
at com.borland.jbuilder.runtime.applet.AppletTestbed.main(Unknown Source)
usw.....
Der Zugriff auf eine andere DB (9er oder 10er) funktioniert ohne Probleme. Ich bin mir sicher, dass der Zugriff auf die 8er schon einmal funktioniert hat. Allerdings hat der Rechner, auf dem die 8er liegt, eine andere IP bekommen. Kann das damit zusammen hängen.
Bin echt am verzweifeln. :cry: Ich hoffe mit kann jemand helfen.
Dirk
Hier der Code für das Öffnen der DB:
Code:
try {
db.setConnection(new ConnectionDescriptor(
"jdbc:oracle:thin:@192.168.0.2:1521:hw2", bed, pwd, false,
"oracle.jdbc.driver.OracleDriver"));
db.openConnection();
}
catch (Exception err) {
err.printStackTrace();
}
Folgende Fehlermeldung beim Zugriff auf eine 8er wird ausgegeben:
Siehe Fehlercode com.borland.dx.dataset.DataSetException: BASE+66
com.borland.dx.dataset.DataSetException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.throwException(Unknown Source)
at com.borland.dx.dataset.DataSetException.SQLException(Unknown Source)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at TC_Dialogpflege.TC_Dialogpflege.dbopen(TC_Dialogpflege.java:131)
at TC_Dialogpflege.TC_Dialogpflege.init(TC_Dialogpflege.java:81)
at com.borland.jbuilder.runtime.applet.AppletTestbed.startApplet(Unknown Source)
at com.borland.jbuilder.runtime.applet.AppletTestbed.main(Unknown Source)
Exception-Kette:
java.sql.SQLException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:288)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:357)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at TC_Dialogpflege.TC_Dialogpflege.dbopen(TC_Dialogpflege.java:131)
at TC_Dialogpflege.TC_Dialogpflege.init(TC_Dialogpflege.java:81)
at com.borland.jbuilder.runtime.applet.AppletTestbed.startApplet(Unknown Source)
at com.borland.jbuilder.runtime.applet.AppletTestbed.main(Unknown Source)
usw.....
Der Zugriff auf eine andere DB (9er oder 10er) funktioniert ohne Probleme. Ich bin mir sicher, dass der Zugriff auf die 8er schon einmal funktioniert hat. Allerdings hat der Rechner, auf dem die 8er liegt, eine andere IP bekommen. Kann das damit zusammen hängen.
Bin echt am verzweifeln. :cry: Ich hoffe mit kann jemand helfen.
Dirk