You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/01/26 14:49:43 UTC
DO NOT REPLY [Bug 38402] New: - Database connection does not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38402
Summary: Database connection does not work
Product: Tomcat 5
Version: 5.0.27
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: sva@prbank.ru
Server.xml
<Resource auth="Container" name="jdbc/KURGAN" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/KURGAN">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc:Cache://127.0.0.1:1972/KURGAN</value>
</parameter>
<parameter>
<name>password</name>
<value>sys</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>5</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.intersys.jdbc.CacheDriver</value>
</parameter>
<parameter>
<name>username</name>
<value>_SYSTEM</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>3</value>
</parameter>
</ResourceParams>
--------------------------------------------------------------
In WEB apps (JSP)
Context init;
Context ctx;
DataSource datasource;
Connection con;
String dbName = "KURGAN";
try
{
init = new InitialContext();
datasource = (DataSource) init.lookup("java:comp/env/jdbc/"+dbName);
}
catch (Exception ex)
{
out.print("Cannot retrieve:"+dbName+":"+ex.getMessage());
return;
}
try
{
con = datasource.getConnection();
}
catch (Exception ex11)
{
out.print("Cannot retrieve connection:"+dbName+":"+ex11.getMessage());
ex11.printStackTrace();
}
out.print("Connection is ready for JNDI name="+dbName);
--------------------------------------------------------------
Print message
Cannot retrieve connection:KURGAN:Cannot create JDBC driver of class '' for
connect URL 'null'
--------------------------
Stack
1400625 [http-8080-Processor24] DEBUG org.apache.jasper.compiler.Compiler -
Compiler: outdated: C:\Program Files\Business
Objects\Tomcat\work\Catalina\localhost\WebGefestReports\org\apache\jsp\Testconne
ction_jsp.class 1138283466953
1400656 [http-8080-Processor24] DEBUG org.apache.jasper.compiler.Compiler -
Using classpath: C:\Program Files\Business
Objects\Tomcat\bin\bootstrap.jar;C:\Program Files\Business
Objects\JavaSDK\lib\tools.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/classes/;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJDBCServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJavaServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJavaServerCommon.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJavabeansServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBXMLExternal.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBXMLServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/Concurrent.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalCharting.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalCommon.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalContentModels.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalExporters.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalExportingBase.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalFormulas.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalQueryEngine.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalReportEngine.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalReportingCommon.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/MetafileRenderer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/ReportPrinter.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/ReportTemplate.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/ReportViewer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/URIUtil.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/WebReportWizard.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/asn1.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/axis-
ant.jar;/C:/Program Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/axis.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/boconfig.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cdzlet.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/cecore.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/celib.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/ceplugins.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cereports.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/certj.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cesession.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/ceutils.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cexsd.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/commons-
discovery.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/commons-
logging.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/corbaidl.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/crlov.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/crlovexternal.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/crlovmanifest.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/ebus405.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/freessl201.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/icu4j.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/jaxrpc.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/jrcerom.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/jsafe.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/jtools.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/keycodeDecoder.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/log4j.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/pullparser.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/rasapp.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/rascore.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/rpoifs.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/saaj.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/serialization.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/sslj.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/u211java.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/webi.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/webreporting-
jsf.jar;/C:/Program Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/webreporting.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/wilog.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/wsdl4j.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/xbean.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/xercesImpl.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/xml-apis.jar;C:\Program
Files\Business
Objects\Tomcat\work\Catalina\localhost\WebGefestReports;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/classes/;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJDBCServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJavaServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJavaServerCommon.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBJavabeansServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBXMLExternal.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CRDBXMLServer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/Concurrent.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalCharting.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalCommon.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalContentModels.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalExporters.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalExportingBase.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalFormulas.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalQueryEngine.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalReportEngine.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/CrystalReportingCommon.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/MetafileRenderer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/ReportPrinter.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/ReportTemplate.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/ReportViewer.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/URIUtil.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/WebReportWizard.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/asn1.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/axis-
ant.jar;/C:/Program Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/axis.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/boconfig.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cdzlet.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/cecore.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/celib.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/ceplugins.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cereports.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/certj.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cesession.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/ceutils.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/cexsd.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/commons-
discovery.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/commons-
logging.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/corbaidl.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/crlov.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/crlovexternal.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/crlovmanifest.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/ebus405.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/freessl201.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/icu4j.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/jaxrpc.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/jrcerom.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/jsafe.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/jtools.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/keycodeDecoder.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/log4j.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/pullparser.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/rasapp.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/rascore.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/rpoifs.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/saaj.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/serialization.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/sslj.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/u211java.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/webi.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/webreporting-
jsf.jar;/C:/Program Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/webreporting.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/wilog.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/wsdl4j.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/xbean.jar;/C:/Program
Files/Business Objects/Tomcat/webapps/WebGefestReports/WEB-
INF/lib/xercesImpl.jar;/C:/Program Files/Business
Objects/Tomcat/webapps/WebGefestReports/WEB-INF/lib/xml-apis.jar;C:/Program
Files/Business Objects/Tomcat/shared/classes/;C:/Program Files/Business
Objects/Tomcat/shared/lib/cewcanative.jar;C:/Program Files/Business
Objects/Tomcat/common/classes/;C:/Program Files/Business
Objects/Tomcat/common/endorsed/xalan.jar;C:/Program Files/Business
Objects/Tomcat/common/endorsed/xercesImpl.jar;C:/Program Files/Business
Objects/Tomcat/common/endorsed/xml-apis.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/ant-launcher.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/ant.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/CacheDB.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/classes12.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/commons-collections-2.1.1.jar;C:/Program
Files/Business Objects/Tomcat/common/lib/commons-dbcp-1.2.1.jar;C:/Program
Files/Business Objects/Tomcat/common/lib/commons-el.jar;C:/Program
Files/Business Objects/Tomcat/common/lib/commons-pool-1.2.jar;C:/Program
Files/Business Objects/Tomcat/common/lib/jasper-compiler.jar;C:/Program
Files/Business Objects/Tomcat/common/lib/jasper-runtime.jar;C:/Program
Files/Business Objects/Tomcat/common/lib/jsp-api.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/log4j.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/naming-common.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/naming-factory.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/naming-java.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/naming-resources.jar;C:/Program Files/Business
Objects/Tomcat/common/lib/servlet-api.jar;/C:/Program%20Files/Business%
20Objects/Tomcat/bin/bootstrap.jar;/C:/Program%20Files/Business%
20Objects/JavaSDK/lib/tools.jar;/C:/Program%20Files/Business%
20Objects/JavaSDK/jre/lib/ext/dnsns.jar;/C:/Program%20Files/Business%
20Objects/JavaSDK/jre/lib/ext/ldapsec.jar;/C:/Program%20Files/Business%
20Objects/JavaSDK/jre/lib/ext/localedata.jar;/C:/Program%20Files/Business%
20Objects/JavaSDK/jre/lib/ext/sunjce_provider.jar
1401438 [http-8080-Processor24] DEBUG org.apache.jasper.compiler.Compiler -
Compiled /C:/Program Files/Business
Objects/Tomcat/work/Catalina/localhost/WebGefestReports//org/apache/jsp\Testconn
ection_jsp.java 797
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
at org.apache.commons.dbcp.BasicDataSource.createDataSource
(BasicDataSource.java:780)
at org.apache.commons.dbcp.BasicDataSource.getConnection
(BasicDataSource.java:540)
at org.apache.jsp.Testconnection_jsp._jspService
(Testconnection_jsp.java:90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal
(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at com.intersys.jdbc.CacheDriver.acceptsURL(CacheDriver.java:92)
at java.sql.DriverManager.getDriver(DriverManager.java:232)
at org.apache.commons.dbcp.BasicDataSource.createDataSource
(BasicDataSource.java:773)
... 32 more
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38402] - Database connection does not work
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38402
------- Additional Comments From glenmazza@yahoo.com 2006-01-26 15:46 -------
This same problem happened to me (and I believe many others using AppFuse on TC)
Updating to TC 5.0.28 fixed the problem immediately. Please try that.
Glen
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38402] - Database connection does not work
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38402>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38402
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From yoavs@computer.org 2006-04-13 20:20 -------
Following the JNDI DataSources How-To works for me, and please see the other
poster's comment above. I also suggest updating to Tomcat 5.5 if/when you get
the chance. Thanks.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org