aspose file tools*
The moose likes Web Services and the fly likes Axis AdminClient gives 404 error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis AdminClient gives 404 error" Watch "Axis AdminClient gives 404 error" New topic
Author

Axis AdminClient gives 404 error

PJ Crump
Ranch Hand

Joined: Feb 06, 2002
Posts: 51
Receiving a 404 error when trying to deploy a .wsdd file.
I execute the following command
D:\EclipseProjects\axisPlay\WEB-INF\classes\com\axisplay\ws>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
and it returns with this message:
Exception:: (404)/axis/services/AdminService
I am able to successfully execute everything in the Axis .html page
- Thanks - PJ
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
the default port for adminclient in 8080, if you are using tomcat(standalone) then it would work.
if not try to use the -p[port] option while deploying
did you able to see the happyaxis.jsp page as well ?


Spritle Software Blogs
PJ Crump
Ranch Hand

Joined: Feb 06, 2002
Posts: 51
I tried your suggestion and it did not work.. happyaxis.jsp works just fine..
Any more suggestions?
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by PJ Crump:
I tried your suggestion and it did not work.. happyaxis.jsp works just fine..
Any more suggestions?

The other option would be to directly deploy the serivce in web-inf\servlet-config.wsdd file.
John McDonald
Ranch Hand

Joined: Jul 01, 2003
Posts: 112
Hi,
Take a look at the properties file to see if user/password is set. You can double check this by using ant. Hope that helps.
John
zahia bekaoui
Greenhorn

Joined: Jul 05, 2005
Posts: 1
hi. I have the same problem concerning the not found file:
(404)/axis/services/AdminService
Please help me
Todd Farmer
Ranch Hand

Joined: May 28, 2004
Posts: 59
Here's the command line and parameters I use, which work for me:

java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

Hope that helps!
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

In tomcat-users.xml do you have admin & manager priviledges?


Please ignore post, I have no idea what I am talking about.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

Are you able to see the AdminClient web page? If so try deploying using that.
David Heroux
Greenhorn

Joined: Jul 12, 2005
Posts: 4
Originally posted by Todd Farmer:
Here's the command line and parameters I use, which work for me:

java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

Hope that helps!
David Heroux
Greenhorn

Joined: Jul 12, 2005
Posts: 4
Originally posted by Todd Farmer:
Here's the command line and parameters I use, which work for me:

java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

Hope that helps!


Yes, as it says, I'm a greenhorn.
In any event, when I submit this command line statement (above), I get back
Warning: -llhttp://localhost:8080/axis/services/AdminService not understood. Ignoring.
No matter how I compose this deployment request, the AdminClient never returns, until it dumps core (usually ~5 minutes later). It's as if it is
searching for something to connect to, which it never does, and then it gives up in a rude way. Likewise, attempts to invoke actual services hang
as well.

At this point, I'm just using the SimpleAxisServer on port 8080.

Any thoughts?

Dave
David Heroux
Greenhorn

Joined: Jul 12, 2005
Posts: 4
Nevermind ... the clue was in the fact that the optional bits were being ignored - not by the AdminClient, but by Java ; Yep, I was pointing to
an older instance of Java. Shoot. Looks like I got thrown by that one.
John Denny
Greenhorn

Joined: Jul 21, 2006
Posts: 1
It may be that you haven't installed the axis web application;
see Step 1: Preparing the webapp of the InstallGuide.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis AdminClient gives 404 error