• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Set up .JSP pages to run from domain's DocumentRoot directory

AngusC

New Pleskian
Plesk for Linux 11.0.9, Update #63, CentOS 5.3

I enabled Tomcat at Plesk panel, checked http://ABC.COM:8080 setup successfully.
But somehow I want to run .jsp from domain's DocumentRoot dir i.e.
/var/www/vhosts/ABC.COM/httpdocs/, I found below KB may help to solve my problem, then I follow the third method.

KB: http://kb.odin.com/en/8569

I added the tomcat system account to the psaserv group, created a vhost.conf at /var/www/vhosts/ABC.COM/conf/, then added the following scripts:
<IfModule mod_jk.c>
JkMount /javaApp ajp13
JkMount /javaApp/* ajp13
</IfModule>

But I stopped at e) Create a context for the application in the /usr/share/tomcat5/conf/PSA/domain.tld/ROOT.xml file, because I cannot find PSA/under /usr/share/tomcat5/conf/, I just found a context.xml, server.xml, web.xml under conf/, should I copy the below into context.xml?

<Context crossContext="false"
reloadable="false" useNaming="true" debug="0" swallowOutput="false"
privileged="true" displayName="Моё приложение"
docBase="/var/www/vhosts/domain.tld/httpdocs" cookies="true"
path="" cachingAllowed="true"/>

Also should I edit the docBase to "/var/www/vhosts/ABC.COM/httpdocs"?


Thank you for your help!!!
 
Back
Top