java.sql.SQLException: Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver

nabble.com | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Cayenne - User - Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver'

    nabble.com | 5 months ago
    java.sql.SQLException: Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver

    Root Cause Analysis

    1. java.sql.SQLException

      Can not load JDBC driver named 'org.apache.derby.jdbc.ClientDriver': org.apache.derby.jdbc.ClientDriver

      at org.apache.cayenne.conn.DriverDataSource.loadDriver()
    2. org.apache.cayenne
      ConfigLoader$DomainHandler.startElement
      1. org.apache.cayenne.conn.DriverDataSource.loadDriver(DriverDataSource.java:59)
      2. org.apache.cayenne.conn.DriverDataSource.setDriverClassName(DriverDataSource.java:253)
      3. org.apache.cayenne.conn.DriverDataSource.<init>(DriverDataSource.java:98)
      4. org.apache.cayenne.conn.DriverDataSource.<init>(DriverDataSource.java:84)
      5. org.apache.cayenne.conn.PoolManager.<init>(PoolManager.java:89)
      6. org.apache.cayenne.conf.DriverDataSourceFactory.getDataSource(DriverDataSourceFactory.java:82)
      7. org.apache.cayenne.conf.RuntimeLoadDelegate.shouldLoadDataNode(RuntimeLoadDelegate.java:334)
      8. org.apache.cayenne.conf.ConfigLoader$NodeHandler.init(ConfigLoader.java:345)
      9. org.apache.cayenne.conf.ConfigLoader$DomainHandler.startElement(ConfigLoader.java:222)
      9 frames
    3. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      11 frames
    4. org.apache.cayenne
      HessianServlet.init
      1. org.apache.cayenne.conf.ConfigLoader.loadDomains(ConfigLoader.java:78)
      2. org.apache.cayenne.conf.DefaultConfiguration.initialize(DefaultConfiguration.java:152)
      3. org.apache.cayenne.remote.service.BaseRemoteService.initCayenneStack(BaseRemoteService.java:207)
      4. org.apache.cayenne.remote.service.BaseRemoteService.initService(BaseRemoteService.java:76)
      5. org.apache.cayenne.remote.hessian.service.HessianService.init(HessianService.java:65)
      6. org.apache.cayenne.remote.hessian.service.HessianServlet.init(HessianServlet.java:76)
      6 frames
    5. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
      2. org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
      3. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      4. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
      5. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      6. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      7. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      8. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
      9. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      10. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      11. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      12. org.mortbay.jetty.Server.handle(Server.java:326)
      13. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      14. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
      15. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:842)
      16. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      17. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      18. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      18 frames