aspose file tools*
The moose likes Web Services and the fly likes Application Server unable to deploy Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Application Server unable to deploy Web Services" Watch "Application Server unable to deploy Web Services" New topic
Author

Application Server unable to deploy Web Services

Radhika Verma
Greenhorn

Joined: Feb 02, 2010
Posts: 2
Hi,

I am very new to Web Services. I am using JBOSS 4.0.3 application server and trying to deploy Web Services through it.
But the SPML web services are not deployed and ther server log shows the followin error:





Please help.
Regards.
Hany Shafik
Ranch Hand

Joined: Jun 21, 2008
Posts: 80
From the logs you have posted, it seems you are missing commons-discovery.jar. Check which version of commons-discovery.jar is required by your axis version and place that jar inside the /WEB-INF/lib/ directory.
Radhika Verma
Greenhorn

Joined: Feb 02, 2010
Posts: 2
Thank you fo the quick reply.

The JAR exists in the location (WEB-INF/lib).
Also, the class file - DiscoverSingleton exists in the JAR

java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton


Could this be a problem with setting up Environment variables?

Regards.
itrahul soni
Greenhorn

Joined: Feb 01, 2010
Posts: 6
I think you have to define all lib files needed for axis webservice in the MANIFEST.MF like Class-Path: lib/common-discovery.jar and others. Try out this way.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application Server unable to deploy Web Services