Tomcat6 does not deploy my webapp

I have access to the Tomcat server, which is currently deploying two webapps. When I put my own webapp in the apache-tomcat-6.xxx/webapps directory, it does not deploy it. I tried downloading the Tomcat webapp sample and deployed it to the webapps directory, and it still does not deploy.

Is there anything I need to do besides placing the web pages in the apache * / webapps directory to deploy them? I tried to start / restart Tomcat ad nauseam.

Thank you,
KTM

+4
source share
9 answers

, webapp, , webapp.war? webapp.war, webapp. Tomcat , webapp.

+1

tomcat?

+1

? , webapps. .

0

, . catalina.policy, -.

0

.war eclipse, , - - , . , 3.0 Tomcat 7, Tomcat 6, ​​ 2.5. , . .

0

, tomcat. , .

$ sudo rm -fr /path/to/tomcat/webapps/<yourwebapp>

$ sudo chown tomcat:tomcat /path/to/tomcat/webapps/<yourwebapp.war>

0

tomcat 6. - $CATALINA_HOME/conf/Catalina/localhost/MyAppName.xml ... , , XML, WAR, ( WAR webapps), . ... , , ...

, ...

0

, redownload tomcat service.xml, , WEB-INF/web.xml exsit.

0

The problem I ran into was that too many Java processes were running. Somehow, it prevented Tomcat from starting and did not produce any errors.

To do this, I killed all the Java processes, and then restarted Tomcat, and it worked.

On Linux:

> ps -aux | grep java
> kill -9 [pid_from_last_command]
0
source

Source: https://habr.com/ru/post/1790815/


All Articles