Hi
I need to invoke a simple
servlet which has
JDBC connection with oracle9i. I am able to create connetion with
Web Logic successfully But now I am trying to make it with jakarta tom cat 5.0.16 which giving me problem
Problem Statement :
First Part
***********
When Oracle service is stopped on my machine,
I am able to invoke servlet from browser and it is showing Debugging statement and showing this error ------>
Exception was thrown: ORA-06401: NETCMN: invalid driver designator
-----------------------------------------------------------------------
Second Part
**********
When oracle service is running on my machine
no response from Tom cat console and even No connetion <br>
between BROWSER AND TOM CAT ie. browser is not invoking servlet by hitting url .
My code for JDBC connection is
-------------------------------
<<<
System.out.println("Establishing driver");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc
racle
ci:@HostName:1521
rcl","scott","tiger");
System.out.println("connetion established ");
Essence is
*************
So not getting response from tom cat when oracle service is running is one problem and Not sure about connection
string is second problem ....
pls help me regarding this
thanks a lot in advance