Bugs item #783920, was opened at 2003-08-05 21:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=783920&group_id=22866
Category: JBossCX
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Scott M Stark (starksm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Parsing of *-ds.xml does not handle ws in *-property element
Initial Comment:
The handling of connection-property and
xa-datasource-property by the JCA deployer layer does
not deal with whitespace. For example, the following
oraccle-ds.xml descriptor:
<datasources>
<xa-datasource>
<xa-datasource>
<jndi-name>Pool2</jndi-name>
<track-connection-by-tx>
true
</track-connection-by-tx>
<isSameRM-override-value>
false
</isSameRM-override-value>
<xa-datasource-class>
oracle.jdbc.xa.client.OracleXADataSource
</xa-datasource-class>
<xa-datasource-property name="URL">
jdbc:oracle:thin:@localhost:1521:test
</xa-datasource-property>
<xa-datasource-property name="User">
yyyyy
</xa-datasource-property>
<xa-datasource-property name="Password">
yyyyy
</xa-datasource-property>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
</exception-sorter-class-name>
</xa-datasource>
</datasources>
Results in the following Properties stream which is not
parsed correctly due to the new lines which are seperators:
2003-08-05 21:14:07,935 DEBUG
[org.jboss.resource.connectionmanager.RARDeploymen
t] setting property: XADataSourceProperties to value URL=
jdbc:oracle:thin:@localhost:1521:test
User=
xxxxxx
Password=
xxxxxx
URL=
jdbc:oracle:thin:@localhost:1521:test
User=
xxxxxx
Password=
xxxxxx
This ends up producing this non-sensical error when the
properties are applied to the XADataSource using
JavaBean style reflection:
Could not find accessor on XADataSource: ; - nested
throwable: (java.lang.NoSuchMethodException:
oracle.jdbc.xa.client.OracleXADataSource.setxxxxxx(java.lang.String));
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=783920&group_id=22866
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development