jdbc connectivity problems

risan123

New Member
Hi,
: I am trying to run a java program that establishes connection thru jdbc to oracle 8.1.5 database.When i try running the .class file i get a window popped up on my screen saying "this program has performed an illegal operation".
: I checked the logfile & found out that the tns entries are not correct.
: I did the necessary changes to it but i keep getting the problem again & again .I have struggled with it for almost 3 days & have turned to this club to help me out of this situation (HELP VERY VERY MUCH NEEDED)
: TNSNAMES ENTRY IS
: ==================
: ORCL =
: (DESCRIPTION =
: (ADDRESS_LIST =
: (ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = 127.0.0.1))
: )
: (CONNECT_DATA =
: (SERVICE_NAME = ORCL)
: )
: )

: LISTENER ORA ENTRY IS
: =====================
: LISTENER =
: (DESCRIPTION_LIST =
: (DESCRIPTION =
: (ADDRESS_LIST =
: (ADDRESS = (PROTOCOL = IPC)(KEY = ORCL))
: )
: (ADDRESS_LIST =
: (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
: )
: )
: )
 
Top