header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 12:22:23 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Connection String for Oracle datasource
Welcome, Guest. Please login or register.
November 22, 2008, 12:22:23 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Connection String for Oracle datasource
« previous next »
Pages: [1] Print
Author Topic: Connection String for Oracle datasource  (Read 432 times)
Tareque
Newbie
*
Posts: 17


« on: March 11, 2008, 03:33:49 pm »

Hi,
I am trying to create an Oracle datasource specifying the following
DriverClass
oracle.jdbc.pool.OracleDataSource
ConnectionString
jdbc:oracle:thin:@localhost:1571:dtwd;user=FAST;password=FASTER;

It fails giving SQLEXception invalid arguments in call.
I think that the ConnectionString format which i have given is incorrect, can you please provide the correct format for the ConnectionString for Oracle.
Thanks
Tareque
Logged
Tareque
Newbie
*
Posts: 17


« Reply #1 on: March 11, 2008, 07:44:29 pm »

Hi Ole,
From an earlier post i found that we have to specify the url in the following format
jdbc:oracle:thin:scott/tiger@10.185.13.128:1521:ora9i


I have done the same now in my DataSource
jdbc:oracle:thin:FAST/FASTER@10.185.13.128:1521:dtwd
but i am getting IO error
Tue Mar 11 14:36:49 EDT 2008:ERROR:java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

This is not a network issue as I am able to access the DB using a groovy script.
def sql = groovy.sql.Sql.newInstance("jdbc:oracle:thin:@10.185.13.128:1571:dtwd", "FAST", "FASTER", "oracle.jdbc.pool.OracleDataSource")
Can you please tell me how i can use this sql connection that I have created  in the groovy script in the DataSource Step.
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #2 on: March 12, 2008, 01:27:36 pm »

Hi Tareque,

hmm.. I don't really know why this isn't working when you use it in the DataSource step. What driver class have you specified in the JDBC DataSource configuration page? Can you send a screenshot of the entire config?

regards!

/Ole
eviware.com
Logged
Tareque
Newbie
*
Posts: 17


« Reply #3 on: March 12, 2008, 02:40:56 pm »

Hi Ole,
The screen shot is attached. The driver class that i am using is
oracle.jdbc.driver.OracleDriver i also tried
oracle.jdbc.pool.OracleDataSource but that is giving me no suitable driver class found error.
Regards
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header