[JBoss JIRA] Created: (TEIID-695) Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
by Larry O'Leary (JIRA)
Equality comparison of JoinPredicate returns true even when JoinPredicate criteria is different
-----------------------------------------------------------------------------------------------
Key: TEIID-695
URL: https://jira.jboss.org/jira/browse/TEIID-695
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.0.0, 6.1.0, 6.2.0
Reporter: Larry O'Leary
Assignee: Steven Hawkins
Priority: Minor
Fix For: 6.2.0
When comparing the following command objects the commands evaluate as equal when performing c1.equals(c2) even though the criteria is different in the two commands:
c1 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey AND bqt1.smallb.intnum = 1
c2 = SELECT bqt1.smalla.intkey, bqt1.smallb.intkey, bqt1.smalla.intnum, bqt1.smallb.intnum FROM bqt1.smalla LEFT OUTER JOIN bqt1.smallb ON bqt1.smalla.intkey = bqt1.smallb.intkey
This is due to the method com.metamatrix.query.sql.lang.JoinPredicate.equals(Object obj) referencing itself when getting the criteria from itself and the obj being passed in:
...
List thisCrit = this.getJoinCriteria();
...
List otherCrit = this.getJoinCriteria();
...
--
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, 3 months
[JBoss JIRA] Created: (TEIID-701) Provide a single JDBC driver for "embedded" and "server" configurations
by Ramesh Reddy (JIRA)
Provide a single JDBC driver for "embedded" and "server" configurations
-----------------------------------------------------------------------
Key: TEIID-701
URL: https://jira.jboss.org/jira/browse/TEIID-701
Project: Teiid
Issue Type: Task
Components: JDBC Driver
Reporter: Ramesh Reddy
Fix For: 6.2.0
Currently there are separate JDBC drivers for
Embedded --> com.metamatrix.jdbc.EmbeddedDriver
Server --> org.teiid.jdbc.TeiidDriver
Combine the EmbeddedDriver functionality into TeiidDriver. Based on its URL format differentiate which runtime user wants to use. The URLs for runtimes are as follows
Embedded ---> jdbc:metamatrix:<vdb-name>@<path-to>/deploy.properties;<additional-properties>
Server ---> jdbc:teiid:<vdb-name>@mm://<host-name>:<port>;<additional-properties>
1) Deprecate EmbeddedDriver
2) Make embedded URL format to work with " jdbc:teiid:<vdb-name>@<path-to>/deploy.properties;<additional-properties>" (note s/mematrix/teiid/)
3) Make the TeiidDriver the only driver.
Investigate if EmbeddedDataSource and TeiidDataSource can be combined, if true follow the same path.
--
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, 3 months
[JBoss JIRA] Created: (TEIID-601) Unable to connect to server from clients: session service is unresponsive (NPEs)
by Paul Nittel (JIRA)
Unable to connect to server from clients: session service is unresponsive (NPEs)
--------------------------------------------------------------------------------
Key: TEIID-601
URL: https://jira.jboss.org/jira/browse/TEIID-601
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.1.0
Environment: Fedora 10, JBEDSP server snapshot from 13 May
Reporter: Paul Nittel
Assignee: Steven Hawkins
Priority: Critical
I've set up a JBEDSP server on my laptop. I have been able to connect from the Console, but not really able to do much querying. This morning, I am no longer able to connect to the server (I tried SQuirreL and Console).
Steve H. reviewed the server log and found the following to be central to the issue at hand. NOTE: I am NOT running this in a cluster.
Exception in thread "ServiceMonitoringThread" No response for remote method call
at com.metamatrix.common.messaging.jgroups.JGroupsMessageBus$2.invoke(JGroupsMessageBus.java:145)
at $Proxy27.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)
May 14, 2009 16:15:48.437 [Worker3_SocketWorker1|0] ERROR <ROUTER|0> Unexpected exception for session 1900
java.lang.NullPointerException
at com.metamatrix.platform.registry.ServiceRegistryBinding.setService(ServiceRegistryBinding.java:298)
at com.metamatrix.platform.registry.ServiceRegistryBinding.markServiceAsBad(ServiceRegistryBinding.java:314)
at com.metamatrix.platform.service.proxy.SingleInvokationProxy.invoke(SingleInvokationProxy.java:89)
at $Proxy24.validateSession(Unknown Source)
at com.metamatrix.common.comm.platform.socket.server.ServerWorkItem.run(ServerWorkItem.java:93)
at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
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, 3 months