Toby Allsopp wrote:

> On Tue, Mar 06, 2001 at 09:39:19AM -0600, Dan Kearns wrote:
> 
>> Ok, one more look at the docs and I tracked down the problem:
>> in jboss.jcml under the connection factory mbean config, I had
>> 
>> <attribute name="Properties"></attribute>
>> 
>> If I put a property in there it works with no npe. 
> 
> 
> Hmm, that contradicts what I thought should happen. I thought having the
> empty attribute would call setProperties(""), but it seems that it either
> doesn't call it or sets it to null.
> 
> Disregard my previous response. I'll look into this further tonight.

Ok, what happens is the ConfigurationService only sets the attribute if
the attribute element in jboss.jcml has something in it.

I've changed the default value in ConnectionFactoryLoader from null to
the empty string, so you should be able to leave Properties empty now.

Toby.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to