Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7742

Unable to create JDBC Connection Profile for ModeShape

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.CR1
    • 3.2.0.Beta2
    • modeshape
    • None
    • Hide

      1) Open Database Development perspective
      2) Database Connections -> New -> Select "Modeshape" -> Next
      3) Click on "New Driver Definition" and setup path to modeshape-client.jar
      4) Fill all the necessary properties: host, username (admin), password (admin) and click on Browse to load available repositories (eds should be visible)
      5) Click on "Test Connection"

      Show
      1) Open Database Development perspective 2) Database Connections -> New -> Select "Modeshape" -> Next 3) Click on "New Driver Definition" and setup path to modeshape-client.jar 4) Fill all the necessary properties: host, username (admin), password (admin) and click on Browse to load available repositories (eds should be visible) 5) Click on "Test Connection"

    Description

      I assume that the connection string is wrong, but the wizard doesn't allow me to change it.

      Exception:

      java.sql.SQLException: Missing repo name from jdbc:jcr:http://localhost:8080/eds
      at org.modeshape.jdbc.delegate.HttpRepositoryDelegate.createRepository(HttpRepositoryDelegate.java:155)
      at org.modeshape.jdbc.delegate.AbstractRepositoryDelegate.createConnection(AbstractRepositoryDelegate.java:124)
      at org.modeshape.jdbc.JcrDriver.connect(JcrDriver.java:190)
      at org.teiid.designer.datatools.profiles.modeshape.ModeShapeJDBCConnection.createConnection(ModeShapeJDBCConnection.java:41)
      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:73)
      at org.teiid.designer.datatools.profiles.modeshape.ModeShapeJDBCConnectionFactory.createConnection(ModeShapeJDBCConnectionFactory.java:13)
      at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
      at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:358)
      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:54)

      Attachments

        Activity

          People

            rhn-engineering-jdoyle John Doyle
            psrna Pavol Srna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: