Java connection to an oracle database
Hi people,
i have been struggling with this for a quite a while now and it is getting very fustrating.
I have developed this on one machine and it works fine and when i deply it onto a test machine it only gets so far and fails.
try
{
logger.debug("<_InitDatabase>: Trying to open connection." );
//Create the data source for the connection
[b]DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver() );[/b]
logger.debug("<_initDatabase>: driver set up." );
conn = DriverManager.getConnection( strConnection, strUser, strPassword );
}
catch ( SQLException e )
{
logger.debug("<_initDatabase>: IOException: " + e.getMessage() );
returnfalse;
}
It gets to the line in bold shown above and no further, the logging shows all responses up to "Trying to open connection" and not
logger.debug("<_initDatabase>: driver set up." );
is there a reason why it would fail on the register driver line?
Any help much appreciated as i am running out of ideas.
Thanks in advance.

