On 31/03/17 14:42, M. Osama Alghwell wrote: > docBase="E:\MyOrg\OrgAPP\Field" > > This will cause the service to not work (I did it and after changing I do > restart for the service) which meand Tomcat won't start
To quote my previous response: <quote> ... if that doesn't work provide the appropriate error information. </quote> Mark > > On Fri, Mar 31, 2017 at 2:59 PM, Mark Thomas <ma...@apache.org> wrote: > >> On 31/03/17 13:36, M. Osama Alghwell wrote: >>> I installed Tomcat 8 and application on Windows 2012 server. The >> structure >>> is as follows: >>> Driver --> E: >>> A main drictory named --> MyOrg >>> Two directories under MyOrg --> OrgAPP & OrgServer >>> >>> Under OrgAPP another directory named --> Field >>> Under Field all the directories for the application including WEB-INF >>> >>> Under OrgServer --> Tomcat8 >>> Under Tomcat8 --> Apache-Tomcat >>> Under Apache-Tomcat the Tomcat 8 files >>> >>> in Tomcat 8 document saying to install an application outside webapps >> this >>> can be down by an xml file in conf/Catalina/localhost/app.xml (the >> Engine >>> is Catalina and the host is localhost) which I did (the file is >> Field.xml. >>> In Field.xml I put <Context docBase="E:\MyOrg\OrgAPP"> >> >> This needs to be: >> >> docBase="E:\MyOrg\OrgAPP\Field" >> >> Try that and if that doesn't work provide the appropriate error >> information. >> >> Mark >> >> >>> Now, Tomcat 8 as a service works and I can open the manager GUI and find >>> Field as one of the listed applications. But if I click on it to open it >>> the 404 page comes up! >>> Other thing, if I add to the URL in the Context \Field, the service (I >> need >>> to restart it) won't work. >>> Any suggession? Shall I change the name of the xml file and add the >> \Field >>> in the Context? >>> Thank you >>> >> >> >> --------------------------------------------------------------------- >> 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