The JndiDataSourceFactory has changed a lot since 3.0.2 Did you try to
use the version from CVS ? I did not look deeply into it, but I see no
reason to test for isEmpty() in the specified place in the current
version. I might be wrong, though.
Thomas
On Thu, 19 May 2005 [EMAIL PROTECTED] wrote:
Hello developers,
I tried to use commons configuration 1.1 with torque 3.0.2.
If I did so, an exception was thrown that a null object can not be bound to
the specified reference.
I found the reason for this in JndiDataSourceFactory.initDataSource.
Testing Configuration c != null is not enough. It is also nessesary to test
c.isEmpty.
I don't know if this is the only place to modify code, but it is one place.
Mit freundlichen Gr��en / Sincerely yours
Mathias Drischmann, IT / Business Applications
tecis� Finanzdienstleistungen Aktiengesellschaft Alter Teichweg 17 � 22081
Hamburg
Telefon: +49 (0)40 - 69 69 51 510
E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Internet: http://www.tecis.com <http://www.tecis.com/>
Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrt�mlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]