tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <amyroh...@yahoo.com>
Subject commons dbcp, tomcat, pointbase
Date Tue, 20 May 2003 16:41:09 GMT
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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message