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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle forms not getting connected to Database

Hi Team, I am trying to connect my Oracle forms builder project to database. But i am not.
I tried several ways.
set env variable for tsnames.ora file.
set the case_sensitive to false.

ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON=FALSE;

Also, tried several combinations for Username/password.
Followed- https://community.oracle.com/tech/developers/discussion/2178104/not-able-to-connect-to-database-in-oracle-forms-and-reports

My sqldeveloper connection for SYS-
Screenshot 2022-12-13 050340.pngtsnames.ora file present in --
C:\App\db_home\network\admin\tsnames.ora
# tnsnames.ora Network Configuration File: C:\App\db_home\NETWORK\ADMIN\tnsnames.ora

# Generated by Oracle configuration tools.


LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))




ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )


ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)

 C:\ORA\MWFR\12cappr2\forms1\tsnames.ora

#
# sample tnsnames.ora file
#
# sample entry
#<ALIAS> = (DESCRIPTION =(ADDRESS_LIST =
#              (ADDRESS = (PROTOCOL = TCP)
#              (HOST = <HOST>)(PORT = <PORT>)))
#              (CONNECT_DATA = (SID = <SID>)))
#
#


Now, please consider the above information to get the User id/ password to fill in below -(Oracle forms builder)
Screenshot 2022-12-13 050512.png

Comments
Post Details
Added on Dec 12 2022
1 comment
687 views