Overview
UN Java clasic la spre shutdown Apache James Po�t� A servi via TCP/IP. It shuts jos Apache James Po�t� A servi by patim� shutdown virgul� via simulated telnet sesiune.

Background
Apache James po�t� a servi a cere un telnet sesiune ( unde tu patim� art.hot. shutdown virgul�) pentru clar shutdown.
BTW: Apache James Po�t� a servi has un shoddy documentation care doesn't mention un way la spre shutdown art.hot. a servi �n�untru orice intuitive a localiza. Tu ai la spre �ntr-adev�r hunt it jos.

Totu�i f�r� clar shutdown tu abil have config.xml dosar �i hence abil modify it la spre al t�u nevoie. Ctrl-C shutdown pentru ni�te inexplicable reason a �terge art.hot. dosar.

Acolo is un utilitate floating around pe net care didn't care propriu pentru eu. De asemenea it isn't configurable. So I thought de a crea un simplu configurable utilitate pentru meu nevoie.


Apache James Po�t� A servi Shutdown Utilitate.

Error m�ner
Art.hot. program terminates cu error code 1 on error. UN terse mesaj indicating art.hot. error is displayed on armonios (System.out).

Op�iune
Special art.hot. gazd�; lips� localhost
-Dhosthostname=

Special art.hot. port; lips� 4555
-Dportportnumber=

Special art.hot. login; lips� root
-Dloginlogin=

Special art.hot. password; lips� root
-Dpasswordpassword=

Op�iune e�ti folosit la override art.hot. lips� values.

Usage
Simplu:
java JamesShutdown

Configure it:
java Dhostfoobah.com= Dloginfoo= Dpasswordbah= JamesShutdown