Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Installing Web Applications Inside JBoss

    We provide the JBoss Web application server for Solaris with the sample and demonstration applications in the SDK+AppSupport+Demos+Samples.tar.gz file. available from the Juniper Web site at:

    JBoss is an open-source Java application server that provides full support for J2EE application programming interfaces (APIs). The installation directory of the JBoss Application Server is /opt/UMC/jboss.

    For Solaris, the JBoss Web application server package is called UMCjboss.pkg. The following shows an example procedure for installing the Solaris JBoss Web application server:

    1. On the UNIX host where you want to install JBoss, log in as root.

    2. Copy the Solaris package UMCjboss.pkg to a directory such as /tmp.

    3. Launch the pkgadd tool.

      pgkgadd –d path to/UMCjboss.pkg

      The tool displays the available Solaris packages.

      The following packages are available:
        1  UMCjboss     JBoss J2EE Application Server
                        (sparc) Release jboss-6.0.0
      Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]:
    4. Enter the desired packages.

      You can enter the name or number for a single package or multiple packages separated by spaces. Alternatively, enter the keyword “all” to select all the packages.

      Processing package instance <UMCjboss> from /tmp/UMCjboss.pkg 
      JBoss J2EE Application Server(sparc) 
      Release jboss-6.0.0  
      Which configuration do you want to use? (default|all|minimal) [default] [?,q]all 
    5. If you want to deploy the VTA in a clustered Application Server environment, enter all as the configuration. By default, the default JBoss configuration is used. This is fine for demonstration purposes.

      Which user-id shall be running the JBoss server [nobody] [?,q]
    6. For this example, press Enter to select nobody.

      Configuration: "all"
      User:          "nobody"
      Is this correct? [y,n,?,q] y
    7. Enter y.

      * If you want to change these values later, please edit the file *
      * /etc/init.d/jboss                                              *
      The selected base directory </opt/UMC/jboss> must exist before installation is attempted.
      Do you want this directory created now [y,n,?,q] y
    8. Enter y to create the directory.

    9. Customize the properties file for the Web application.

    10. Deploy the WAR file by copying it into the JBoss default/deploy directory.

      cp <filename>.war /opt/UMC/jboss/server/default/deploy

      JBoss automatically starts the Web application when a new WAR file is copied into the deploy directory.

    11. (Optional) Start the JBoss application server.

      /etc/init.d/UMCjboss start
    12. (Optional) Stop the JBoss application server.

      /etc/init.d/UMCjboss stop

    Modified: 2018-09-20