• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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