[
https://jira.jboss.org/browse/JBDS-1364?page=com.atlassian.jira.plugin.sy...
]
John Doyle edited comment on JBDS-1364 at 10/21/10 10:36 AM:
-------------------------------------------------------------
The only reason this ConnectionProfile exists is to used by the Teiid JDBC Importer. As
currently implemented (because of limitations of the ModeShape JDBC Driver) this
connection profile is only usable to view the JDBC metadata of a ModeShape Repository.
You cannot execute queries unless the driver is in the same process space as ModeShape,
and that's not the case in eclipse.
While it is true that ModeShape in EDS will have a /repository/eds repository, I don't
think there's any reason to assume that that's the repository a user wants to
import metadata from. It's certainly a valid use case, but I don't know why it
would be the default url other than that it would work as the default (work being defined
as 'will connect'). I'm pretty sure BRMS is supporting ModeShape in this
release as well.
I recommend an obviously bad URL that will not work, but guides the user, and forces them
to do the right thing.
jdbc:jcr:http://localhost:8080/modeshape-rest/repository/\<target-repository>
was (Author: jdoyle):
The only reason this ConnectionProfile exists is to used by the Teiid JDBC Importer.
As currently implemented (because of limitations of the ModeShape JDBC Driver) this
connection profile is only usable to view the JDBC metadata of a ModeShape Repository.
You cannot execute queries unless the driver is in the same process space as ModeShape,
and that's not the case in eclipse.
While it is true that ModeShape in EDS will have a /repository/eds repository, I don't
think there's any reason to assume that that's the repository a user wants to
import metadata from. It's certainly a valid use case, but I don't know why it
would be the default url other than that it would work as the default (work being defined
as 'will connect'). I'm pretty sure BRMS is supporting ModeShape in this
release as well.
I recommend an obviously bad URL that will not work, but guides the user, and forces them
to do the right thing.
jdbc:jcr:http://localhost:8080/modeshape-rest/repository//<target-repository>
ModeShape Connection profile default URL is wrong for EDS.
----------------------------------------------------------
Key: JBDS-1364
URL:
https://jira.jboss.org/browse/JBDS-1364
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: SOA Platform
Affects Versions: 4.0.0.M2
Reporter: John Doyle
Assignee: John Doyle
Fix For: 4.0.0.Beta2
The default URL in the ModeShape connection profile is currently:
jdbc:jcr:http://localhost:8080/modeshape-rest/repository/default
For EDS it should be:
jdbc:jcr:http://localhost:8080/modeshape-rest/repository/eds
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira