[jboss-jira] [JBoss JIRA] (AS7-4673) Failure to set "SetBigStringTryClob=true" ConnectionProperties in xa-datasource-property

Roger S (JIRA) jira-events at lists.jboss.org
Sun Apr 29 22:23:17 EDT 2012


Roger S created AS7-4673:
----------------------------

             Summary: Failure to set "SetBigStringTryClob=true" ConnectionProperties in xa-datasource-property
                 Key: AS7-4673
                 URL: https://issues.jboss.org/browse/AS7-4673
             Project: Application Server 7
          Issue Type: Bug
    Affects Versions: 7.1.1.Final
         Environment: Red Hat Enterprise Linux Server release 5.7, JDK 7
            Reporter: Roger S


I found that when the following is set in the standalone.xml of JBoss-7.1.1.Final, it will have a fatal error:

<xa-datasource....>
     ....
     <xa-datasource-property name="ConnectionProperties">SetBigStringTryClob=true</xa-datasource-property>
     ....
</xa-datasource>


The error is:
 
Caused by: javax.resource.ResourceException: No property editor found for type: class java.util.Properties
        at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:601)
        at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:430)

 

When I don't define the SetBigStringTryClob setting, all is fine. However, the SetBigStringTryClob is really important for the application to work correctly. Hope there's at least a workaround.

This worked without problems in JBoss 4.2.3.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list