On 9/5/07, Mike Cronin <[EMAIL PROTECTED]> wrote:

> $CATLINA-HOME\webapps\a_subfolder\my_root\

> Within my_root there are a number of subfolders that contain various
> applications i.e. login, admin, reports and my WEB-INF.

1) defining Contexts within server.xml is discouraged,
2) appBase and docBase must not be the same,
3) so,  if you want to define your appBase as this:

    <Host name="my_site.com" appBase="webapps\a_subfolder\"/>

:: create a META-INF/context.xml file within your Context with
 <Context>
    <ResourceLink name="jdbc/OracleDS"
        global="OracleDataSource"
        type="javax.sql.DataSource"/>
</Context>

NOTE: no path attribute and no docBase attribute should be used
in this case.

HTH,
-- 
Hassan Schroeder ------------------------ [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to