Environment
Micro Focus GroupWise 2014 R2
GroupWise Calendar Server
Macintosh Calendar application
Situation
Mac users unable to connect to newly configured GroupWise Calendar Server
Error in gwcalsvr.log file: "Error configuring or starting webapp"
Resolution
The problem happens because another process (such as Apache, which is used by GroupWise WebAccess) is already using the default port 443 on the server.
Running netstat -peanut | grep 443 should display any processes listening on 443, 8443, 9443, etc
To resolve the issue:
Run the ./install.sh script included with the current GroupWise 2014.x support pack and choose option 6 - GroupWise Calendar Server, and then option 2 - Configure
Connect to the Calendar Server Configuration web page at https://<server>:9443
Under Server Settings, change the port to 8443 (or another port that is not in use)
Save the changes and logout of the Calendar Server Configuration web page
In a Terminal window on the server, run rcgwcalsvr stop and then rcgwcalsvr start
To verify that Calendar Server started correctly, check the /var/log/novell/groupwise/calsvr/calsvr.log file to and you should see something like:
YYYY-MM-DD 10:17:12 @ ServerConnector [INFO] Started ServerConnector@d2cc05a{SSL,[ssl, http/1.1]}{0.0.0.0:443}
YYYY-MM-DD 10:17:12 @ Server [INFO] Started @8539ms
YYYY-MM-DD 10:17:12 @ Server [INFO] Started @8539ms
Running netstat -peanut | grep 443 should show a java process listening on the new port, as in this example:
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 0 8248321 3910/java