tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aparna1 V <aparna...@tcs.com>
Subject Re: javax.naming.NamingException: Cannot create resource instance
Date Fri, 22 Oct 2010 10:24:43 GMT
It fails to parse the server.xml when i declare more than one resource 
under the Context element. 

Please help me out... 



From:
Pid <pid@pidster.com>
To:
Tomcat Users List <users@tomcat.apache.org>
Date:
10/22/2010 12:37 PM
Subject:
Re: javax.naming.NamingException: Cannot create resource instance



On 22/10/2010 06:40, Aparna1 V wrote:
> oh! but i need to connect to both those datasources. Is this not 
possible 
> in  tomcat6? 

Yes it is possible.

> And on top of that, you've got two ResourceLink name attributes pointing 

> to the same class with different names.

This is irrelevant.  The type attribute specifies the class, which of
course can have multiple instances.


p
[attachment "0x62590808.asc" deleted by Aparna1 V/BLR/TCS] [attachment 
"signature.asc" deleted by Aparna1 V/BLR/TCS] 

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message