Hi Jorge,

I'm also working with the AdminClient programatically.  This works for
me.
When I took out the port call, it stopped working (because I use port
7001 locally, 
and the default is to 8080).  Otherwise, when the port is set, this
works for me.

The only thing is that I can't see that the debug flag makes much of a
difference.


       String deployPort = "-p7001";
       String deployName = "/config/deploy.wsdd";
       
       String[] args = {"-ddd",deployPort,deployName};       
       AdminClient adminClient = new AdminClient();
       adminClient.process(args);       



Margaret    



-----Ursprüngliche Nachricht-----
Von: Jorge M. Aliss [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 25. Juli 2002 11:30
An: [EMAIL PROTECTED]
Betreff: Re: AdminClient using the wrong port!


Nicolas,

I tried that, and the AdminClient just ignores it if I'm calling it from

inside my servlet.   Only works from the command line.
Thanks,

Jorge


On Thursday 25 July 2002 06:27 am, Nicolas BESSON wrote:
> Try parameter -p<port>
>
> <port> : the port (ex: -p80)
>
> Nicolas
>
> > -----Message d'origine-----
> > De : Jorge M. Aliss [mailto:[EMAIL PROTECTED]]
> > Envoye : jeudi 25 juillet 2002 11:09
> > A : axis user
> > Objet : AdminClient using the wrong port!
> >
> >
> > I'm trying to deploy a webservice programmatically from a
> > servlet.  I am using
> > the AdminClient class and specifying the location for the
> > AxisServlet using
> > the -l option (I tried -h -p and -s too).  The problem is that the
Admin
> > client ignores the port I specify and tries to open the connection
using
> > default one (8080).
> >
> > This doesn't happen if I run the AdminClient from the command line.
Does
> > anyone know to solve this?
> > Thanks,
> >
> > Jorge

Reply via email to