NexJ Logo

Setting the application server

The environment file must be configured for the specific application server that is used to deploy the model.

To deploy a model to an application server, you must at least specify the server type, deployment location, administrator user name, and password.

To configure an environment file in NexJ Studio:

  1. Open the environment or server file that you want to edit and click the Overview tab.

  2. Click the Type field and select the type of server on which the model will be deployed. The available application servers are Generic and WebSphere.

    Info

    The Generic server type refers to NexJ Server.

  3. In the Deployment Location field, enter the deployment location of the server.
  4. Enter the administrator user name in the Deployment User field and the administrator password in the Password field.
  5. In the Description field, enter a meaningful description of the application server.
  6. Click the Save button in the toolbar or use the keyboard shortcut Ctrl + S to save the changes to the environment.

The source XML of the environment file should be similar to the following:

<Environment authDomain="DOMAIN.LOCAL" authService="HTTP/localhost.local" 
description="Local machine with WebSphere in the default location" 
location="soap://washost.nexjsystems.local:8879/nexjCell/nexj" password="text:<waspassword>" 
type="WebSphere <8>" user="<wasadmin>"> 
</Environment>