• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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