tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Walker <walke...@georgetown.edu>
Subject How Does GlobalNamingResources Work?
Date Tue, 05 Aug 2003 21:05:12 GMT
Hi,

I have an object and a javax.naming.spi.Naming factory that I want to
access as resources in server.xml.  I'm able to use <Resource> and
<ResourceParams> in the <Context>.  However, when I try to move either
one of these to <GlobalNamingResources>, Tomcat returns a 500 error
saying "Cannot create resource instance".

I think the factory code is correct since I can access the JNDI resource
in a JSP when I put the resource definition in <Context>.

Any help is appreciated,
Carl


Mime
View raw message