Has anyone used the Centura JDBC driver in a <data-source> ?

Environment: Tomcat 4.1.18

For exceptions thrown see attached.

A mysql datasource in the same struts-config.xml works fine.

Any ideas?

db 
SEVERE: Initializing application data source centura

java.sql.SQLException: Cannot create JDBC driver of class 
'com.centurasoft.java.sqlbase.SqlbaseDriver' for connect URL 
'jdbc:sqlbase://localhost:2155/VMFG'

        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:541)

        at 
org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:381)

        at 
org.apache.struts.util.GenericDataSource.setLogWriter(GenericDataSource.java:345)

        at 
org.apache.struts.action.ActionServlet.initApplicationDataSources(ActionServlet.java:942)

        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:457)

        at javax.servlet.GenericServlet.init(GenericServlet.java:256)

        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)

        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)

        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3420)

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)

        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

        at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)

        at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)

        at org.apache.commons.digester.Digester.endElement(Digester.java:1036)

        at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)

        at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:222)

        at 
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:595)

        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:748)

        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)

        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:957)

        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)

        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)

        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)

        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)

        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

        at 
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)

        at org.apache.commons.digester.Digester.parse(Digester.java:1514)

        at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)

        at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)

        at 
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)

        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)

        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)

        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)

        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

        at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)

        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)

        at org.apache.catalina.core.StandardService.start(StandardService.java:497)

        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)

        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)

        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:324)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

StandardWrapper[/VisualWeb:action]: Marking servlet action as unavailable

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to