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 SUNILK_CHAMARTI <SU...@infosys.com> on 2003/07/03 08:49:31 UTC

Error deploying WSDD

I am trying to start Admin Client to deploy my WSDD and I get the following error. Any pointers to fix this?

C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes\samples\userguide\example3>java org.apache.axis.clie
nt.AdminClient -p8888 deploy.wsdd
[INFO] AdminClient - -Processing file deploy.wsdd
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultString: (404)Not Found
 faultActor: null
 faultDetail:
        null: return code:  404
&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resour
ce /axis/services/AdminService not found on this server&lt;/BODY&gt;&lt;/HTML&gt;

(404)Not Found
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1296)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:298)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:305)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:256)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
[ERROR] AdminClient - -Exception: <(404)Not Found>

Re: Error deploying WSDD

Posted by remko de knikker <re...@yale.edu>.
I noticed that you use -p8888 instead of -p 8888
include the space...
the AdminService (AdminServlet in web.xml) is not found, is it uncommented?


Srinath Perera wrote:

>Hi
>
>just a TIP 
>try weather  "http://localhost:8080/axis/servlet/AdminServlet".works
>with your browser. if not you should enable the AdminServlet with
>editing <axis-root>\webapps\axis\WEB-INF\web.xml. To do this you have to
>uncomment the servlet mapping for /servlet/AdminServlet.
>
>i belive this is your first deployment with the server. (elese check
>sewrver-config.wsdd to see weather AdminService is avalible as a service
>)
>
>regards
>Srianth
>
>
>On Thu, 2003-07-03 at 12:49, SUNILK_CHAMARTI wrote:
>  
>
>>I am trying to start Admin Client to deploy my WSDD and I get the following error. Any pointers to fix this?
>>
>>C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes\samples\userguide\example3>java org.apache.axis.clie
>>nt.AdminClient -p8888 deploy.wsdd
>>[INFO] AdminClient - -Processing file deploy.wsdd
>>AxisFault
>> faultCode: {http://xml.apache.org/axis/}HTTP
>> faultString: (404)Not Found
>> faultActor: null
>> faultDetail:
>>        null: return code:  404
>>&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resour
>>ce /axis/services/AdminService not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
>>
>>(404)Not Found
>>        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
>>        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
>>        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
>>        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
>>        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
>>        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
>>        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
>>        at org.apache.axis.client.Call.invoke(Call.java:2102)
>>        at org.apache.axis.client.Call.invoke(Call.java:1296)
>>        at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
>>        at org.apache.axis.client.AdminClient.process(AdminClient.java:298)
>>        at org.apache.axis.client.AdminClient.process(AdminClient.java:305)
>>        at org.apache.axis.client.AdminClient.process(AdminClient.java:256)
>>        at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
>>[ERROR] AdminClient - -Exception: <(404)Not Found>
>>
>>    
>>
>
>
>  
>


Re: Error deploying WSDD

Posted by Srinath Perera <he...@vijayaba.cse.mrt.ac.lk>.
Hi

just a TIP 
try weather  "http://localhost:8080/axis/servlet/AdminServlet".works
with your browser. if not you should enable the AdminServlet with
editing <axis-root>\webapps\axis\WEB-INF\web.xml. To do this you have to
uncomment the servlet mapping for /servlet/AdminServlet.

i belive this is your first deployment with the server. (elese check
sewrver-config.wsdd to see weather AdminService is avalible as a service
)

regards
Srianth


On Thu, 2003-07-03 at 12:49, SUNILK_CHAMARTI wrote:
> I am trying to start Admin Client to deploy my WSDD and I get the following error. Any pointers to fix this?
> 
> C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes\samples\userguide\example3>java org.apache.axis.clie
> nt.AdminClient -p8888 deploy.wsdd
> [INFO] AdminClient - -Processing file deploy.wsdd
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultString: (404)Not Found
>  faultActor: null
>  faultDetail:
>         null: return code:  404
> &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resour
> ce /axis/services/AdminService not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
> 
> (404)Not Found
>         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
>         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
>         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
>         at org.apache.axis.client.Call.invoke(Call.java:2102)
>         at org.apache.axis.client.Call.invoke(Call.java:1296)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:298)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:305)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:256)
>         at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
> [ERROR] AdminClient - -Exception: <(404)Not Found>
> 


Re: Error deploying WSDD

Posted by Akhil Gupta <ag...@eircom.net>.
Hi

To me it looks like your AdminService is not running in your web server. If
you try to connect to AdminService
from Axis happy page and it comes up fine then there is something else wrong
but make sure your admin
service is running from the browser.

Akhil

----- Original Message -----
From: "SUNILK_CHAMARTI" <SU...@infosys.com>
To: <ax...@ws.apache.org>
Sent: Thursday, July 03, 2003 7:49 AM
Subject: Error deploying WSDD


I am trying to start Admin Client to deploy my WSDD and I get the following
error. Any pointers to fix this?

C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes
\samples\userguide\example3>java org.apache.axis.clie
nt.AdminClient -p8888 deploy.wsdd
[INFO] AdminClient - -Processing file deploy.wsdd
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultString: (404)Not Found
 faultActor: null
 faultDetail:
        null: return code:  404
&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not
Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not
Found&lt;/H1&gt;Resour
ce /axis/services/AdminService not found on this
server&lt;/BODY&gt;&lt;/HTML&gt;

(404)Not Found
        at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630
)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
        at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
        at org.apache.axis.client.Call.invoke(Call.java:2102)
        at org.apache.axis.client.Call.invoke(Call.java:1296)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:298)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:305)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:256)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
[ERROR] AdminClient - -Exception: <(404)Not Found>



Re: Error deploying WSDD

Posted by Guillaume Sauthier <Gu...@Bull.Net>.
404 Error means that you do not point to a right location for the Axis
servlet !

the option to set to indicate the full path to the servlet is -l

example :
java org.apache.axis.client.AdminClient
-lhttp://localhost:8888/<webapp>/servlet/AxisServlet deploy.wsdd

where <webapp> is the Context of the webapp with Axis.

Regards
Guillaume

SUNILK_CHAMARTI wrote:
> 
> I am trying to start Admin Client to deploy my WSDD and I get the following error. Any pointers to fix this?
> 
> C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes\samples\userguide\example3>java org.apache.axis.clie
> nt.AdminClient -p8888 deploy.wsdd
> [INFO] AdminClient - -Processing file deploy.wsdd
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultString: (404)Not Found
>  faultActor: null
>  faultDetail:
>         null: return code:  404
> &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not Found&lt;/H1&gt;Resour
> ce /axis/services/AdminService not found on this server&lt;/BODY&gt;&lt;/HTML&gt;
> 
> (404)Not Found
>         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
>         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
>         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
>         at org.apache.axis.client.Call.invoke(Call.java:2102)
>         at org.apache.axis.client.Call.invoke(Call.java:1296)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:298)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:305)
>         at org.apache.axis.client.AdminClient.process(AdminClient.java:256)
>         at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
> [ERROR] AdminClient - -Exception: <(404)Not Found>

Re: Error deploying WSDD

Posted by "Benedick Mark N. Chan" <bm...@ntsp.nec.co.jp>.
I think that you should also include the hostname in your -p tag.

e.g.: java org.apache.axis.client.AdminClient -plocalhost:8888 deploy.wsdd

Also, is it because that port 8888 does not exists?



----- Original Message -----
From: "SUNILK_CHAMARTI" <SU...@infosys.com>
To: <ax...@ws.apache.org>
Sent: Thursday, July 03, 2003 2:49 PM
Subject: Error deploying WSDD


> I am trying to start Admin Client to deploy my WSDD and I get the
following error. Any pointers to fix this?
>
>
C:\oc4j_extended\j2ee\home\default-web-app\examples\jsp\axis\WEB-INF\classes
\samples\userguide\example3>java org.apache.axis.clie
> nt.AdminClient -p8888 deploy.wsdd
> [INFO] AdminClient - -Processing file deploy.wsdd
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultString: (404)Not Found
>  faultActor: null
>  faultDetail:
>         null: return code:  404
> &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;404 Not
Found&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;404 Not
Found&lt;/H1&gt;Resour
> ce /axis/services/AdminService not found on this
server&lt;/BODY&gt;&lt;/HTML&gt;
>
> (404)Not Found
>         at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630
)
>         at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
>         at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
>         at org.apache.axis.client.Call.invoke(Call.java:2102)
>         at org.apache.axis.client.Call.invoke(Call.java:1296)
>         at
org.apache.axis.client.AdminClient.process(AdminClient.java:319)
>         at
org.apache.axis.client.AdminClient.process(AdminClient.java:298)
>         at
org.apache.axis.client.AdminClient.process(AdminClient.java:305)
>         at
org.apache.axis.client.AdminClient.process(AdminClient.java:256)
>         at org.apache.axis.client.AdminClient.main(AdminClient.java:341)
> [ERROR] AdminClient - -Exception: <(404)Not Found>
>