can i use the AdminClient tool to deploy my ws package to wls or jboss?
zb cong
Ranch Hand
Joined: Jan 14, 2002
Posts: 403
posted
0
hello i use the axis to test webservice,and use the AdminClient tool to deploy my program to tomcat,it works.but i wonder if i want to deploy it to weblogic or jboss,can i use the same tool? such as i deploy it to wls7,i issue following command: java org.apache.axis.client.AdminClient deploy.wsdd
and following exception is thrown: [INFO] AdminClient - -Processing file deploy.wsdd AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultString: (401)Unauthorized faultActor: null faultDetail: null: return code: 401 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>401 Unauthorized</TITLE> </HEAD><BODY><H1>Unauthorized</H1> </BODY></HTML>
(401)Unauthorized at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1296) at org.apache.axis.client.AdminClient.process(AdminClient.java:319) at org.apache.axis.client.AdminClient.process(AdminClient.java:298) at org.apache.axis.client.AdminClient.process(AdminClient.java:305) at org.apache.axis.client.AdminClient.process(AdminClient.java:256) at org.apache.axis.client.AdminClient.main(AdminClient.java:341) [ERROR] AdminClient - -Exception: <(401)Unauthorized>
why?who can help me? thank you!
Sam Bom
Greenhorn
Joined: Jan 24, 2003
Posts: 22
posted
0
I also had the same problem with my WebLogic6.1 Please let me know if u find out the solution...
Try giving something like java org.apache.axis.client.AdminClient -l http://127.0.0.1:8080/axis/servlet/AxisServlet deploy.wsdd The default uses localhost and it doesn't work for me. I tried changing it to 127.0.0.1 and it works :-)