You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Antonio Ruiz Martínez <ar...@dif.um.es> on 2005/08/05 15:08:31 UTC

Deployment strange exception

Hello,

    I have a problem deploying my web service with axis using the 
AdminClient tool. I get the following error:

Processing file deployServicioMessageDocument.wsdd
Exception: AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (401)Unauthorized
 faultActor:
 faultNode:
 faultDetail:
        {}:return code:  401
&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;TITLE&gt;401 Unauthorized&lt;/TITLE&gt;
&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Unauthorized&lt;/H1&gt;
&lt;/BODY&gt;&lt;/HTML&gt;

        {http://xml.apache.org/axis/}HttpErrorCode:401

I am using Tomcat5.5.9 and axis1.2 over Linux. What is this error due 
to? Could anybody be so kind as to help me, please?
Thank you very much in advance.

Regards,
Antonio.


Re: Deployment strange exception

Posted by sh_santosh <sa...@gmail.com>.
Hi,
   Have you solved the this problem then please write a details on this
group.

i am using axis 1.2 , java 1.5 and Tomcat 5.5.

when i am going to deploy then Exception is thrown

401 . i mean same as you recieve

so, please help me out............



Santosh






Antonio Ruiz Martínez wrote:
> 
> Hello,
> 
>     I have a problem deploying my web service with axis using the 
> AdminClient tool. I get the following error:
> 
> Processing file deployServicioMessageDocument.wsdd
> Exception: AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultSubcode:
>  faultString: (401)Unauthorized
>  faultActor:
>  faultNode:
>  faultDetail:
>         {}:return code:  401
> &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt;
> &lt;HTML&gt;&lt;HEAD&gt;
> &lt;TITLE&gt;401 Unauthorized&lt;/TITLE&gt;
> &lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Unauthorized&lt;/H1&gt;
> &lt;/BODY&gt;&lt;/HTML&gt;
> 
>         {http://xml.apache.org/axis/}HttpErrorCode:401
> 
> I am using Tomcat5.5.9 and axis1.2 over Linux. What is this error due 
> to? Could anybody be so kind as to help me, please?
> Thank you very much in advance.
> 
> Regards,
> Antonio.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Deployment-strange-exception-tf201475.html#a14042435
Sent from the Axis - User mailing list archive at Nabble.com.


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


Re: Deployment strange exception

Posted by sh_santosh <sa...@gmail.com>.
Hi janx,

please can u explain how to solve the deployment problem.




janx wrote:
> 
> Hi,
> try authorize:
> java org.apache.axis.client.AdminClient -u admin -w admintom
> ./deploy-monitor.wsdd
> 
> Janx
> 

-- 
View this message in context: http://www.nabble.com/Deployment-strange-exception-tf201475.html#a14042438
Sent from the Axis - User mailing list archive at Nabble.com.


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


RE: Deployment strange exception

Posted by Jhan Yuler <jy...@hotmail.com>.
Con ese nombre, imagino que habla español, asi que:

Seguramente ese error es porque no está especificando el usuario y la 
contraseña en la linea de comando al ejecutar el AdminClient.

Sin embargo también es posible que la parte de servidor esté identificando 
la petición del AdminClient como proveniente de una dirección IP distinta a 
la de localhost.

Si es asi, creo que podria probar alguna de estas dos opciones:

1) bajar la interfaz de red del SO usando ifdown e intentar nuevamente
2) Configurar el Axis para que acepte peticiones desde una IP diferente de 
localhost. La verdad no me acuerdo en este momento como se hace, pero estoy 
seguro que en la documentació de referencia de Axis dice como hacerlo.

Suerte


>
>Hello,
>
>    I have a problem deploying my web service with axis using the 
>AdminClient tool. I get the following error:
>
>Processing file deployServicioMessageDocument.wsdd
>Exception: AxisFault
>faultCode: {http://xml.apache.org/axis/}HTTP
>faultSubcode:
>faultString: (401)Unauthorized
>faultActor:
>faultNode:
>faultDetail:
>        {}:return code:  401
>&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt;
>&lt;HTML&gt;&lt;HEAD&gt;
>&lt;TITLE&gt;401 Unauthorized&lt;/TITLE&gt;
>&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Unauthorized&lt;/H1&gt;
>&lt;/BODY&gt;&lt;/HTML&gt;
>
>        {http://xml.apache.org/axis/}HttpErrorCode:401
>
>I am using Tomcat5.5.9 and axis1.2 over Linux. What is this error due to? 
>Could anybody be so kind as to help me, please?
>Thank you very much in advance.
>
>Regards,
>Antonio.
>