[JBoss JIRA] Created: (TEIID-743) Excessive cloning of connector binding properties
by Ramesh Reddy (JIRA)
Excessive cloning of connector binding properties
-------------------------------------------------
Key: TEIID-743
URL: https://jira.jboss.org/jira/browse/TEIID-743
Project: Teiid
Issue Type: Bug
Components: Common
Affects Versions: 6.1.0
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 6.2.0
The connector binding properties are excessively being cloned at each level, which leads to lot if memory overhead. In the case of handling the hundreds of connector bindings this will result in OOM.
1) The connector binding properties does not have access to the configuration level properties (properties in deploy.properties)
2) Default property mechanism not being used. When you create a properties object like "new Properties(defaultProps)", the defaultProps object properties are not copied into the container properties object, nor they can be changed. They can be overridden, but will not affect the defaultProps object.
3) Properties not being cached
For (2) connector binding properties need to be layered such that the connector binding property tree object will look like
system properties
|-------------------------> deploy.properties
|------------------> Connector Type Properties
|----------------------------> Connector Binding Properties
For (3) since up to the "Connector Type Properties", are common for a given Connector Binding they should be cached to minimize the memory overhead.
--
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
16 years, 6 months
[JBoss JIRA] Created: (TEIID-733) ConcurrentModificationException in SessionMonitor
by Ted Jones (JIRA)
ConcurrentModificationException in SessionMonitor
-------------------------------------------------
Key: TEIID-733
URL: https://jira.jboss.org/jira/browse/TEIID-733
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.1.0
Reporter: Ted Jones
Assignee: Steven Hawkins
While running a Seam CRUD Web App against Teiid, I am seeing the following intermittent error:
14:00:51,806 ERROR [STDERR] Exception in thread "SessionMonitor"
14:00:51,814 ERROR [STDERR] java.util.ConcurrentModificationException
14:00:51,815 ERROR [STDERR] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
14:00:51,815 ERROR [STDERR] at java.util.HashMap$ValueIterator.next(HashMap.java:822)
14:00:51,815 ERROR [STDERR] at com.metamatrix.platform.security.session.service.SessionServiceImpl.monitorSessions(SessionServiceImpl.java:97)
14:00:51,815 ERROR [STDERR] at com.metamatrix.platform.security.session.service.SessionServiceImpl.access$000(SessionServiceImpl.java:71)
14:00:51,815 ERROR [STDERR] at com.metamatrix.platform.security.session.service.SessionServiceImpl$1.run(SessionServiceImpl.java:340)
14:00:51,815 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
14:00:51,815 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
14:02:55,126 ERROR [STDERR] Exception in thread "Worker10"
14:02:55,135 ERROR [STDERR] java.lang.NullPointerException
14:02:55,135 ERROR [STDERR] at com.metamatrix.cache.jboss.JBossCache.getChild(JBossCache.java:145)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.cache.DQPContextCache.removeRequestScopedCache(DQPContextCache.java:60)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.DQPCore.removeRequest(DQPCore.java:304)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.RequestWorkItem.attemptClose(RequestWorkItem.java:357)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:247)
14:02:55,135 ERROR [STDERR] at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
14:02:55,135 ERROR [STDERR] at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
14:02:55,135 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
14:02:55,135 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
14:02:55,135 ERROR [STDERR] 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
16 years, 6 months
[JBoss JIRA] Created: (TEIID-731) NPE when trying to execute a query through the LDAP connector
by Paul Nittel (JIRA)
NPE when trying to execute a query through the LDAP connector
-------------------------------------------------------------
Key: TEIID-731
URL: https://jira.jboss.org/jira/browse/TEIID-731
Project: Teiid
Issue Type: Bug
Components: LDAP Connector
Affects Versions: 6.2.0
Environment: fedora 10, jdk 1.6, Designer circa early July
Reporter: Paul Nittel
Assignee: Steven Hawkins
Attachments: LdapConnectorProject.zip
Another of the Genentech test VDBs uses the LDAP connector. after modeling everything and creating the bindings, here's the exception I received when I tried a query:
Error 2009-07-21 11:13:54.314 Error processing query
com.metamatrix.jdbc.MMSQLException: com.metamatrix.api.exception.MetaMatrixComponentException
at com.metamatrix.jdbc.MMSQLException.create(MMSQLException.java:82)
at com.metamatrix.jdbc.MMSQLException.create(MMSQLException.java:63)
at com.metamatrix.jdbc.MMStatement.executeSql(MMStatement.java:433)
at com.metamatrix.jdbc.MMStatement.execute(MMStatement.java:328)
at net.sourceforge.sqlexplorer.sqlpanel.SqlExecProgress.processQuery(SqlExecProgress.java:192)
at net.sourceforge.sqlexplorer.sqlpanel.SqlExecProgress.run(SqlExecProgress.java:121)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: [MetaMatrixComponentException]
1 [NullPointerException]
at org.teiid.dqp.internal.process.DataTierTupleSource.switchBatch(DataTierTupleSource.java:128)
at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:89)
at com.metamatrix.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:136)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:110)
at com.metamatrix.query.processor.QueryProcessor.process(QueryProcessor.java:160)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:264)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:210)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at com.metamatrix.connector.ldap.LDAPConnection.initializeLDAPContext(LDAPConnection.java:126)
at com.metamatrix.connector.ldap.LDAPConnection.<init>(LDAPConnection.java:77)
at com.metamatrix.connector.ldap.LDAPConnector.getConnection(LDAPConnector.java:58)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWrapper.getConnectionDirect(ConnectorWrapper.java:67)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWrapper.getConnection(ConnectorWrapper.java:62)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.createConnection(ConnectorWorkItem.java:140)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.createExecution(ConnectorWorkItem.java:288)
at org.teiid.dqp.internal.datamgr.impl.SynchConnectorWorkItem.createExecution(SynchConnectorWorkItem.java:100)
at org.teiid.dqp.internal.datamgr.impl.ConnectorWorkItem.process(ConnectorWorkItem.java:152)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
at org.teiid.dqp.internal.datamgr.impl.SynchConnectorWorkItem.run(SynchConnectorWorkItem.java:69)
... 4 more
Pertinent artifacts are attached.
--
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
16 years, 6 months