• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Strange Oracle 9i connection problem

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
get the following :
SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
I only get this when running from win2000 to Linux. While on the linux box this runs fine exactly as stated below - no change in code between Win2K and Linux.
Here's the code:
import java.sql.*;
public class jdbcTest {

public static void main(String args[]) {
String url="jdbc racle:thin:@192.168.0.22:1521:test1";
Statement stmt;
Connection con;
String createString = "select * from dept";
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
} catch (java.lang.ClassNotFoundException e) {
System.err.print("ClassNotFoundException: ");
System.err.println(e.getMessage());
}
try {
con=DriverManager.getConnection(url,"scott","tiger");
stmt=con.createStatement();
ResultSet rs = stmt.executeQuery(createString);
while(rs.next()) System.out.println(rs.getString(1));

stmt.close();
con.close();
}
catch(SQLException e) {
System.err.println("SQLException: " + e.getMessage());
}
}
}
Looked at the error message on OTN and they request that I submit a bug report. The driver class is class111.zip.
Any ideas?
[ March 19, 2002: Message edited by: Gregory Garrison ]
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which container are you using?
I'm getting a similiar error in Bea Weblogic 6.
I found a reference link.
http://castor.exolab.org/list-archive/msg20428.html
That refers to using "ojdbc1.4.jar" instead of classes<ver>.jar but I can't find a place to download ojdbc1.4.jar. So I'm not exactly sure if this is a fix.
 
This tiny ad is guaranteed to be gluten free.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic