Skip to Main Content

Java Database Connectivity (JDBC)

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!

can't connect oracle by jdbc thin driver

403010Sep 5 2003 — edited Sep 21 2003
i am new to jdbc ,and pls help me,thanks a lot!
my server:win2k server with oracle 8.1.7
my client:win2k professional with oracle client and jdk1.4
and when i test my jdbc connection(on client pc) with the example shipped by oracle i got these message:(i had changed the connect string in the JdbcApplet.java and complied and set the CLASSPATH )

Loading JDBC driver oracle.jdbc.driver.OracleDriver
Connecting to jdbc:oracle:thin:scott/tiger@(description=(address_list=(address=(protocol=tcp)(host=192.168.0.100)(port=1521)))(source_route=yes)(connect_data=(sid=orcl)))
access denied (java.net.SocketPermission 192.168.0.100:1521 connect,resolve)

how can i handle this???

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2003
Added on Sep 5 2003
3 comments
602 views