I am trying to develop a Web Service and have come to a stage where I want to deploy it to start testing. However, I can't deploy and the error it gives me is totally useless. I have noticed others with the same error on the mailing list, but I can't find an answer to any of them.
 
I am deploying to Tomcat 4.1.24 containing Axis 1.2. I have tried both calling the AdminClient directly and using the Ant task, both of which give the same error.
 
I created the WSDL file by hand and then used that to generate the Java code and WSDD files so I am pretty sure that these are fine. I think the problem is to do with admin users. I have explicitly set the admin password but there is no mention of a username to use with it anywhere I have looked. I can find the password in the server-config.wsdd file but where do users came from? According to all of the documentation you don't even need to specify a user. I have tried anything I can think of, but no success. I am on the same machine, but have enabled remote administration anyway (to no avail).
 
The error message is:
 
deploy:
[axis-admin] Processing file <code-path>\deploy.wsdd
[axis-admin] AxisFault
[axis-admin]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[axis-admin]  faultSubcode:
[axis-admin]  faultString: java.lang.reflect.InvocationTargetException
[axis-admin]  faultActor:
[axis-admin]  faultNode:
[axis-admin]  faultDetail:
[axis-admin]  {http://xml.apache.org/axis/}hostname:kalel
[axis-admin] Running axis-admin with parameters:
[axis-admin]   action:
[axis-admin]  
url:http://localhost:8080/axis/services/AdminService
[axis-admin]   hostname:null
[axis-admin]   port:0
[axis-admin]   servletPath:null
[axis-admin]   fileProtocol:null
[axis-admin]   username:null
[axis-admin]   password:null
[axis-admin]   transportChain:null
[axis-admin]   debug:true
 
BUILD FAILED
file:<my-path>/WebServices/development/build/anthill_build.xml:136: axis-admin failed with  {http://schemas.xmlsoap.org/soap/envelope/}Server.userException java.lang.reflect.InvocationTargetException
 
Any help would be greatly appreciated.
 
Thankyou.
 


--
Steven Smith <[EMAIL PROTECTED]>
Software Developer / Analyst
Telephone 03 6223 1999
Facsimile 03 6223 1988
Web www.geometryit.com
Address 31 Salamanca Square, Battery Point, TAS 7004, Australia
Postal PO Box 844, Sandy Bay, TAS 7006, Australia
 

Reply via email to