Added context.xml in META-INF directory. And also added resurce-ref in josso webapp. Still getting the same error.
Mikolaj Rydzewski-2 wrote: > > 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 <m...@ceti.pl> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/How-to-access-JNDI-resources-on-Tomcat-level-tp19672443p26590651.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org