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

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