[JBoss JIRA] Created: (TEIID-581) Embedded is creating a uber jar of the classes in the Engine side, this is no longer necessary
by Ramesh Reddy (JIRA)
Embedded is creating a uber jar of the classes in the Engine side, this is no longer necessary
----------------------------------------------------------------------------------------------
Key: TEIID-581
URL: https://jira.jboss.org/jira/browse/TEIID-581
Project: Teiid
Issue Type: Task
Components: Common
Affects Versions: 6.1.0
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 6.1.0
Currently embedded kit builds the uber jar of all the query side modules. This is originally designed to keep all the classes under one jar, so that it is easier to deploy in the "classpath" profile. However, this not provided any benefits and obscured the fact that what modules were actually part of Embedded and their versions. Also, this required two separate sets of kitting sub-modules, one to pull the project jars together and another to pull their dependencies together. These should be one.
The only side effect of this is, Embedded will now have more jar files in "lib" directory. If tooling is accessing this file directory directly it should be replaced with all "teiid-xxx.jar" files in the "lib" directory. "lib" is considered internal, so no tooling or deployment should be explicitly copying or having class path entries into this at all.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (TEIID-579) NPE is being thrown in ConnectorManager trying to get the status for a connector that couldn't start (bad classpath)
by Van Halbert (JIRA)
NPE is being thrown in ConnectorManager trying to get the status for a connector that couldn't start (bad classpath)
--------------------------------------------------------------------------------------------------------------------
Key: TEIID-579
URL: https://jira.jboss.org/jira/browse/TEIID-579
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.1.0
Reporter: Van Halbert
Assignee: Van Halbert
May 12, 2009 14:25:10.881 [ServiceMonitoringThread|0] INFO <CONFIG|0> Data source is now unavailable for connector binding ID Bad Connector Binding<myhost|MMProcess|1205>. State changed to "Data Source Unavailable".
Exception in thread "ServiceMonitoringThread" java.lang.NullPointerException
at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.getStatus(ConnectorManager.java:279)
at com.metamatrix.server.connector.service.ConnectorService.checkState(ConnectorService.java:359)
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:597)
at com.metamatrix.platform.registry.ServiceRegistryBinding$StateAwareProxy.invoke(ServiceRegistryBinding.java:60)
at $Proxy34.checkState(Unknown Source)
at com.metamatrix.platform.registry.ProcessMonitor$2.run(ProcessMonitor.java:125)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (TEIID-522) JDBC DatabaseMetadata methods do not accept empty string as catalog name
by Greg Haber (JIRA)
JDBC DatabaseMetadata methods do not accept empty string as catalog name
-------------------------------------------------------------------------
Key: TEIID-522
URL: https://jira.jboss.org/jira/browse/TEIID-522
Project: Teiid
Issue Type: Bug
Components: JDBC Driver
Environment: http://anonsvn.jboss.org/repos/teiid/trunk/client-jdbc/src/main/java/com/... rev 809
Reporter: Greg Haber
Assignee: Steven Hawkins
This is related to internal support ticket I-T #212065 (which was against MetaMatrix 5.5SP2).
To resolve that ticket (where a third party software package expected different behavior from the MetaMatrix JDBC driver than it actually had), we made three changes:
1) DatabaseMetaData.supportsSchemaInDataManipulation() was changed to return true (which is correct) - looks like this change was also brought over to Teiid
2) DatabaseMetaData.supportsCatalogInDataManipulation() was changed to return the value of the boolean driver property "supportsCatalog". This change didn't come over to Teiid (in Teiid this method always returns "false"). I'm fine with the current Teiid behavior, since we don't have a notion of catalog, so really "false" is the correct response here.
3) The DatabaseMetaData methods getColumns, getExportedKeys, getImportedKeys, getIndexInfo, getPrimaryKeys, getProcedureColumns, getProcedures, and getTables all have a parameter for catalog name. In the current Teiid implementation of MMDatabaseMetaData, if catalog is non-null an empty response is returned.
This is actually incorrect behavior according to both 1.5 and 1.6 javadoc - see http://java.sun.com/javase/6/docs/api/java/sql/DatabaseMetaData.html#getT... where it says:
catalog - a catalog name; must match the catalog name as it is stored in the database; "" retrieves those without a catalog; null means that the catalog name should not be used to narrow the search
So, since Teiid does not have the notion of a catalog, it should accept either null or the empty string as valid values for the catalog parameter.
In the MMx 5.5.x code base, all of these methods were changed to only return empty responses if catalog was non-null, and also was not the empty string:
if ((catalog != null) && (catalog.length() > 0)) {
This same change should be made to Teiid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month