hi,

i'm using a tomcat server for connecting to oracle database using JSP.
all the JDBC drivers r in their right place

connection url is :
jdbcracle:thin@127.0.0.1:1521rcl

i'm getting the following error(network adapter could not establish connection)

what's wrong? is it with port number or SID? or something else
please do reply. it's very annoying error

java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:169)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:211)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:324)
at oracle.jdbc.driver.OracleConnection.(OracleConnect ion.java:266)
at oracle.jdbc.driver.OracleDriver.getConnectionInsta nce(Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriv er.java:260)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager .java:137)
at jsp._0002fjsp_0002ffirst_0002ejspfirst_jsp_22._jsp Service(Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWra pper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(Compi led Code)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at org.apache.tomcat.core.ServletWrapper.doService(Se rvletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.jav a:286)
at org.apache.tomcat.core.ServletWrapper.service(Serv letWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalServ ice(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(Cont extManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandl er.processConnection(HttpConnectionHandler.java:21 0)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Co mpiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable. run(Compiled Code)
at java.lang.Thread.run(Compiled Code)