Sometimes the only way things ever got fixed is because people became uncomfortable.
Sometimes the only way things ever got fixed is because people became uncomfortable.
Sometimes the only way things ever got fixed is because people became uncomfortable.
Stephan van Hulst wrote:Tim, how do you figure the app immediately shuts down? All I see is the standard warning that is given when a WAR is deployed to Tomcat whose context.xml contains a path attribute.
Tim Holloway wrote:
What does file conf\Catalina\localhost\EspecialidadesController.xml look like?
Cezar Apulchro wrote:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN" name="EspecialidadesController">
....
Tomcat Log wrote:
02-May-2022 08:11:50.875 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value [/EspecialidadesController] in deployment descriptor [C:\Program Files\Apache Software Foundation\apache-tomcat-9.0.59\conf\Catalina\localhost\EspecialidadesController.xml] has been ignored
Sometimes the only way things ever got fixed is because people became uncomfortable.
This attribute must only be used when statically defining a Context in server.xml. In all other circumstances, the path will be inferred from the filenames used for either the .xml context file or the docBase.
Sometimes the only way things ever got fixed is because people became uncomfortable.
Cezar Apulchro wrote:context.xml:
EspecialidadesController.xml:
Sometimes the only way things ever got fixed is because people became uncomfortable.
Yup, yup, yup. Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|