Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

connection with Advanced - custom JDBC URL fails with some valid JDBC-URLs

berxOct 12 2012 — edited Oct 15 2012
Hi,

I am trying to create a connection with a custom JDBC connection string, but SQL*Developer throws the error message:
Status : Failure -Test failed: Required property 'hostname' is not set on the DatabaseProvider
my tests are:
<li> with connection via Connection Type set to TNS and a proper alias - it works fine
<li> with connection via Connection Type set to Advanced and exactly the same values from tns in the url:
jdbc:oracle:thin:@(DESCRIPTION=(enable=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=172.24.32.113)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=RESTSVP_SITE1)))
- it fails with
Status : Failure -Test failed: Required property 'hostname' is not set on the DatabaseProvider
<li> with JDBC URL set to
jdbc:oracle:thin:@172.24.32.113:1521/RESTSVP_SITE1
- it works fine

As my jdbc url is quite close to the example in [url http://docs.oracle.com/cd/E11882_01/java.112/e16548/apxtblsh.htm#CHDBBDDA]Using JDBC with Firewalls maybe someone can help me to fix it?

Martin

Edited by: berx on Oct 12, 2012 11:32 AM - fixed typos
This post has been answered by Turloch O'Tierney-Oracle on Oct 15 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2012
Added on Oct 12 2012
6 comments
18,618 views