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: [email protected] For additional commands, e-mail: [email protected]
