Germ�n,
Where's your net service name?
Have you tried connecting using the TNSNames key value pairs?
ie: String dbConnectString =
"(DESCRIPTION=(ADDRESS=(HOST=host_name)" +
"(PROTOCOL=tcp)(PORT=1521))"+
"(CONNECT_DATA=(SERVICE_NAME=servicename)))";
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@" +
dbConnectString,"scott","tiger");
I had trouble connecting any other way.
Joe Milora
Eagle Technology
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets