This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JDBC 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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Strange Oracle 9i connection problem
Similar Threads
No Suitible Driver Error
Access to the Oracle database using Java Applets
ClassNotFoundException generated!
Error in connection