• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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