File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes JDBC realm URL Tomcat4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "JDBC realm URL Tomcat4.0" Watch "JDBC realm URL Tomcat4.0" New topic

JDBC realm URL Tomcat4.0

srinivas raju

Joined: Nov 27, 2001
Posts: 5
can anyone me to configure JDBC Realm for oracle
i had tried it and i get this exception.
i know my URL is not correct can anyone tell the correctURL
"jdbc racle:thin:@","scott","tiger"
i get this exception
Catalina.start: LifecycleException: Exception opening database connection: java.sql.SQL
Exception: invalid arguments in call
LifecycleException: Exception opening database connection: java.sql.SQLException: inval
id arguments in call
Jim Bertorelli
Ranch Hand

Joined: Nov 28, 2001
Posts: 136
Try this:
Connection con = DriverManager.getConnection("jdbc racle:thin:@", "scott", "tiger" );

Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
The string needs to be one string for your database url
Give this a try.

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
[This message has been edited by Carl Trusiak (edited December 03, 2001).]

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
I agree. Here's the link:
subject: JDBC realm URL Tomcat4.0
It's not a secret anymore!