This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Admin Client: Exception (401)Unauthorized problem

 
david kim
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed Axis and everything is working fine (Axis Happy page).
However, when I tried to deploy a sample app, by running:

java org.apache.axis.client.AdminClient deploy.wsdd
Processing file deploy.wsdd
Exception:: (401)Unauthorized


Any ideas why?

Thanks
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whats your application server?

If it is Tomcat, then the admin deploy should work, if it is other engine then you have to use the -l option

java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic