Hi,
I am using oracle 10 g,
When i am executing the Login.jsp page, it is giving me error like this......
error while connecting to Oraclejava.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
The Connection descriptor used by the client was:
//localhost:1521/Scott
My tnsnames.ora file contains..
Scott =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.112.4.99)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME =
test)
)
)
this entry.
And my connection snippet is like this
Please solve my problem
Regards,
Rupa.