[teiid-issues] [JBoss JIRA] (TEIID-2302) Issues setting up Teiid as an XA datasource in AS 7

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Tue Dec 4 13:31:21 EST 2012


     [ https://issues.jboss.org/browse/TEIID-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2302.
-----------------------------------

    Resolution: Done


Addressed the reliance on the threadcontextclassloader/sealedobject in both both a backwards and a forward manner.  The old code will now explicitly set the classloader and 8.3+ will no longer use sealedobject (which isn't really needed and does add additional serialzation overhead).

I also took a pass through and optimized the buffer usage on the client side socket logic.  Over-buffering and much of the potential rebuffering has been eliminated.

The backwards fix for the BasicCryptor sealed object logic and the socket buffer optimization may be of interest for backporting.
                
> Issues setting up Teiid as an XA datasource in AS 7
> ---------------------------------------------------
>
>                 Key: TEIID-2302
>                 URL: https://issues.jboss.org/browse/TEIID-2302
>             Project: Teiid
>          Issue Type: Bug
>          Components: Build/Kits
>    Affects Versions: 8.2
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>             Fix For: 8.3
>
>
> Ran across 2 issues when trying to setup Teiid as a XA data source based on the teiid-xa-ds.zml in the jboss kit:  docs/teiid/datasources/teiid/teiid-xa-ds.xml
> 1 - ClassNotFound for the org.hibernate.dialect.Dialect, so added: 
>    <module name="org.hibernate"/>
>    to the teiid/client/main/module.xml
> 2 - seeing this error:  TEIID10006 Decryption failed: java.lang.ClassNotFoundException   org.teiid.client.util.ExceptionHolder from [Module "org.jboss.jts:main"  but that was resolved after I changed security from:
>         <security>
>             <user-name>user</user-name>
>             <password>user</password>
>         </security>
> to:
>                     <xa-datasource-property name="User">
>                         user
>                     </xa-datasource-property>
>                     <xa-datasource-property name="Password">
>                         user
>                     </xa-datasource-property>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list