Tomcat vs Weblogic JNDI Lookup
问题 The Weblogic servers we are using have been configured to allow JNDI datasource names like \"appds\". For development (localhost), we might be running Tomcat and when declared in the <context> section of server.xml, Tomcat will hang JNDI datasources on \"java:comp/env/jdbc/*\" in the JNDI tree. Problem: in Weblogic, the JNDI lookup is \"appds\" whilst in Tomcat, it seems that that I must provide the formal \"java:comp/env/jdbc/appds\". I\'m afraid the Tomcat version is an implicit standard