Go Back   SmartClient Forums > Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 9th Aug 2007, 09:13
mohanchowdary mohanchowdary is offline
Registered Developer
 
Join Date: Jul 2007
Posts: 11
Default Unable to Connect to Oracle from Admin Console

Hi
I a, trying to connect to ORacle database from the Admin Console. I did the following setup

Database ID : My Oracle
Database Type : Oracle
Obtain Connections Using : DriverManager
Driver Implementer : oracle.jdbc.driver.OracleDriver
Server Name : 127.0.0.1
Port Number : 1551
Database Name/SID : MYSID
User : uid
Password : pwd
Driver Name : thin

but i get the following error :
[sor2] INFO AdminConsole - [adminConsole.testDB] testDB (My Oracle) error: java.sql.SQLException: invalid arguments in call


Can u pls help in identifying the issue.

Thanks
Reply With Quote
  #2  
Old 9th Aug 2007, 12:35
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,580
Default

Hi -

For the Database, using the DriverManager approach, we recommend using an explicit JDBC URL. Just check the "Specify explicit JDBC URL" and type it in. E.g:

jdbc:oracle:thin:scott/tiger@//myhost:1521/orcl

Does this solve your problem?
Reply With Quote
  #3  
Old 10th Aug 2007, 06:57
mohanchowdary mohanchowdary is offline
Registered Developer
 
Join Date: Jul 2007
Posts: 11
Default

Thanks a lot -- It is working
But need to format of the JDBC URL is

URL Format ------ jdbc:oracle:thin:[uid]/[pwd]@[host]:[port]:[database]

URL ------------- jdbc:oracle:thin:scott/tiger@myhost:1521:orcl

Last edited by mohanchowdary; 10th Aug 2007 at 11:16..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved