• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis AdminClient gives 404 error

 
PJ Crump
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
PJ Crump
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried your suggestion and it did not work.. happyaxis.jsp works just fine..
Any more suggestions?
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi. I have the same problem concerning the not found file:
(404)/axis/services/AdminService
Please help me
 
Todd Farmer
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In tomcat-users.xml do you have admin & manager priviledges?
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you able to see the AdminClient web page? If so try deploying using that.
 
David Heroux
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It may be that you haven't installed the axis web application;
see Step 1: Preparing the webapp of the InstallGuide.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic