Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Running JSP on CF10 connecting to Oracle

$
0
0

I am running a JSP application on CF10 and trying to connect to an Oracle 11g data source. I cannot find any information or examples on how this might be done. Any info on how I can do this would be greatly appreciated. I have tried the the following but receive an error.

 

Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","username","password" );

 

root cause

 

javax.servlet.ServletException: java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:orcl

 

Thanks


Viewing all articles
Browse latest Browse all 5794


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>