You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Dima Retov <di...@axisway.com> on 2006/12/15 18:48:25 UTC

Remote Manager Tools

Is there some library that would connect Remote Manager and execute
some commands.

I wish to write such code:-

RemoteManagerTool rm = new RemoteManagerTool("127.0.0.1", 4555);

if(rm.addUser("John", "pwdpwd"))
{
 // User added
}
else
{
 // Failed
}
rm.close();


I am looking for official code that would always work properly.

-- 
Best regards,
 Dima                          mailto:dima@axisway.com



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re[2]: Remote Manager Tools

Posted by Dima Retov <di...@axisway.com>.
Thank You!

Friday, December 15, 2006, 7:56:47 PM, you wrote:

BF> there is. in the unit tests for RemoteManager contained in class
BF> RemoteManagerTest we use the TelnetClient from commons-net.jar.

BF>   Bernd

BF> On 12/15/06, Dima Retov <di...@axisway.com> wrote:
>> Is there some library that would connect Remote Manager and execute
>> some commands.
>>
>> I wish to write such code:-
>>
>> RemoteManagerTool rm = new RemoteManagerTool("127.0.0.1", 4555);
>>
>> if(rm.addUser("John", "pwdpwd"))
>> {
>>  // User added
>> }
>> else
>> {
>>  // Failed
>> }
>> rm.close();
>>
>>
>> I am looking for official code that would always work properly.
>>
>> --
>> Best regards,
>>  Dima                          mailto:dima@axisway.com
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>

BF> ---------------------------------------------------------------------
BF> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
BF> For additional commands, e-mail: server-user-help@james.apache.org




-- 
Best regards,
 Dima                            mailto:dima@axisway.com



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: Remote Manager Tools

Posted by Bernd Fondermann <be...@googlemail.com>.
there is. in the unit tests for RemoteManager contained in class
RemoteManagerTest we use the TelnetClient from commons-net.jar.

  Bernd

On 12/15/06, Dima Retov <di...@axisway.com> wrote:
> Is there some library that would connect Remote Manager and execute
> some commands.
>
> I wish to write such code:-
>
> RemoteManagerTool rm = new RemoteManagerTool("127.0.0.1", 4555);
>
> if(rm.addUser("John", "pwdpwd"))
> {
>  // User added
> }
> else
> {
>  // Failed
> }
> rm.close();
>
>
> I am looking for official code that would always work properly.
>
> --
> Best regards,
>  Dima                          mailto:dima@axisway.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org