I have passed through this DataSource look up problem. I altered context.xml/web.xml of josso webapp. And also used short JNDI names at tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS), and full JNDI name at Josso configuration level (e.g. java:comp/env/jdbc/DefaultDS).
Now when i try to access the application, getting the error Invalid Authentication Information. Tomcat log shows as: INFO: Tue Dec 01 07:31:45 EST 2009 - sso-user - info - vjosyula - authenticationFailed=failure - remoteHost=10.104.9.33,authScheme=basic-authent ication - ERROR:vjosyula:org.josso.auth.exceptions.AuthenticationFailureException ----------------------------------------------------------------------------------------------------- vramanaj wrote: > > 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-tp19672443p26591040.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