Hi All, Wanna share the solution,
If you look the error Error Caught while creating a connection in EPP dB: = org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=( ERROR=(CODE=12505)(EMFI=4)))) ORA Error Code "12505" means "TNS:listener could not resolve SID given in connect descriptor" After correcting every thing is woking fine .. Thanks ABhay -----Original Message----- From: Harry Mantheakis [mailto:[EMAIL PROTECTED] Sent: Monday, April 05, 2004 1:56 PM To: Tomcat Users List Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null' Importance: High Hello > What is postgresql JAR? It is the JDBC driver for the PostgreSQL database. You do not need it if you are connecting to an Oracle database - but, of course, you need the Oracle equivalent, which I am sure you already have if you have managed to make 'single' connections, as you say. I cannot help you with your problem, but the key words in the error output would seem to be: 'Connection refused'. Make sure that *all* your connection details are specified correctly. HTH Harry > Hi, > > This is my server.xml code: > > <parameter> > <name>driverClassName</name> > <value>oracle.jdbc.driver.OracleDriver</value> > </parameter> > <parameter> > <name>url</name> > <value>jdbc:oracle:thin:@servername.mot.com:1521:dev</value> > </parameter> > > What is postgresql JAR? > Do I need this ? > I am using Oracle 8.x and T5. > I am able to connect thru driverManager code .. Single connection > > Best Regards > Abhay Kumar > > -----Original Message----- > From: Paul Mansfield [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 12:29 PM > To: Tomcat Users List > Subject: RE: Cannot create JDBC driver of class '' for connect URL > 'null' > > > On Mon, 2004-04-05 at 18:35, Kumar Abhay-CAK203C wrote: >> Hi, >> >> I am getting following error while creating Connection Pool using >> above code: >> >> Error Caught while creating a connection in EPP dB: = >> org.apache.commons.dbcp.SQLNestedException: Cannot create >> PoolableConnectionFactory, cause: Io exception: Connection >> refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12505)(ERROR_STACK=( >> E >> RROR=(CODE=12505)(EMFI=4)))) > > sounds like either firewall blocking conn's, or bad username/password > in your config > > try an manual "telnet dbserver portnum" to verify the former --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]