File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Strange Oracle 9i connection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Strange Oracle 9i connection problem" Watch "Strange Oracle 9i connection problem" New topic

Strange Oracle 9i connection problem

Gregory Garrison
Ranch Hand

Joined: Oct 05, 2001
Posts: 107
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:@";
Statement stmt;
Connection con;
String createString = "select * from dept";
try {
} catch (java.lang.ClassNotFoundException e) {
System.err.print("ClassNotFoundException: ");
try {
ResultSet rs = stmt.executeQuery(createString);
while( System.out.println(rs.getString(1));

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
Any ideas?
[ March 19, 2002: Message edited by: Gregory Garrison ]
Ray Lim

Joined: Jan 10, 2002
Posts: 15
Which container are you using?
I'm getting a similiar error in Bea Weblogic 6.
I found a reference link.
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.
I agree. Here's the link:
subject: Strange Oracle 9i connection problem
It's not a secret anymore!