Deploy URI of COMMS7 Application
By dabrain on Oct 29, 2009
During the installation of Comms7 you need to enter the URI path for the deploy of Applications like DA (Delegated Admin), IWC (Convergence), DAV (Caldav), etc.
If you plan to have several Applications deployed in the same instance never ever choose / for any of the Application, this will result in non working other Application. So the Application which is deployed in / is the only one working left.
If you already at this stage that you choose / for one of the Application this even isn't a great issue. Just stop the Application Server and edit the domain.xml config file of Application Server, the file is in /appserver-root-dir/domains/domains1/config directory, setup the context-root similar as below.
web-module ... context-root="/commcli" ... name="commcli" web-module ... context-root="/da" ... name="Delegated_Administrator" web-module ... context-root="/davserver" ... name="davserver" web-module ... context-root="/im" ... name="im" web-module ... context-root="/iwc" ... name="Convergence"
Afterwards start the Application Server. You should now see the default index.html when you access the root URI of the Glassfish Application Server
If you would like to avoid your users seeing the Glassfish index.html by accessing the / you might would like to change the index.html of Glassfish with something that forward your users to one of the deployed Application, most likely IWC. For this kind of forwarding you 'just' need a single line in the /appserver-root-dir/domains/domain1/docroot/index.html
<meta http-equiv="refresh" content="1;url=http://yourserver.domain.tld/iwc">