Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2262

JDBC driver jar is missing commons.logging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Blocker Blocker
    • None
    • 3.8.x-prod-ip6.1
    • API
    • None

      The mode shape jdbc driver jar is missing commons.logging. The following error is seen when trying to import metadata using Teiid Designer:

      java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      	at org.apache.http.impl.client.AbstractHttpClient.<init>(AbstractHttpClient.java:187)
      	at org.apache.http.impl.client.DefaultHttpClient.<init>(DefaultHttpClient.java:146)
      	at org.modeshape.web.jcr.rest.client.http.HttpClientConnection.<init>(HttpClientConnection.java:92)
      	at org.modeshape.web.jcr.rest.client.json.JsonRestClient.connect(JsonRestClient.java:84)
      	at org.modeshape.web.jcr.rest.client.json.JsonRestClient.validate(JsonRestClient.java:254)
      	at org.modeshape.jdbc.delegate.HttpRepositoryDelegate.retrieveRepository(HttpRepositoryDelegate.java:207)
      	at org.modeshape.jdbc.delegate.AbstractRepositoryDelegate.createConnection(AbstractRepositoryDelegate.java:126)
      	at org.modeshape.jdbc.LocalJcrDriver.connect(LocalJcrDriver.java:206)
      	at org.teiid.designer.datatools.profiles.modeshape.ModeShapeJDBCConnection.createConnection(ModeShapeJDBCConnection.java:44)
      	at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
      	at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
      	at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
      	at org.teiid.designer.datatools.profiles.modeshape.ModeShapeJDBCConnectionFactory.createConnection(ModeShapeJDBCConnectionFactory.java:16)
      	at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
      	at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
      	at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
      	at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      

              Unassigned Unassigned
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: