Description
After deploying Web Space Server into a GlassFish (v2.1) domain in which other applications are already installed (for example, OpenSSO 8, Access Manager Server 7, or some sample application), those applications can no longer be accessed.
The problem is that Web Space Server takes over the servlet context root (/), which causes all web references to be redirected through the portal infrastructure. Note that this problem does not occur for applications that are deployed to GlassFish after Web Space Server; that is, the order in which the applications are deployed relative to Web Space Server is significant.
Solution
The default context root, “/”, can be changed by specifying a different context root during deployment; for example:
asadmin deploy -contextroot /foo |
Note that if you do this, you also must set the portal.ctx configuration parameter in portal-ext.properties to match. For more information, see Portal Context in Sun GlassFish Web Space Server 10.0 Administration Guide.