sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Application Server Utility | package-appclient(1M)

- NAME
- SYNOPSIS
- DESCRIPTION
- ATTRIBUTES
- SEE ALSO

## NAME

| package-appclient - packs the application client container libraries and jar files

## SYNOPSIS

| `package-appclient`

## DESCRIPTION

| Use the `package-appclient` command to pack the application client container libraries and jar files into an `appclient.jar` file. The created file is located at `appserver_install_dir/lib/appclient/appclient.jar`. The `appclient.jar` file provides an application client container package targeted at remote hosts that do not contain a server installation. The `appclient.jar` archive contains native code and can be used on a target machine that is of similar architecture as the machine where it was produced. So, for example, an `appclient.jar` produced on a Solaris SPARC platform cannot be used on a Windows client machine. After copying the `appclient.jar` file to a remote location, unjar it to get a set of libraries and jar files in the `appclient` directory After unjarring on the client machine, modify `appclient_install_dir/config/asenv.conf` (`asenv.bat` for Windows) as follows: set `AS_WEBSERVICES_LIB` to `appclient_install_dir/lib` set `AS_NSS` to `appclient_install_dir/lib` (`appclient_install_dir\bin` for Windows) set `AS_IMQ_LIB` to `appclient_install_dir/imq/lib` set `AS_INSTALL` to appclient_install_dir set `AS_JAVA` to your JDK 1.4 home directory set `AS_ACC_CONFIG` to `appclient_install_dir/config/sun-acc.xml` Modify `appclient_install_dir/config/sun-acc.xml` as follows: Ensure the `DOCTYPE` file references `appclient_install_dir/lib/dtds` Ensure that `target-server` address attribute refrences the server machine. Ensure that `target-server` port attribute refrences the ORB port on the remote machine. Ensure that `log-service` references a log file; if the user wants to put log messages to a log file. Modify `appclient_install_dir/bin/appclient` (`appclient.bat` for Windows) as follows: change token `%CONFIG_HOME%` to `appclient_install_dir/config`

## ATTRIBUTES

| See `attributes`(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE
--- | ---
Interface Stability | Unstable

## SEE ALSO

| `appclient` (1M)

| Go To Top | Last Changed April 2004

Company Info | Contact | Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.