Hi,
Me too, though I haven't done it in a while.  What tomcat version are
you using?

>> I just wrote a Filter that uses a JNDI provided datasource.
>> When I try
>> to access that datasource from the Filter.init(...) I get a
exception:
>>
>> Caused by: javax.naming.NamingException: Cannot create
>> resource instance

Please post the server.xml segment that defines this JNDI resource.

>> I tried reordering my web.xml so that the resource-env-ref
>> came before the problematic filter to no avail.

This wouldn't make a difference: if your web.xml is valid, it's valid.
If your web.xml is invalid, you would've gotten an error on startup and
not gotten this far.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to