Search:

Type: Posts; User: Json

Search: Search took 0.11 seconds.

  1. Re: Problems in getting database connection from data source registerd with JNDI

    No, the resource does not go in your web.xml, it goes in your applications context.xml file. So in $CATALINA_HOME/conf/Catalina/localhost/myApplicationName.xml

    // Json
  2. Re: Problems in getting database connection from data source registerd with JNDI

    This is how we define JNDI datasources.

    In the application context XML file.



    <Resource name="jdbc/someName" auth="Container" type="javax.sql.DataSource"
    ...
Results 1 to 2 of 2