wood burning stoves 2.0*
The moose likes Web Services and the fly likes Deployment problem with Axis AdminClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Deployment problem with Axis AdminClient" Watch "Deployment problem with Axis AdminClient" New topic
Author

Deployment problem with Axis AdminClient

Martin Wunderlich
Greenhorn

Joined: May 06, 2006
Posts: 9
Dear all,

I am facing a very odd problem here. I am trying to deploy my web service
using AdminClient. I create my wsdl and wsdd files without any
problems. I also don't get any errors when I deploy the service using:

"java -cp %AXISCLASSPATH%
org.apache.axis.client.AdminClient -l http://localhost/<myURL>
deploy.wsdd"

It displays "done processing" as expected. However, the service then simply isn't there. It doesn't show up in
the list of services (only AdminService and Version do).
This is even
more awkward, since it was working fine this morning. I had the service running, went for lunch, and it
somehow undeployed itself in the meantime. So, I tried to redeploy,
but without any success so far. Any idea what the problem might be?

Cheers,

Martin
Martin Wunderlich
Greenhorn

Joined: May 06, 2006
Posts: 9
Just a little progress update:

Testing a bit more I was able to successfully deploy a different web service to a
different location on the same Tomcat installation. Then I copied all
the resources to a new project (in Eclipse), which I deployed to a new
web-app and things seem to work there. So, at least I
have the problem limited down now to the original service that I
wanted to deploy. Still, it's puzzling...

Cheers,

Martin
Martin Wunderlich
Greenhorn

Joined: May 06, 2006
Posts: 9
And at last I seem to found the reason for the disappearing web
service, albeit not the root cause. This post here
https://bugs.eclipse.org/bugs/show_bug.cgi?id=118673 gave me the idea
of checking the file WEB-INF/server-config.wsdd. And indeed, there was
no description of the deployed service at all! So, I copied over a
backup copy of this file, restartet the server and everything's working fine again.
I have
no idea, why the service description disappeared in the first place.
Might be related to the auto-deployment of the web-app using
(My)Eclipse.

CHeers,

Martin
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Thanks for your update.


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment problem with Axis AdminClient
 
Similar Threads
please help me - ejb web service
Redirect http to https
Apache Axis and ServletExec
meta refresh tag is not working
gSOAP running standalone server errors