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:
-
Open the environment or server file that you want to edit and
click the Overview tab.
-
Click the Type field and select the type
of server on which the model will be deployed. The available
application servers are Generic, JBoss, and WebSphere.
Note: The Generic server type refers to
NexJ Server.
-
In the Deployment Location field, enter
the deployment location of the server.
-
Enter the administrator user name in the Deployment
User field and the administrator password in the
Password field.
-
In the Description field, enter a
meaningful description of the application server.
-
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 JBoss in the default location"
location="C:\jboss-5.2.0.EAP\server\default" password="text:jbadmin"
type="JBoss" user="admin">
</Environment>