• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

Axis AdminClient gives 404 error

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi. I have the same problem concerning the not found file:
(404)/axis/services/AdminService
Please help me
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 1067
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In tomcat-users.xml do you have admin & manager priviledges?
 
William Barnes
Ranch Hand
Posts: 1067
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you able to see the AdminClient web page? If so try deploying using that.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic