• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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