• 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.

Tomcat - docBase=Document Root

V

vm12

Guest
I have made all changes in vhost.conf, Server.xml, and workers.properties to point my document base to my web application document root. But still I get page not found error on calling a jsp file. This is a very simple 1 jsp file application. Can someone please help. I will return the favor.
Please note that I don;t have any war file to be deployed. It's just a single jsp file in the document root with a supporting small java file and web.xml in web-inf directory. Also, I even tried packing these 3 files in a war and deploying but this did not help.

vhost.conf entry
-----------------
<IfModule mod_jk.c>
JkMount /*.jsp ajp13
JkWorkersFile /etc/httpd/conf/workers.properties
</IfModule>

<Directory /var/www/vhosts/DOMAIN/httpdocs/WEB-INF/>
AllowOverride None
Deny from all
</Directory>

Server.XML (only the service part)
-----------
<Service debug="0" name="PSA">
<Connector port="9008" enableLookups="true" debug="0" protocol="AJP/1.3"/>
<Connector port="9080" maxThreads="75" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" acceptCount="10" debug="0" connectionTimeout="40000" disableUploadTimeout="true"/>
<Engine name="PSA" defaultHost="DOMAIN" debug="0">
<Host name="DOMAIN" debug="0" appBase="/var/www/vhosts/DOMAIN/httpdocs">
<Context crossContext="false" reloadable="false" useNaming="true" debug="0" swallowOutput="false" privileged="true" displayName="Tomcat Manager Application" docBase="/usr/share/tomcat5/server/webapps/manager" cookies="true" path="/manager" cachingAllowed="true"/>
<Context crossContext="false"
reloadable="false" useNaming="true" debug="0" swallowOutput="false"
privileged="true" displayName="Your Application Name"
docBase="/var/www/vhosts/DOMAIN/httpdocs" cookies="true"
path="" cachingAllowed="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm"/>
<Alias>
DOMAIN
</Alias>
</Host>
</Engine>
</Service>

-----------
 
Back
Top