[JBoss JIRA] Closed: (TEIID-643) XML-Relational SOAP connector throws ClassNotFound exception when starting.
by Steven Hawkins (JIRA)
[ https://jira.jboss.org/jira/browse/TEIID-643?page=com.atlassian.jira.plug... ]
Steven Hawkins closed TEIID-643.
--------------------------------
> XML-Relational SOAP connector throws ClassNotFound exception when starting.
> ---------------------------------------------------------------------------
>
> Key: TEIID-643
> URL: https://jira.jboss.org/jira/browse/TEIID-643
> Project: Teiid
> Issue Type: Bug
> Components: Tools
> Affects Versions: 6.1.0
> Environment: Designer IDE build on RHEL CSB with Teiid 6.1 M4
> Reporter: John Doyle
> Assignee: John Doyle
> Priority: Blocker
> Fix For: 6.1.0
>
>
> When creating a model with the Web Service to Relational Model importer, a class not found exception is thrown when creating the binding.
> com.metamatrix.common.application.exception.ApplicationLifecycleException: Could not find Connector class com.metamatrix.connector.xml.base.XMLConnector
> at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:414)
> at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.start(ConnectorManager.java:337)
> at com.metamatrix.dqp.embedded.services.EmbeddedDataService.startConnectorBinding(EmbeddedDataService.java:241)
> at com.metamatrix.dqp.embedded.services.EmbeddedDataService$1.loaded(EmbeddedDataService.java:88)
> at com.metamatrix.dqp.embedded.services.EmbeddedConfigurationService.notifyConnectorBindingLoad(EmbeddedConfigurationService.java:1407)
> at com.metamatrix.dqp.embedded.services.EmbeddedConfigurationService.deployConnectorBinding(EmbeddedConfigurationService.java:1134)
> at com.metamatrix.dqp.embedded.services.EmbeddedConfigurationService.saveConnectorBinding(EmbeddedConfigurationService.java:738)
> at com.metamatrix.dqp.embedded.services.EmbeddedConfigurationService.addConnectorBinding(EmbeddedConfigurationService.java:712)
> at com.metamatrix.dqp.embedded.admin.DQPConfigAdminImpl.addConnectorBinding(DQPConfigAdminImpl.java:389)
> at com.metamatrix.dqp.embedded.admin.DQPConfigAdminImpl.addConnectorBinding(DQPConfigAdminImpl.java:285)
> 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.core.util.MixinProxy.invoke(MixinProxy.java:48)
> at com.metamatrix.jdbc.EmbeddedConnection$1.invoke(EmbeddedConnection.java:103)
> at $Proxy18.addConnectorBinding(Unknown Source)
> at com.metamatrix.modeler.dqp.ui.workspace.WorkspaceExecutor.addConnectorBinding(WorkspaceExecutor.java:330)
> at com.metamatrix.modeler.dqp.ui.workspace.WorkspaceExecutor$BindingListener.handleConnectorBindingEvent(WorkspaceExecutor.java:465)
> at com.metamatrix.modeler.dqp.ui.workspace.WorkspaceExecutor$BindingListener.stateChanged(WorkspaceExecutor.java:444)
> at com.metamatrix.modeler.dqp.internal.config.ConfigurationManagerImpl.fireChangeEvent(ConfigurationManagerImpl.java:475)
> at com.metamatrix.modeler.dqp.internal.config.ConfigurationManagerImpl.saveConfigLocal(ConfigurationManagerImpl.java:141)
> at com.metamatrix.modeler.dqp.internal.config.ConfigurationManagerImpl.addBinding(ConfigurationManagerImpl.java:216)
> at com.metamatrix.modeler.modelgenerator.wsdl.SoapBindingInfo.createConnectorBinding(SoapBindingInfo.java:116)
> at com.metamatrix.modeler.modelgenerator.wsdl.RelationalModelBuilder.createModel(RelationalModelBuilder.java:97)
> at com.metamatrix.modeler.modelgenerator.wsdl.ui.internal.wizards.RelationalFromWSDLImportWizard.runFinish(RelationalFromWSDLImportWizard.java:195)
> at com.metamatrix.modeler.modelgenerator.wsdl.ui.internal.wizards.RelationalFromWSDLImportWizard$1.run(RelationalFromWSDLImportWizard.java:137)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Caused by: com.metamatrix.core.MetaMatrixCoreException: com.metamatrix.connector.xml.base.XMLConnector
> at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:285)
> at org.teiid.dqp.internal.datamgr.impl.ConnectorManager.initStartConnector(ConnectorManager.java:400)
> ... 27 more
> Caused by: com.metamatrix.core.MetaMatrixCoreException: com.metamatrix.connector.xml.base.XMLConnector
> at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:299)
> at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:283)
> ... 28 more
> Caused by: java.lang.ClassNotFoundException: com.metamatrix.connector.xml.base.XMLConnector
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at com.metamatrix.common.classloader.PostDelegatingClassLoader.loadClass(PostDelegatingClassLoader.java:90)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at com.metamatrix.core.util.ReflectionHelper.loadClass(ReflectionHelper.java:251)
> at com.metamatrix.core.util.ReflectionHelper.create(ReflectionHelper.java:292)
> ... 29 more
--
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, 10 months
[JBoss JIRA] Created: (TEIID-640) DriverManager usage introduces classloading issues
by Steven Hawkins (JIRA)
DriverManager usage introduces classloading issues
--------------------------------------------------
Key: TEIID-640
URL: https://jira.jboss.org/jira/browse/TEIID-640
Project: Teiid
Issue Type: Bug
Components: Embedded
Affects Versions: 6.0.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Critical
Fix For: 6.1.0
When using Teiid through the DriverManager - but without the jar in the app classloader (such as is the case with DTP/Hibernate tools) we run into classloading issues.
There are two fixes needed.
1. The EmbeddedDriver creation of the post delegating class loader should use it's classloader rather than context class loader as the parent. Then there is a consistent classloader for the classes coming from the client jar.
2. The LocalConnectionFactory needs to set the context classloader so that we don't inadvertently use the apps context classloader in our services (such as the transaction service).
--
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, 10 months
[JBoss JIRA] Created: (TEIID-644) XML-Relational connector is failing to load a SAX parser.
by John Doyle (JIRA)
XML-Relational connector is failing to load a SAX parser.
---------------------------------------------------------
Key: TEIID-644
URL: https://jira.jboss.org/jira/browse/TEIID-644
Project: Teiid
Issue Type: Bug
Components: XML Connector
Affects Versions: 6.1.0
Environment: Teiid M4 on RHEL CSB called from SQuirreL
Reporter: John Doyle
Assignee: John Doyle
Fix For: 6.1.0
In the past the connector inherited xerces. I think it may need to be added to the connector classpath.
Caused by: org.jdom.JDOMException: Could not load default SAX parser: org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser
at org.jdom.input.SAXBuilder.createParser(SAXBuilder.java:581)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:424)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:851)
at com.metamatrix.connector.xml.base.ExecutionInfo.getNamespaces
--
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, 10 months