Okay, does this help any? The "'" (single quote) marks the start and stop
of the actual string. This is the log dump snippet...
[Default] before trim: ' # Name of Resource
Name=test01 # FCCN of Connector
Connector=com.attachmate.connectors.xatest.XATestConnector
# Task file to open TaskFile=abc '
[Default] after trim: '# Name of Resource Name=test01
# FCCN of Connector
Connector=com.attachmate.connectors.xatest.XATestConnector
# Task file to open TaskFile=abc'
[Default] before edit: '# Name of Resource Name=test01
# FCCN of Connector
Connector=com.attachmate.connectors.xatest.XATestConnector
# Task file to open TaskFile=abc'
[Default] after edit: '# Name of Resource Name=test01
# FCCN of Connector
Connector=com.attachmate.connectors.xatest.XATestConnector
# Task file to open TaskFile=abc'
-----Original Message-----
From: Toby Allsopp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 2:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBossCX Config and Properties Issue
On Wed, May 16, 2001 at 01:45:46PM -0700, Jacob Barrett wrote:
> I am trying to deploy a JCA resource adapter in JBoss 2.3Beta (as of 11 am
> this morning). It is appearing to deploy correctly except for setting any
> of the properties. I put some debug code in to see what was going on and
> found this.
>
> Properties as found in jboss.jcml:
> <attribute name="Properties">
> # Name of Resource
> Name=test01
> # FCCN of Connector
>
> Connector=com.attachmate.connectors.xatest.XATestConnector
> # Task file to open
> TaskFile=abc
> </attribute>
>
> Properties in props String in
> ConnectionFactoryLoader.loadConnectionFactory():
> "# Name of Resource Name=test01 #
> FCCN of Connector
> Connector=com.attachmate.connectors.xatest.XATestConnector
> # Task file to open TaskFile=abc"
> (one continuous line with not cr/lf)
Hmm. I thought this worked. Possibly this has been broken by the
auto-trimming of the attributes, although I wouldn't expect that to get rid
of line breaks.
Perhaps the problem is with the XML parser, or perhaps the PropertyEditor.
Can I impose upon you to put some extra debugging in ConfigurationService,
around the setting of the attribute? Dump the value before trimming it,
after trimming it, before PropertyEditoring it, after PropertyEditoring it,
etc?
Thanks,
Toby.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user