Issue deploying webservices

Hi
  I receive this error when i try to deploy my webservice. Its axis 1.4 on tomcat 5.5.28. (jdk 1.5)

adminclient failed with  {http://xml.apache.org/axis/}HTTP (401)Unauthorized

I'm using ant to deploy.

Please advice
trance12Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

VenabiliCommented:
Can you post the full error - I am almost sure your server is not configured to allow the remote admin access but might be something else as well.  Are you deploying from localhost? I would suspect the answer is no.

If that's the case: http://www.mail-archive.com/axis-user@xml.apache.org/msg11061.html should solve it - you need to allow the access - modifying  enableRemoteAdmin  in server-config.wsdd
0
trance12Author Commented:
Thanks..

This is the whole error; it seems to be the remote admin issue. However i've changed server_config.wsdd to set the value to true and tried to deploy; but it gives me the same error?

adminclient] <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?><soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema"; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><soapenv:Fault><faultcode xmlns:ns1=&quot;http://xml.apache.org/axis/";>ns1:Server.Unauthorized</faultcode><faultstring>Remote administrator access is not allowed!</faultstring><detail><ns2:stackTrace xmlns:ns2=&quot;http://xml.apache.org/axis/";>Remote administrator access is not allowed!
[adminclient]   at org.apache.axis.utils.Admin.verifyHostAllowed(Admin.java:196)
[adminclient]   at org.apache.axis.utils.Admin.process(Admin.java:151)
[adminclient]   at org.apache.axis.utils.Admin.AdminService(Admin.java:65)
[adminclient]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[adminclient]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[adminclient]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[adminclient]   at java.lang.reflect.Method.invoke(Method.java:585)
[adminclient]   at org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:126)
[adminclient]   at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
[adminclient]   at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
[adminclient]   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
[adminclient]   at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
[adminclient]   at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
[adminclient]   at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
[adminclient]   at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
[adminclient]   at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
[adminclient]   at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
[adminclient]   at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
[adminclient]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
[adminclient]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
[adminclient]   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
[adminclient]   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
[adminclient]   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[adminclient]   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
[adminclient]   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
[adminclient]   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
[adminclient]   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
[adminclient]   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
[adminclient]   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
[adminclient]   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
[adminclient]   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
[adminclient]   at java.lang.Thread.run(Thread.java:595)
0
trance12Author Commented:
sorry...to your ealier question

Yes, i am deploying from localhost; hence i dont see why the remoteEnabled value needs to be set to true.
0
VenabiliCommented:
does not recognise it as localhost for example... I always deploy with the remote Access allowed so had not seen this error for a while.

Did you restart tomcat after changing the value?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Services

From novice to tech pro — start learning today.