Sun Microsystems Logo
Products and Services
Support and Training

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  
User Commandscreate-http-listener(1)


 create-http-listener - adds a new HTTP listener socket


 create-http-listener --user admin_user [ --password admin_password ] [ --host localhost ] [ --port 4848 ] [ --secure|-s ] [ --passwordfile filename ] --listeneraddress address [ --terse=false ] [ --echo=false ] [ --interactive=true ] --listenerport listener_port --defaultvs virtual_server --servername server_name [ --acceptorthreads acceptor_threads ] [ --securityenabled=false ] [ --enabled=true ]listener_ID



Creates the HTTP listener. This command is supported in remote mode only.


authorized domain application server administrative username.
password to administer the domain application server.
machine name where the domain application server is running.
port number of the domain application server listening for administration requests.
if true, uses SSL/TLS to communicate with the domain application server.
file containing the domain application server password.
indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
setting to true will echo the command line statement on the standard output. Default is false.
if set to true (default), only the required password options are prompted.
IP address of the listener address.
port number to create the listen socket on. Legal values are 1-65535. On UNIX, creating sockets that listen on ports 1-1024 requires superuser privileges. Configuring an SSL listen socket to listen on port 443 is recommended.
ID attribute of the default virtual server for this particular connection group.
tells the server what to put in the host name section of any URLs it sends to the client. This affects URLs the server automatically generates; it doesn't affect the URLs for directories and files stored in the server. This name should be the alias name if your server uses an alias. If a colon and port number is appended, that port will be used in URLs that the server sends to the client.
number of acceptor threads for the listen socket. The recommended value is the number of processors in the machine.
determines whether the HTTP listener runs SSL. You can turn SSL2 or SSL3 ON or OFF and set ciphers using an SSL element. The security setting globally enables or disables SSL by making certificates available to the server instance.
determines if the resource is enabled at runtime.


listener ID of the HTTP listener.


 Example 1. Using create-http-listener
asadmin> create-http-listener --user admin1 --password adminadmin1 
--host pigeon --port 5001 --listeneraddress 
--listenerport 7272 --defaultvs server --servername
--acceptorthreads 2 --securityenabled=false --enabled=false sampleListener
Command create-http-listener executed successfully

Where: sampleListener is the HTTP listener created.


command executed successfully
error in executing the command



delete-http-listener(1), list-http-listeners(1)

J2EE 1.4 SDKGo To TopLast Changed &release