tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: How to access JNDI resources on Tomcat level
Date Tue, 01 Dec 2009 11:39:52 GMT
vramanaj wrote:
> I have used jdbc/DefaultDS. Added ResourceLink to
> Catalina/localhost/webapp.xml.
>
> <Context path="/partnerapp"
> docBase="/usr2/tomcat/sso/apache-tomcat-6.0.18-sso/webapps/partnerapp"
>          debug="99" reloadable="true" antiJARLocking="true"
> antiResourceLocking="false" crossContext="true">
> <ResourceLink global="jdbc/DefaultDS" name="jdbc/DefaultDS"
> type="javax.sql.DataSource"/>
> </Context>
>
> And also added resource-ref to WEB-INF/web.xml.
>   
Stacktraces you have posted originate from josso webapp, not from test 
app. You need to alter context.xml / web.xml of josso webapp.

-- 
Mikolaj Rydzewski <miki@ceti.pl>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message