Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Upgrade and Migration Guide

- Previous: To Build an EAR File
- Next: Applications With Form-based Authentication

## Application Root Context and Access URL

There is a major ”difference between Application Server 6.x and the Application Server, concerning the applications access URL (root context of the application’s Web module. If `AppName` is the name of the root context of an application deployed on a server called `hostname`, the access URL for this application will differ depending on the application server used:

- With Application Server 6.x, which is always used jointly with a Web front-end, the access URL for the application takes the following form (assuming the Web server is configured on the standard HTTP port, 80):

      http://<hostname>/NASApp/AppName/

- With the Application Server, the URL takes the form:

      http://<hostname>:<portnumber>/AppName/

The TCP port used as default by Application Server is port 8080.

Although the difference in access URLs between Application Server 6.x and the Application Server might appear minor, it can be problematic when migrating applications that make use of absolute URL references. In such cases, it is necessary to edit the code to update any absolute URL references so that they are no longer prefixed with the specific marker used by the Web Server plug-in for Application Server 6.x.

- Previous: To Build an EAR File
- Next: Applications With Form-based Authentication

- © 2010, Oracle Corporation and/or its affiliates