1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

TomCAT plesk 9.2.1

Discussion in 'Plesk 9.x for Windows Suggestions and Feedback' started by dim_s@, Jun 28, 2009.

  1. dim_s@

    dim_s@ Basic Pleskian

    23
    23%
    Joined:
    Oct 30, 2008
    Messages:
    25
    Likes Received:
    0
    Location:
    UA
  2. dim_s@

    dim_s@ Basic Pleskian

    23
    23%
    Joined:
    Oct 30, 2008
    Messages:
    25
    Likes Received:
    0
    Location:
    UA
    Is it possible to create some Rewrite Rule to redirect ?
     
  3. xenxo blanco

    xenxo blanco Guest

    0
     
    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
     
  4. Maria m

    Maria m Guest

    0
     
  5. dim_s@

    dim_s@ Basic Pleskian

    23
    23%
    Joined:
    Oct 30, 2008
    Messages:
    25
    Likes Received:
    0
    Location:
    UA
    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/
     
  6. NirajC

    NirajC Guest

    0
     
    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.
     
  7. Peteles

    Peteles New Pleskian

    6
     
    Joined:
    Nov 12, 2013
    Messages:
    2
    Likes Received:
    0
    Finally worked! SOLVED


    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.
     
  8. Peteles

    Peteles New Pleskian

    6
     
    Joined:
    Nov 12, 2013
    Messages:
    2
    Likes Received:
    0

    Directory to put the vhost.conf file is :

    /var/www/vhosts/system/[your virtual host]/conf/
     
Loading...