Thanks so much for the reply Mark.

I did the following and I'm still getting issues. Note I tried 2 things:

1st:
- created $CATALINA_HOME/wars and placed the onlinecourses.war file in there
- cleaned out all old files from $CATALINA_HOME/work/... $CATALINA_HOME/webapps
- removed onlinecourses.war from webapps
- added docBase to Context element and set it to "onlinecourses"

Errors occurred like before indicating that /webapps/wars was going to be 
ignored 

2nd:
So I then tried using an absolute path for the docBase in the Context.

<Context docBase="/usr/local/tomcat8081/wars">

That seemed to get rid of all the Tomcat errors and it appears that it worked 
but I cannot hit the webapp. I get a 404 from Tomcat when I try to hit:

http://localhost:8081/onlinecourses/insight

I even looked at Tomcat Manager and it says the webapps is Started just fine.

Any ideas? Also, is the way I have things configured right now the preferred 
approach?

Thanks!



On Mar 22, 2011, at 2:17 PM, Mark Thomas wrote:

> On 22/03/2011 20:14, Billy Bacon wrote:
>> Does anyone know what I'm doing wrong?
> 
> Move the WAR file *outside* of the host's appBase (i.e. not in the
> webapps directory) and specify the docBase in your context.xml files.
> 
> Mark
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to