On Tue, Mar 06, 2001 at 09:15:33AM -0600, Dan Kearns wrote:
> Hey there,
>
> I am having a little problem with jbosscx (although overall it has been
> remarkably easy to play with!). I added a catch block for NPE in
> ConnectionFactoryLoader:276, and that seems to fix it, but I can't figure
> out where these particular properties are supposed to be set from?
This will happen if you have no properties attribute for the loader in
jboss.jcml. If you don't want to set any properties on the resource adapter,
include an attribute like:
<attribute name="properties"></attribute>
> Originally I didn't have any <config-property> elements in my descriptor,
> but this problem persisted even when I added a token one (and it is
> theoretically optional anyway, right?).
The problem is simply that I neglected to consider the case where there
are no properties you wish to set. A simple solution is to initialise
the properties field in ConnectionFactoryLoader to the empty string
rather than null. I will commit this momentarily.
Thanks for reporting this.
Toby.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]