• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Question Install and configure Tomcat

Sailorhost

New Pleskian
Hello friends -
I installed plesk - I installed tomcat8 both services are working,

I added my new host in the serves.xml file, but when I try to access the url with the jsp file, I get a response to the attempt to download the file, ie Is executing the file but tending to do the download.

what did I do wrong
 
I add to etc/tomcat8/server.xml

<Host name="java.sailorweb.com.br" appBase="/var/www/vhosts/sailorweb.com.br/java.sailorweb.com.br"/>

<Service debug="0" name="PSA">
<Connector port="9008" enableLookups="false" protocol="AJP/1.3" address="127.0.0.1"/>
<Connector port="9080" maxThreads="15" minSpareThreads="5" maxSpareThreads="75" enableLookups="true" acceptCount=$
<Engine name="PSA" defaultHost="localhost">
<Host deployXML="true" name="java.sailorweb.com.br" appBase="psa-webapps/java.sailorweb.com.br" unpackWARs="fal$
<Context crossContext="false" reloadable="false" useNaming="true" swallowOutput="false" privileged="true" dis$
<Realm className="org.apache.catalina.realm.MemoryRealm" pathname="psa-users/java.sailorweb.com.br.xml" valid$
</Host>
</Engine>
</Service>

I add to etc/tomcat8/Catalina/java.sailorweb.com.br/ROOT.xml


<?xml version='1.0' encoding='utf-8'?>
<Context path="/" docBase="/var/www/vhosts/sailorweb.com.br/java.sailorweb.com.br/" />
 
Back
Top