• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

TomCAT plesk 9.2.1

hi

Yes, there are a solution to run your tomcat application in the main location. the solution consists in:

1º Rename your tomcat application to ROOT.war and deploy it in plesk.
2º you must config mod_jk connector manualy. you have to create a vhost.conf file in your conf directorty in your domain with this:

<IfModule mod_jk.c>
JkMount / ajp13
JkMount /* ajp13
</IfModule>


3º Plesk must be detect the new manual configuration. This his has been made in plesk linux with the command /usr/local/psa/admin/sbin/websrvmng -v -a
 
hi

Yes, there are a solution to run your tomcat application in the main location. the solution consists in:

1º Rename your tomcat application to ROOT.war and deploy it in plesk.
2º you must config mod_jk connector manualy. you have to create a vhost.conf file in your conf directorty in your domain with this:

<IfModule mod_jk.c>
JkMount / ajp13
JkMount /* ajp13
</IfModule>


3º Plesk must be detect the new manual configuration. This his has been made in plesk linux with the command /usr/local/psa/admin/sbin/websrvmng -v -a

Thanks for you replay , as I right you understand this tutorial for Plesk Linux ? Or in windows I can to deploy ROOT.war and I can run my Java app in the main site locatian like http://domain.com/
 
It didnt worked out any other way out. Application works fine with :9080 but not in domain name. Tried all possible steps but all are in vain.
 
Finally worked! SOLVED

hi

Yes, there are a solution to run your tomcat application in the main location. the solution consists in:

1º Rename your tomcat application to ROOT.war and deploy it in plesk.
2º you must config mod_jk connector manualy. you have to create a vhost.conf file in your conf directorty in your domain with this:

<IfModule mod_jk.c>
JkMount / ajp13
JkMount /* ajp13
</IfModule>


3º Plesk must be detect the new manual configuration. This his has been made in plesk linux with the command /usr/local/psa/admin/sbin/websrvmng -v -a


Some other things to make it work :

1. Delete the default ROOT app shipped with Tomcat;

2. Do this command /usr/local/psa/admin/sbin/httpdmng --reconfigure-all , instead of the old one.
 
Some other things to make it work :

1. Delete the default ROOT app shipped with Tomcat;

2. Do this command /usr/local/psa/admin/sbin/httpdmng --reconfigure-all , instead of the old one.


Directory to put the vhost.conf file is :

/var/www/vhosts/system/[your virtual host]/conf/
 
Back
Top