java - BoneCP in tomcat context.xml throws an exception about being unable to find a jdbc driver -


this configuration i'm trying replace

<resource auth="container"          driverclassname="net.sourceforge.jtds.jdbcx.jtdsdatasource"          maxactive="100"          maxidle="30"          maxwait="10000"          name="jdbc/lm_db"         password="password"          removeabandoned="true"          removeabandonedtimeout="30"          type="javax.sql.datasource"          url="jdbc:jtds:sqlserver://cwad/lm"          username="username"          validationquery="select 1"/> 

with following configuration

<resource acquireincrement="2" auth="container"         driverclass="net.sourceforge.jtds.jdbcx.jtdsdatasource"         factory="com.jolbox.bonecp.bonecpdatasource" idlemaxageinminutes="600"         jdbcurl="jdbc:jtds:sqlserver://cwad/lm"         lazyinit="false" maxconnectionsperpartition="100"         minconnectionsperpartition="3" name="jdbc/lm_db" partitioncount="2"         password="password" releasehelperthreads="2"         type="com.jolbox.bonecp.bonecpdatasource" username="username" /> 

however following exception

may 13, 2013 6:21:41 pm org.apache.catalina.core.applicationcontext log severe: standardwrapper.throwable com.sun.jersey.api.container.containerexception: unable create resource     @ com.sun.jersey.server.impl.resource.singletonfactory$singleton.init(singletonfactory.java:139)     @ com.sun.jersey.server.impl.application.webapplicationimpl$10.f(webapplicationimpl.java:584)     @ com.sun.jersey.server.impl.application.webapplicationimpl$10.f(webapplicationimpl.java:581)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.getresourcecomponentprovider(webapplicationimpl.java:581)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiateresource(webapplicationimpl.java:658)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiateresource(webapplicationimpl.java:653)     @ com.sun.jersey.server.impl.application.rootresourceurirules.<init>(rootresourceurirules.java:124)     @ com.sun.jersey.server.impl.application.webapplicationimpl._initiate(webapplicationimpl.java:1298)     @ com.sun.jersey.server.impl.application.webapplicationimpl.access$700(webapplicationimpl.java:169)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:775)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:771)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:771)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:766)     @ com.sun.jersey.spi.container.servlet.servletcontainer.initiate(servletcontainer.java:488)     @ com.sun.jersey.spi.container.servlet.servletcontainer$internalwebcomponent.initiate(servletcontainer.java:318)     @ com.sun.jersey.spi.container.servlet.webcomponent.load(webcomponent.java:609)     @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:210)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:556)     @ javax.servlet.genericservlet.init(genericservlet.java:160)     @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1267)     @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1186)     @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1081)     @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:5027)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5314)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)     @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901)     @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877)     @ org.apache.catalina.core.standardhost.addchild(standardhost.java:633)     @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:657)     @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:536)     @ org.apache.catalina.startup.hostconfig.check(hostconfig.java:1462)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)     @ java.lang.reflect.method.invoke(method.java:597)     @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:301)     @ com.sun.jmx.interceptor.defaultmbeanserverinterceptor.invoke(defaultmbeanserverinterceptor.java:836)     @ com.sun.jmx.mbeanserver.jmxmbeanserver.invoke(jmxmbeanserver.java:761)     @ org.apache.catalina.manager.managerservlet.check(managerservlet.java:1445)     @ org.apache.catalina.manager.managerservlet.deploy(managerservlet.java:860)     @ org.apache.catalina.manager.managerservlet.doget(managerservlet.java:357)     @ javax.servlet.http.httpservlet.service(httpservlet.java:621)     @ javax.servlet.http.httpservlet.service(httpservlet.java:728)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:581)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99)     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:936)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:407)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1004)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589)     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:310)     @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:886)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:908)     @ java.lang.thread.run(thread.java:662) caused by: java.lang.reflect.invocationtargetexception     @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39)     @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27)     @ java.lang.reflect.constructor.newinstance(constructor.java:513)     @ com.sun.jersey.server.spi.component.resourcecomponentconstructor._construct(resourcecomponentconstructor.java:191)     @ com.sun.jersey.server.spi.component.resourcecomponentconstructor.construct(resourcecomponentconstructor.java:179)     @ com.sun.jersey.server.impl.resource.singletonfactory$singleton.init(singletonfactory.java:137)     ... 64 more caused by: java.sql.sqlexception: unable open test connection given database. jdbc url = jdbc:jtds:sqlserver://cwad/lm, username = username. terminating connection pool. original exception: ------ java.sql.sqlexception: no suitable driver found jdbc:jtds:sqlserver://cwad/lm     @ java.sql.drivermanager.getconnection(drivermanager.java:602)     @ java.sql.drivermanager.getconnection(drivermanager.java:185)     @ com.jolbox.bonecp.bonecp.obtainrawinternalconnection(bonecp.java:256)     @ com.jolbox.bonecp.bonecp.<init>(bonecp.java:305)     @ com.jolbox.bonecp.bonecpdatasource.maybeinit(bonecpdatasource.java:150)     @ com.jolbox.bonecp.bonecpdatasource.getconnection(bonecpdatasource.java:112)     @ org.apache.commons.dbutils.queryrunner.prepareconnection(queryrunner.java:337)     @ org.apache.commons.dbutils.queryrunner.query(queryrunner.java:485)     @ org.apache.commons.dbutils.queryrunner.query(queryrunner.java:507)     @ com.ca.perseus.controller.dao.updatetopicdao.getnewestmessageid(updatetopicdao.java:27)     @ com.ca.perseus.controller.resources.updatetopicresource.<init>(updatetopicresource.java:61)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39)     @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27)     @ java.lang.reflect.constructor.newinstance(constructor.java:513)     @ com.sun.jersey.server.spi.component.resourcecomponentconstructor._construct(resourcecomponentconstructor.java:191)     @ com.sun.jersey.server.spi.component.resourcecomponentconstructor.construct(resourcecomponentconstructor.java:179)     @ com.sun.jersey.server.impl.resource.singletonfactory$singleton.init(singletonfactory.java:137)     @ com.sun.jersey.server.impl.application.webapplicationimpl$10.f(webapplicationimpl.java:584)     @ com.sun.jersey.server.impl.application.webapplicationimpl$10.f(webapplicationimpl.java:581)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.getresourcecomponentprovider(webapplicationimpl.java:581)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiateresource(webapplicationimpl.java:658)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiateresource(webapplicationimpl.java:653)     @ com.sun.jersey.server.impl.application.rootresourceurirules.<init>(rootresourceurirules.java:124)     @ com.sun.jersey.server.impl.application.webapplicationimpl._initiate(webapplicationimpl.java:1298)     @ com.sun.jersey.server.impl.application.webapplicationimpl.access$700(webapplicationimpl.java:169)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:775)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:771)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:771)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:766)     @ com.sun.jersey.spi.container.servlet.servletcontainer.initiate(servletcontainer.java:488)     @ com.sun.jersey.spi.container.servlet.servletcontainer$internalwebcomponent.initiate(servletcontainer.java:318)     @ com.sun.jersey.spi.container.servlet.webcomponent.load(webcomponent.java:609)     @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:210)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:556)     @ javax.servlet.genericservlet.init(genericservlet.java:160)     @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1267)     @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1186)     @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1081)     @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:5027)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5314)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)     @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901)     @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877)     @ org.apache.catalina.core.standardhost.addchild(standardhost.java:633)     @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:657)     @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:536)     @ org.apache.catalina.startup.hostconfig.check(hostconfig.java:1462)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)     @ java.lang.reflect.method.invoke(method.java:597)     @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:301)     @ com.sun.jmx.interceptor.defaultmbeanserverinterceptor.invoke(defaultmbeanserverinterceptor.java:836)     @ com.sun.jmx.mbeanserver.jmxmbeanserver.invoke(jmxmbeanserver.java:761)     @ org.apache.catalina.manager.managerservlet.check(managerservlet.java:1445)     @ org.apache.catalina.manager.managerservlet.deploy(managerservlet.java:860)     @ org.apache.catalina.manager.managerservlet.doget(managerservlet.java:357)     @ javax.servlet.http.httpservlet.service(httpservlet.java:621)     @ javax.servlet.http.httpservlet.service(httpservlet.java:728)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:581)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99)     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:936)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:407)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1004)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589)     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:310)     @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:886)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:908)     @ java.lang.thread.run(thread.java:662) ------      @ com.jolbox.bonecp.bonecp.<init>(bonecp.java:312)     @ com.jolbox.bonecp.bonecpdatasource.maybeinit(bonecpdatasource.java:150)     @ com.jolbox.bonecp.bonecpdatasource.getconnection(bonecpdatasource.java:112)     @ org.apache.commons.dbutils.queryrunner.prepareconnection(queryrunner.java:337)     @ org.apache.commons.dbutils.queryrunner.query(queryrunner.java:485)     @ org.apache.commons.dbutils.queryrunner.query(queryrunner.java:507)     @ com.ca.perseus.controller.dao.updatetopicdao.getnewestmessageid(updatetopicdao.java:27)     @ com.ca.perseus.controller.resources.updatetopicresource.<init>(updatetopicresource.java:61)     ... 71 more caused by: java.sql.sqlexception: no suitable driver found jdbc:jtds:sqlserver://cwad/lm     @ java.sql.drivermanager.getconnection(drivermanager.java:602)     @ java.sql.drivermanager.getconnection(drivermanager.java:185)     @ com.jolbox.bonecp.bonecp.obtainrawinternalconnection(bonecp.java:256)     @ com.jolbox.bonecp.bonecp.<init>(bonecp.java:305)     ... 78 more may 13, 2013 6:21:41 pm org.apache.catalina.core.standardcontext loadonstartup severe: servlet /perseus-controller threw load() exception java.sql.sqlexception: no suitable driver found jdbc:jtds:sqlserver://cwad/lm     @ java.sql.drivermanager.getconnection(drivermanager.java:602)     @ java.sql.drivermanager.getconnection(drivermanager.java:185)     @ com.jolbox.bonecp.bonecp.obtainrawinternalconnection(bonecp.java:256)     @ com.jolbox.bonecp.bonecp.<init>(bonecp.java:305)     @ com.jolbox.bonecp.bonecpdatasource.maybeinit(bonecpdatasource.java:150)     @ com.jolbox.bonecp.bonecpdatasource.getconnection(bonecpdatasource.java:112)     @ org.apache.commons.dbutils.queryrunner.prepareconnection(queryrunner.java:337)     @ org.apache.commons.dbutils.queryrunner.query(queryrunner.java:485)     @ org.apache.commons.dbutils.queryrunner.query(queryrunner.java:507)     @ com.ca.perseus.controller.dao.updatetopicdao.getnewestmessageid(updatetopicdao.java:27)     @ com.ca.perseus.controller.resources.updatetopicresource.<init>(updatetopicresource.java:61)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method)     @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:39)     @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:27)     @ java.lang.reflect.constructor.newinstance(constructor.java:513)     @ com.sun.jersey.server.spi.component.resourcecomponentconstructor._construct(resourcecomponentconstructor.java:191)     @ com.sun.jersey.server.spi.component.resourcecomponentconstructor.construct(resourcecomponentconstructor.java:179)     @ com.sun.jersey.server.impl.resource.singletonfactory$singleton.init(singletonfactory.java:137)     @ com.sun.jersey.server.impl.application.webapplicationimpl$10.f(webapplicationimpl.java:584)     @ com.sun.jersey.server.impl.application.webapplicationimpl$10.f(webapplicationimpl.java:581)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.getresourcecomponentprovider(webapplicationimpl.java:581)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiateresource(webapplicationimpl.java:658)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiateresource(webapplicationimpl.java:653)     @ com.sun.jersey.server.impl.application.rootresourceurirules.<init>(rootresourceurirules.java:124)     @ com.sun.jersey.server.impl.application.webapplicationimpl._initiate(webapplicationimpl.java:1298)     @ com.sun.jersey.server.impl.application.webapplicationimpl.access$700(webapplicationimpl.java:169)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:775)     @ com.sun.jersey.server.impl.application.webapplicationimpl$13.f(webapplicationimpl.java:771)     @ com.sun.jersey.spi.inject.errors.processwitherrors(errors.java:193)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:771)     @ com.sun.jersey.server.impl.application.webapplicationimpl.initiate(webapplicationimpl.java:766)     @ com.sun.jersey.spi.container.servlet.servletcontainer.initiate(servletcontainer.java:488)     @ com.sun.jersey.spi.container.servlet.servletcontainer$internalwebcomponent.initiate(servletcontainer.java:318)     @ com.sun.jersey.spi.container.servlet.webcomponent.load(webcomponent.java:609)     @ com.sun.jersey.spi.container.servlet.webcomponent.init(webcomponent.java:210)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:373)     @ com.sun.jersey.spi.container.servlet.servletcontainer.init(servletcontainer.java:556)     @ javax.servlet.genericservlet.init(genericservlet.java:160)     @ org.apache.catalina.core.standardwrapper.initservlet(standardwrapper.java:1267)     @ org.apache.catalina.core.standardwrapper.loadservlet(standardwrapper.java:1186)     @ org.apache.catalina.core.standardwrapper.load(standardwrapper.java:1081)     @ org.apache.catalina.core.standardcontext.loadonstartup(standardcontext.java:5027)     @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5314)     @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)     @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901)     @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877)     @ org.apache.catalina.core.standardhost.addchild(standardhost.java:633)     @ org.apache.catalina.startup.hostconfig.deploydescriptor(hostconfig.java:657)     @ org.apache.catalina.startup.hostconfig.deployapps(hostconfig.java:536)     @ org.apache.catalina.startup.hostconfig.check(hostconfig.java:1462)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25)     @ java.lang.reflect.method.invoke(method.java:597)     @ org.apache.tomcat.util.modeler.basemodelmbean.invoke(basemodelmbean.java:301)     @ com.sun.jmx.interceptor.defaultmbeanserverinterceptor.invoke(defaultmbeanserverinterceptor.java:836)     @ com.sun.jmx.mbeanserver.jmxmbeanserver.invoke(jmxmbeanserver.java:761)     @ org.apache.catalina.manager.managerservlet.check(managerservlet.java:1445)     @ org.apache.catalina.manager.managerservlet.deploy(managerservlet.java:860)     @ org.apache.catalina.manager.managerservlet.doget(managerservlet.java:357)     @ javax.servlet.http.httpservlet.service(httpservlet.java:621)     @ javax.servlet.http.httpservlet.service(httpservlet.java:728)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:305)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.filters.setcharacterencodingfilter.dofilter(setcharacterencodingfilter.java:108)     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:243)     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:210)     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:222)     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:123)     @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:581)     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:99)     @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:936)     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:118)     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:407)     @ org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1004)     @ org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:589)     @ org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:310)     @ java.util.concurrent.threadpoolexecutor$worker.runtask(threadpoolexecutor.java:886)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:908)     @ java.lang.thread.run(thread.java:662) 

so puzzle. first configuration works fine without glitch. second barfs , tells me can't find driver... more strange, have webservice running on same server same configuration , works fine.

the jtds driver safely nestled in tomcat server lib. can't figure 1 out.

any appreciated

and of course, simple , dumb.... this

driverclass="net.sourceforge.jtds.jdbcx.jtdsdatasource" 

should have been this

driverclassname="net.sourceforge.jtds.jdbcx.jtdsdatasource" 

i'm guessing worked second resource because first had loaded driver classpath (they run on same tomcat instance).

that frustrating :)


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -