Issue deploying webservices

  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 (401)Unauthorized

I'm using ant to deploy.

Please advice
Who is Participating?

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

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.

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: should solve it - you need to allow the access - modifying  enableRemoteAdmin  in server-config.wsdd
trance12Author Commented:

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;"; xmlns:xsd=&quot;"; xmlns:xsi=&quot;";><soapenv:Body><soapenv:Fault><faultcode xmlns:ns1=&quot;";>ns1:Server.Unauthorized</faultcode><faultstring>Remote administrator access is not allowed!</faultstring><detail><ns2:stackTrace xmlns:ns2=&quot;";>Remote administrator access is not allowed!
[adminclient]   at org.apache.axis.utils.Admin.verifyHostAllowed(
[adminclient]   at org.apache.axis.utils.Admin.process(
[adminclient]   at org.apache.axis.utils.Admin.AdminService(
[adminclient]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[adminclient]   at sun.reflect.NativeMethodAccessorImpl.invoke(
[adminclient]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
[adminclient]   at java.lang.reflect.Method.invoke(
[adminclient]   at
[adminclient]   at
[adminclient]   at org.apache.axis.strategies.InvocationStrategy.visit(
[adminclient]   at org.apache.axis.SimpleChain.doVisiting(
[adminclient]   at org.apache.axis.SimpleChain.invoke(
[adminclient]   at org.apache.axis.handlers.soap.SOAPService.invoke(
[adminclient]   at org.apache.axis.server.AxisServer.invoke(
[adminclient]   at org.apache.axis.transport.http.AxisServlet.doPost(
[adminclient]   at javax.servlet.http.HttpServlet.service(
[adminclient]   at org.apache.axis.transport.http.AxisServletBase.service(
[adminclient]   at javax.servlet.http.HttpServlet.service(
[adminclient]   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
[adminclient]   at org.apache.catalina.core.ApplicationFilterChain.doFilter(
[adminclient]   at org.apache.catalina.core.StandardWrapperValve.invoke(
[adminclient]   at org.apache.catalina.core.StandardContextValve.invoke(
[adminclient]   at org.apache.catalina.core.StandardHostValve.invoke(
[adminclient]   at org.apache.catalina.valves.ErrorReportValve.invoke(
[adminclient]   at org.apache.catalina.core.StandardEngineValve.invoke(
[adminclient]   at org.apache.catalina.connector.CoyoteAdapter.service(
[adminclient]   at org.apache.coyote.http11.Http11Processor.process(
[adminclient]   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
[adminclient]   at
[adminclient]   at
[adminclient]   at org.apache.tomcat.util.threads.ThreadPool$
[adminclient]   at
trance12Author Commented: your ealier question

Yes, i am deploying from localhost; hence i dont see why the remoteEnabled value needs to be set to true.
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?

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.