I use Oracle8.1.7, but some thinh have error logs below : java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12540)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=510)(EMFI=4))(ERROR=(BUF='Solaris Error: 11: Resource temporarily unavailable')))) Please help ! Thanks
NDTH Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however, your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy. Thanks again and we hope to see you around the ranch!!
Hi , Please try this syntax to connect to the database it really worked for me: String url = "jdbc racle:thin:@(DESCRIPTION = (ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = <hostname> (PORT = <port> ))(CONNECT_DATA =(SERVICE_NAME = <servicename> ))"; .getConnection(url,"username", "password");