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

Issue Tomacat and domain bindings

Manuel Righi

New Pleskian
Hello,
I have Plesk Panel 12.5.30, Update #65.
I have added new website to my panel, for deploy a Java application.
For example domain are mydomain.com. with www and whitout www hosting responding correctly.
I see that tomcat server respond only from mydomain.com (without www).
I have added "Alias" section on /var/lib/tomcat7/conf/server.xml for www.mydomain.com and now tomcat server respond for www.

It's a bug the binding only the domain whitout www ?
It's possible to manage this binding from plesk panel gui ?

Thanks
Manuel
 
Yes, it is bug PPP-27070. The fix is scheduled to one of next Plesk updates.

POSSIBLE TEMPORARY WORKAROUND:

1. Use the following:

# plesk bin domain_pref -u first.tld -www false
# plesk bin domain_pref -u first.tld -www true

2. Or manually add host into /usr/share/tomcat/conf/server.xml

Code:
<Host deployXML="true" name="www.example.com" appBase="psa-webapps/example.com" unpackWARs="false" autoDeploy="true" liveDeploy="true">
<Realm className="org.apache.catalina.realm.MemoryRealm
 
Hello IgorG,
thanks ... do you have a date when the fix will be released?
Because every update breaks my changes on server.xml

:|

Thanks
Manuel
 
Back
Top