Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S

smhstartconfig(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

smhstartconfig — configures the startup mode of the HPSMH server and of the Tomcat instance used by HPSMH

SYNOPSIS

/opt/hpsmh/bin/smhstartconfig [-a {on|off} | -b {on|off}] [-t {on|off}]

DESCRIPTION

The smhstartconfig script is used to configure the startup mode of the HPSMH server and of the Tomcat instance used by HPSMH.

If no options are specified, smhstartconfig displays the current configuration.

The smhstartconfig command does not accept simultaneously -a on and -b on options.

Note: The -t on option will not take effect until at least one Java web application is registered (i.e., the Tomcat server will not be started if there are no Java web applications available).

Options

The smhstartconfig command supports the followings options:

-a {on|off}

Enable/disable the "autostart URL" mode

-b {on|off}

Enable/disable the "automatic startup on boot" mode

-t {on|off}

Set the Tomcat startup mode where:

on

Start Tomcat when HPSMH starts.

off

Start Tomcat on demand (default).

RETURN VALUES

The smhstartconfig command returns:

0

upon successful completion

1

if the command failed

EXAMPLES

Enables autostart:

smhstartconfig -a on

Shows settings:

smhstartconfig

HPSMH 'autostart url' mode.........: ON HPSMH 'start on boot' mode.........: OFF Start Tomcat when HPSMH starts.....: OFF

WARNINGS

You must be superuser to run smhstartconfig.

AUTHORS

smhstartconfig was developed by Hewlett-Packard.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.