tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shawn <javajun...@koyuru.com>
Subject Re: JNDI jdbc resources
Date Mon, 27 Jan 2003 11:09:47 GMT
Hey catv... used to use them

just to confirm,

this is not your server.xml
<Resource name="jdbc/myoracle" auth="Container"
> > >               type="javax.sql.DataSource"/>
> > > 
> > > 

that I beleive was an earlier post and different from

jdbc/DBmultileague

anyway, I had a similar prob and it was in my server.xml  that's why I
suggested it.

yours may be different

shawn

On Mon, 2003-01-27 at 19:45, Paul Carpenter wrote:
> Hi Peng
> 
> For Shawn's benefit - the context you see is in my server.xml (well,  
> actually, a separate xml file just like the manager.xml and admin.xml  
> in the /webapps directory).
> 
> Based on the other posting to the list, I've tried both with the  
> web.xml file having nothing for the resource defined, and also as below  
> (after the servlet mappings):
> 
> 	<resource-ref>
>    		<description>
>      		Resource reference to a factory for java.sql.Connection
>      		instances that may be used for talking to a particular
>      		database that is configured in the server.xml file.
>    		</description>
>    		<res-ref-name>
>      		jdbc/DBmultileague
> 		</res-ref-name>
>    		<res-type>
>      		javax.sql.DataSource
>    		</res-type>
>    		<res-auth>
> 			Container
>    		</res-auth>
> 	</resource-ref>
-- 
shawn <javajunkie@koyuru.com>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message