tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Garner <garner.ni...@gmail.com>
Subject DataSources created as resources in context.xml
Date Thu, 24 Nov 2005 09:10:30 GMT
I have a query about how tomcat stores DataSources that are created as part
of the Resource element in the context.xml file.

If the file is stored within the webapp's META-INF directory (as
recommended), will any defined DataSources be made available to other webapp
modules by binding them to the global JNDI tree or does tomcat store the
reference by a more secure, webapp specific means?

>From reading the tomcat documentation, it appears to bind them to the global
jndi tree but surely this creates the possibility that an other web
application could maliciously access datasource, specifically in shared
server web hosting environments?

Thanks in advance.
Nigel

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