tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micael <caraun...@harbornet.com>
Subject Re: commons dbcp, tomcat, pointbase
Date Tue, 20 May 2003 16:43:28 GMT
Have you tried making a test "hard coded" connection to see if the 
Pointbase Server in fact is running on Port 9?

At 09:41 AM 5/20/03 -0700, you wrote:
>Hi,
>
>I was wondering if there is any known problem with commons dbcp, tomcat, 
>and pointbase?  I have a pointbase server running but cannot seem to make 
>a connection due to the following DBCP borrowObject failed error.  Has 
>anyone been successful using commons-dbcp, tomcat, and pointbase?
>
>Thanks,
>Amy
>
>DBCP borrowObject failed: java.sql.SQLException: SQL-server rejected
>establishme
>nt of SQL-connection. Pointbase Server may not be running on localhost
>at port 9
>092.
>org.apache.commons.dbcp.DbcpException: java.sql.SQLException:
>SQL-server rejecte
>d establishment of SQL-connection. Pointbase Server may not be running
>on localh
>ost at port 9092.
>         at
>org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
>erConnectionFactory.java:85)
>         at
>org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
>ConnectionFactory.java:184)
>         at
>org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown S
>ource)
>         at
>org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObj
>ectPool.java:117)
>         at
>org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSo
>urce.java:110)
>         at
>org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
>.java:312)
>         at dbservlet.DBConnServlet.doGet(DBConnServlet.java:58)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>icationFilterChain.java:247)
>         at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>ilterChain.java:193)
>         at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>alve.java:260)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>alve.java:191)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
>2415)
>         at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>ava:180)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
>rValve.java:170)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:641)
>         at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>ava:172)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:641)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>ve.java:174)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
>3)
>         at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>:432)
>         at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>ssConnection(Http11Protocol.java:386)
>         at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
>:534)
>         at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>ool.java:530)
>         at java.lang.Thread.run(Thread.java:536)
>DBCP borrowObject failed: java.sql.SQLException: SQL-server rejected
>establishme
>nt of SQL-connection. Pointbase Server may not be running on localhost
>at port 9
>092.
>Caused by: java.sql.SQLException: SQL-server rejected establishment of
>SQL-conne
>ction. Pointbase Server may not be running on localhost at port 9092.
>         at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown
>Source)
>         at
>com.pointbase.net.netJDBCConnection.establishConnection(Unknown Sourc
>e)
>         at com.pointbase.net.netJDBCConnection.<init>(Unknown Source)
>         at com.pointbase.net.netJDBCDriver.getConnection(Unknown
>Source)
>         at com.pointbase.net.netJDBCDriver.connect(Unknown Source)
>         at com.pointbase.jdbc.jdbcUniversalDriver.getConnection(Unknown
>Source)
>         at com.pointbase.jdbc.jdbcUniversalDriver.connect(Unknown
>Source)
>         at
>org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
>erConnectionFactory.java:83)
>         ... 37 more
>org.apache.commons.dbcp.DbcpException: java.sql.SQLException:
>SQL-server rejecte
>d establishment of SQL-connection. Pointbase Server may not be running
>on localh
>ost at port 9092.
>         at
>org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
>erConnectionFactory.java:85)
>         at
>org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
>ConnectionFactory.java:184)
>         at
>org.apache.commons.pool.impl.GenericObjectPool.borrowObject(Unknown S
>ource)
>         at
>org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObj
>ectPool.java:117)
>         at
>org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSo
>urce.java:110)
>         at
>org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
>.java:312)
>         at dbservlet.DBConnServlet.doGet(DBConnServlet.java:58)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>icationFilterChain.java:247)
>         at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>ilterChain.java:193)
>         at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>alve.java:260)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>alve.java:191)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
>2415)
>         at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>ava:180)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
>rValve.java:170)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:641)
>         at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>ava:172)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:641)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>ve.java:174)
>         at
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
>t.invokeNext(StandardPipeline.java:643)
>         at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
>a:480)
>         at
>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at
>org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
>3)
>         at
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>:432)
>         at
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
>ssConnection(Http11Protocol.java:386)
>         at
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
>:534)
>         at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
>ool.java:530)
>         at java.lang.Thread.run(Thread.java:536)
>Caused by: java.sql.SQLException: SQL-server rejected establishment of
>SQL-conne
>ction. Pointbase Server may not be running on localhost at port 9092.
>         at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown
>Source)
>         at
>com.pointbase.net.netJDBCConnection.establishConnection(Unknown Sourc
>e)
>         at com.pointbase.net.netJDBCConnection.<init>(Unknown Source)
>         at com.pointbase.net.netJDBCDriver.getConnection(Unknown
>Source)
>         at com.pointbase.net.netJDBCDriver.connect(Unknown Source)
>         at com.pointbase.jdbc.jdbcUniversalDriver.getConnection(Unknown
>Source)
>         at com.pointbase.jdbc.jdbcUniversalDriver.connect(Unknown
>Source)
>         at
>org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
>erConnectionFactory.java:83)
>         ... 37 more
>
>
>
>---------------------------------
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message