[JBoss JIRA] Created: (TEIID-683) Connector fails to start due to JDBC Connector ClassNotFound Exception
by Van Halbert (JIRA)
Connector fails to start due to JDBC Connector ClassNotFound Exception
----------------------------------------------------------------------
Key: TEIID-683
URL: https://jira.jboss.org/jira/browse/TEIID-683
Project: Teiid
Issue Type: Bug
Components: Embedded
Affects Versions: 6.1.0, 6.2.0
Environment: Embedded 6.2 kit
Reporter: Van Halbert
Assignee: Steven Hawkins
Using a VDB that was created using 6.0 version. The connector type in the Configuration.def in the vdb has the ConnectorTypeClasspath value points to connector-jdbc-6.0.0.jar. The configuration.xml in the embedded kit has the connectortype classpath set to: extensionjar:connector_patch.jar;extensionjar:connector-jdbc-6.2.0-SNAPSHOT.jar. The embedded extensions directory contains connector-jdbc-6.2.0-SNAPSHOT.jar. In order to get the connector to start, the extension jar has to be renamed to connector-jdbc-6.0.0.jar.
--
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, 8 months
[JBoss JIRA] Created: (TEIID-577) Getting a major JDBC Error in the console (from the server), but don't see the exception in the process log
by Van Halbert (JIRA)
Getting a major JDBC Error in the console (from the server), but don't see the exception in the process log
-----------------------------------------------------------------------------------------------------------
Key: TEIID-577
URL: https://jira.jboss.org/jira/browse/TEIID-577
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.1.0
Reporter: Van Halbert
Assignee: Steven Hawkins
Trying to look at the extension modules in the console and receive a server SQLException when it''s accessing the CS_EXT_FILES. Unfortunately, the major exception isn't seen in the process log. I would have thought any major sql exception shown up when the console log setting is set to information.
Error:
Details
Error Code:ERR.014.004.0047 Message:Retrieve extension modulesExternalException: [ExternalException] ERR.014.004.0047: Error Code:ERR.014.004.0047 Message:Retrieve extension modules
1 [MetaMatrixComponentException] ERR.014.004.0047: Error Code:ERR.014.004.0047 Message:Error retrieving all extension module names:SELECT FILE_NAME, FILE_DESC, FILE_TYPE, SEARCH_POS, IS_ENABLED, CREATED_BY, CREATION_DATE, UPDATED_BY, UPDATE_DATE, CHKSUM FROM CS_EXT_FILES
2 [SQLException][MetaMatrix][Oracle JDBC Driver]Exception generated during deferred local transaction handling. See next exception via SQLException.getNextException for details.
3 [SQLException][MetaMatrix][Oracle JDBC Driver]Broken pipe
at com.metamatrix.console.models.ExtensionSourceManager.getModules(ExtensionSourceManager.java:217)
at com.metamatrix.console.ui.views.extensionsource.ExtensionSourcesPanel.populateTable(ExtensionSourcesPanel.java:194)
at com.metamatrix.console.ui.views.extensionsource.ExtensionSourcesPanel.init(ExtensionSourcesPanel.java:139)
at com.metamatrix.console.ui.views.extensionsource.ExtensionSourcesPanel.<init>(ExtensionSourcesPanel.java:91)
at com.metamatrix.console.ui.layout.WorkspaceController.createExtensionSourcesPanel(WorkspaceController.java:532)
at com.metamatrix.console.ui.layout.WorkspaceController.createPanelOfClass(WorkspaceController.java:359)
at com.metamatrix.console.ui.layout.WorkspaceController.doChangePanel(WorkspaceController.java:200)
at com.metamatrix.console.ui.layout.WorkspaceControllerWorkItem.run(WorkspaceControllerWorkItem.java:44)
at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:637)
Caused by: [MetaMatrixComponentException] ERR.014.004.0047: Error Code:ERR.014.004.0047 Message:Error retrieving all extension module names:SELECT FILE_NAME, FILE_DESC, FILE_TYPE, SEARCH_POS, IS_ENABLED, CREATED_BY, CREATION_DATE, UPDATED_BY, UPDATE_DATE, CHKSUM FROM CS_EXT_FILES
--
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, 8 months
[JBoss JIRA] Commented: (TEIID-607) Connectors with invalid connection properties should show Source Unavailable at startup
by Ramesh Reddy (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-607?page=com.atlassian.jira.plug... ]
Ramesh Reddy commented on TEIID-607:
------------------------------------
Looks like in the current code base we are doing the blocking testConnection. Status check will happen when first time request comes in, Teiid currently not doing any proactive status checks on the Connectors status either, should this resurrected?
> Connectors with invalid connection properties should show Source Unavailable at startup
> ---------------------------------------------------------------------------------------
>
> Key: TEIID-607
> URL: https://jira.jboss.org/jira/browse/TEIID-607
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 6.0.0
> Environment: MMServer: Fedora 8 Kernel 2.6.26.6-49.fc8
> Connector: Oracle JDBC Connector
> Reporter: Larry O'Leary
> Fix For: 6.2.0
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> If invalid connection properties are used in a connector binding the connector status shows "Running" at startup of the connector. When the first query is executed against the MMSystem that needs this connector an exception is thrown indicating that the connector wasn't found. This is due to the connector state changing to "Data Source Unavailable".
> Although this is the expected behavior it is very mis-leading to the administrator after creating/adding a new connector or bouncing the system. The MMConsole gives the appearance that everything is okay until users actually start running queries.
> What should be occurring is the current behavior and if Data Source Monitoring is enabled on the connector we should then check the data source available during connector startup. In other words, start the monitor thread with a timer of 0 instead a timer of monitoring interval. The idea is to show the connector as "Data Source Unavailable" at connector startup if the source isn't can't be reached due to invalid connection properties.
> TEST:
> To test this issue you simply need to have a connector deployed to a running MMSystem and verify that it is actually starting correctly with correct properties (ie verify you can run queries using this connector).
> Now, change the password on the connector to something that is invalid. Stop and then start the connector. The connector will show a "Running" state yet as soon as you execute the query the query will fail and the status of the connector will change to "Source Unavailable".
> EXPECTED RESULT:
> When you start a connector using an invalid password (or other connection type property like SID, DatabaseName, etc) the connector state should immediately reflect "Data Source Unavailable".
--
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, 8 months