Deploying on Sun Java System Application Server (UNIX Only)

This topic describes how to deploy J2EE applications using Sun Java System Application Server. Sun Java System Application Server deployment is for the UNIX platform only.

On Sun Java System Application Server, the enovia.war file is your web application's .war file. If you re-deploy the enovia.war file, you should first remove the existing war file.

This task shows you how to:

Related Topics
Deploying on Tomcat
Deploying on WebLogic
Deploying on WebSphere

Deploy using Sun Java System Application Server

To deploy using Sun Java System Application Server on UNIX or Linux:

  1. Change directory to /app/SUNWappserver7/bin.

  2. Type:

    asadmin

  3. Stop the server by typing:

    stop-appserv

  4. Deploy the ear file by typing:

    deploy --user ADMIN_USER --password ADMIN_PASSWORD 
    /app/RMI_INSTALL/distrib/ematrix.ear
    

  5. Restart the Sun Java System Application Server server by typing:

    start-appserv

Remove the enovia.war file

To remove the enovia.war file:

  1. On the UNIX command line, type the following:

    undeploy --user ADMIN_USER --password ADMIN_PASSWORD WEB_APP_NAME
    

    For example, the WEB_APP_NAME might be ematrix.

  2. Stop and restart the Sun Java System Application Server.

Use Sun Java System Application Server

The following are some helpful tips for using Sun Java System Application Server:

  • You can start the Sun Java System Application Server using the start-appserv command. You can stop it using the stop-appserv command.
  • Log files are located in the folllowing directories:
    /var/opt/SUNWappserver7/domains/domain1/server1/logs/
    /var/opt/SUNWappserver7/domains/domain1/admin-server/logs/
  • To connect from a browser, use the following URL: http://HOSTNAME:PORT/enovia/common/emxNavigator.jsp