Hello,
   I went through the documentation and I am still
running into problems with  deploying an app in Tomcat
5. I am tranisitioning from Tomcat 4.x to TC 5.

   I created an app.xml in the
$CATALINA_HOME/conf/Catalina/localhost/ sub-directory,
with the following settings:
<Context path="" docBase="/app/docs" debug="0"
crossContext="true"
         privileged="true" antiResourceLocking="false"
antiJARLocking="false">
                <Resource name="mail/Session"
auth="Container"
                        type="javax.mail.Session"/>
                <ResourceParams name="mail/Session">
                        <parameter>
                               
<name>mail.smtp.host</name>
                               
<value>mailhost</value>
                        </parameter>
                </ResourceParams>
</Context>

On starting the TC engine and by hitting the url - the
page did not render. So I added the above <Context>
element in the server.xml file (as I do in TC 4.x) and
restarted te TC engine. Now it was able to locate the
jars and the properties file that was located in the
/app/docs sub-directory. However, when the webapp was
trying to access a sub-directory /global/dir1 under
/app/docs - it bombed out. So, I believe that the
docBase has not been set correctly, since it was not
able to locate the aforementioned /global/dir1
sub-directory.

Could you please let me know if I am setting the
Context correctly or I would need to do it
differently.

Thanks
Sesha

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to